From 418e8ff301bf00d2d2b5685b804bee48b243309b Mon Sep 17 00:00:00 2001 From: William Date: Tue, 21 Mar 2023 18:23:14 +0100 Subject: [PATCH] Initial Commit --- .gitignore | 2 + README.md | 3 ++ composer.json | 11 ++++++ helpers.php | 44 ++++++++++++++++++++++ public/index.php | 14 +++++++ public/style.css | 96 ++++++++++++++++++++++++++++++++++++++++++++++++ view/404.php | 17 +++++++++ view/footer.php | 3 ++ view/header.php | 21 +++++++++++ view/home.php | 38 +++++++++++++++++++ 10 files changed, 249 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 composer.json create mode 100644 helpers.php create mode 100644 public/index.php create mode 100644 public/style.css create mode 100644 view/404.php create mode 100644 view/footer.php create mode 100644 view/header.php create mode 100644 view/home.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7602b69 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/vendor +/composer.lock \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..a14de56 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Website + +The fourth redesign of my website, finally a solid base I can build upon... Yeah \ No newline at end of file diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..e011d31 --- /dev/null +++ b/composer.json @@ -0,0 +1,11 @@ +{ + "repositories": [ + { + "type": "vcs", + "url": "https://git.willy.club/WillySoft/Route" + } + ], + "require": { + "willysoft/route": "dev-master" + } +} \ No newline at end of file diff --git a/helpers.php b/helpers.php new file mode 100644 index 0000000..8ccc816 --- /dev/null +++ b/helpers.php @@ -0,0 +1,44 @@ + 'Page not found']) ?> + +

Page not found

+ +

Sorry, the page you requested could not be found on this server.

+ + + +Return + + diff --git a/view/footer.php b/view/footer.php new file mode 100644 index 0000000..743d55b --- /dev/null +++ b/view/footer.php @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/view/header.php b/view/header.php new file mode 100644 index 0000000..68fc065 --- /dev/null +++ b/view/header.php @@ -0,0 +1,21 @@ + + + + + + + + <?=$title?> + + + + +
+ +
+
+ +
\ No newline at end of file diff --git a/view/home.php b/view/home.php new file mode 100644 index 0000000..f5f135c --- /dev/null +++ b/view/home.php @@ -0,0 +1,38 @@ + 'Home']) ?> + +

Service

+

This space hosts some services for me and friends.

+ + + +

Touch

+ +

Matrix: @william:willy.club

+ + +

Blog

+ + + + \ No newline at end of file