From c80327424b43a388104f4d2d8c1de6583f900f2f Mon Sep 17 00:00:00 2001 From: Patryk Hegenberg Date: Mon, 12 Dec 2022 08:26:07 +0100 Subject: [PATCH] Part on partials finished --- about.php | 3 +- contact.php | 3 +- contact.view.php | 156 ---------------------- index.php | 3 +- index.view.php | 157 ----------------------- mission.php | 3 +- mission.view.php | 156 ---------------------- style.css | 5 - views/about.view.php | 12 ++ views/contact.view.php | 12 ++ views/index.view.php | 14 ++ views/mission.view.php | 12 ++ views/partials/banner.php | 5 + views/partials/footer.php | 4 + views/partials/head.php | 11 ++ about.view.php => views/partials/nav.php | 33 +---- 16 files changed, 80 insertions(+), 509 deletions(-) delete mode 100644 contact.view.php delete mode 100644 index.view.php delete mode 100644 mission.view.php delete mode 100644 style.css create mode 100644 views/about.view.php create mode 100644 views/contact.view.php create mode 100644 views/index.view.php create mode 100644 views/mission.view.php create mode 100644 views/partials/banner.php create mode 100644 views/partials/footer.php create mode 100644 views/partials/head.php rename about.view.php => views/partials/nav.php (90%) diff --git a/about.php b/about.php index 4d97bc2..1567258 100644 --- a/about.php +++ b/about.php @@ -1,2 +1,3 @@ - - - - - - - Demo - - -
- - -
-
-

Contact

-
-
-
-
- -

Now you are on the contact page.

-
- -
- - - - - \ No newline at end of file diff --git a/index.php b/index.php index 607fc7b..41f9cac 100644 --- a/index.php +++ b/index.php @@ -1,2 +1,3 @@ - - - - - - - Demo - - -
- - -
-
-

Homepage

-
-
-
-
- -

Hello and Welcome.

-
-
-
- -
-
-
- - - \ No newline at end of file diff --git a/mission.php b/mission.php index 36b9713..b21d67e 100644 --- a/mission.php +++ b/mission.php @@ -1,2 +1,3 @@ - - - - - - - Demo - - -
- - -
-
-

Our mission

-
-
-
-
- -

Now you are on the mission page.

-
- -
- - - - - \ No newline at end of file diff --git a/style.css b/style.css deleted file mode 100644 index f40c127..0000000 --- a/style.css +++ /dev/null @@ -1,5 +0,0 @@ -body { - height: 100vh; - margin: 0; - font-family: sans-serif; -} \ No newline at end of file diff --git a/views/about.view.php b/views/about.view.php new file mode 100644 index 0000000..91e8778 --- /dev/null +++ b/views/about.view.php @@ -0,0 +1,12 @@ + + + +
+
+ +

Now you are on the about page.

+
+ + +
+ \ No newline at end of file diff --git a/views/contact.view.php b/views/contact.view.php new file mode 100644 index 0000000..c62c3c5 --- /dev/null +++ b/views/contact.view.php @@ -0,0 +1,12 @@ + + + +
+
+ +

Now you are on the contact page.

+
+ + +
+ \ No newline at end of file diff --git a/views/index.view.php b/views/index.view.php new file mode 100644 index 0000000..0b2b674 --- /dev/null +++ b/views/index.view.php @@ -0,0 +1,14 @@ + + + +
+
+ +

Hello and Welcome.

+
+
+
+ +
+
+ \ No newline at end of file diff --git a/views/mission.view.php b/views/mission.view.php new file mode 100644 index 0000000..decf1e7 --- /dev/null +++ b/views/mission.view.php @@ -0,0 +1,12 @@ + + + +
+
+ +

Now you are on the mission page.

+
+ + +
+ \ No newline at end of file diff --git a/views/partials/banner.php b/views/partials/banner.php new file mode 100644 index 0000000..b899ce2 --- /dev/null +++ b/views/partials/banner.php @@ -0,0 +1,5 @@ +
+
+

+
+
\ No newline at end of file diff --git a/views/partials/footer.php b/views/partials/footer.php new file mode 100644 index 0000000..e92b11b --- /dev/null +++ b/views/partials/footer.php @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/views/partials/head.php b/views/partials/head.php new file mode 100644 index 0000000..1f4ad04 --- /dev/null +++ b/views/partials/head.php @@ -0,0 +1,11 @@ + + + + + + + + Demo + + +
\ No newline at end of file diff --git a/about.view.php b/views/partials/nav.php similarity index 90% rename from about.view.php rename to views/partials/nav.php index d6da6da..2753dbf 100644 --- a/about.view.php +++ b/views/partials/nav.php @@ -1,15 +1,4 @@ - - - - - - - - Demo - - -
-
- -
- - - \ No newline at end of file + \ No newline at end of file