From 7aa8e6f0475ef357c7c2e2975583c5af706b2c2e Mon Sep 17 00:00:00 2001 From: Patryk Hegenberg Date: Sun, 11 Dec 2022 14:00:34 +0100 Subject: [PATCH] Part on Page Links in Section2 finished. --- about.php | 2 + about.view.php | 156 +++++++++++++++++++++++++++++++++++++++++++++ contact.php | 2 + contact.view.php | 156 +++++++++++++++++++++++++++++++++++++++++++++ index.php | 23 ------- index.view.php | 160 +++++++++++++++++++++++++++++++++++++++++++---- mission.php | 2 + mission.view.php | 156 +++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 622 insertions(+), 35 deletions(-) create mode 100644 about.php create mode 100644 about.view.php create mode 100644 contact.php create mode 100644 contact.view.php create mode 100644 mission.php create mode 100644 mission.view.php diff --git a/about.php b/about.php new file mode 100644 index 0000000..4d97bc2 --- /dev/null +++ b/about.php @@ -0,0 +1,2 @@ + + + + + + + + Demo + + +
+ + +
+
+

About

+
+
+
+
+ +

Now you are on the about page.

+
+ +
+ + + + + \ No newline at end of file diff --git a/contact.php b/contact.php new file mode 100644 index 0000000..229a3aa --- /dev/null +++ b/contact.php @@ -0,0 +1,2 @@ + + + + + + + + Demo + + +
+ + +
+
+

Contact

+
+
+
+
+ +

Now you are on the contact page.

+
+ +
+ + + + + \ No newline at end of file diff --git a/index.php b/index.php index 81bc771..607fc7b 100644 --- a/index.php +++ b/index.php @@ -1,25 +1,2 @@ 'Do Androids Dream of Electric Sheep', - 'author' => 'Philip K. Dick', - 'releaseYear' => 1968, - 'purchaseUrl' =>'http://example.com' - ], - [ - 'name' => 'Projekt Hail Mary', - 'author' => 'Andy Weir', - 'releaseYear' => 2021, - 'purchaseUrl' => 'http://example.com' - ], - [ - 'name' => 'The Martian', - 'author' => 'Andy Weir', - 'releaseYear' => 2011, - 'purchaseUrl' => 'http://example.com' - ] - ]; - $filteredItems = array_filter($books, function($book) { - return $book['author'] == 'Andy Weir'; - }); require "index.view.php"; \ No newline at end of file diff --git a/index.view.php b/index.view.php index 54aaa17..7427ad2 100644 --- a/index.view.php +++ b/index.view.php @@ -1,21 +1,157 @@ - + - + Demo - - + +
+ + +
+
+

Homepage

+
+
+
+
+ +

Hello and Welcome.

+
+
+
+ +
+
+
+ \ No newline at end of file diff --git a/mission.php b/mission.php new file mode 100644 index 0000000..36b9713 --- /dev/null +++ b/mission.php @@ -0,0 +1,2 @@ + + + + + + + + Demo + + +
+ + +
+
+

Our mission

+
+
+
+
+ +

Now you are on the mission page.

+
+ +
+ + + + + \ No newline at end of file