summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/about.php16
-rw-r--r--src/pages/index.php3
-rw-r--r--src/pages/not_found.php2
3 files changed, 21 insertions, 0 deletions
diff --git a/src/pages/about.php b/src/pages/about.php
new file mode 100644
index 0000000..69e772c
--- /dev/null
+++ b/src/pages/about.php
@@ -0,0 +1,16 @@
+
+<?php
+
+const BIRTHDATE = "2001-04-13";
+$age = date_diff(new DateTimeImmutable(), new DateTimeImmutable(BIRTHDATE))->format("%y");
+
+?>
+
+<title>About me</title>
+
+<h1>About me</h1>
+
+<?php include SRCDIR . "/includes/under-construction.php"; ?>
+
+<p>Hello, I'm <strong>Jonas Kohl</strong> aka <strong>hozyro</strong>!</p>
+<p>I'm <strong><?= $age ?>-year-old</strong> student and software engineer. I use <strong>they/them</strong>, <strong>she/her</strong> and <strong>he/him</strong> pronouns.</p>
diff --git a/src/pages/index.php b/src/pages/index.php
new file mode 100644
index 0000000..3b15088
--- /dev/null
+++ b/src/pages/index.php
@@ -0,0 +1,3 @@
+<title>hozyro's site</title>
+
+<?php include SRCDIR . "/includes/under-construction.php"; ?>
diff --git a/src/pages/not_found.php b/src/pages/not_found.php
new file mode 100644
index 0000000..b71d6c3
--- /dev/null
+++ b/src/pages/not_found.php
@@ -0,0 +1,2 @@
+<title>Not found</title>
+<p>The requested page could not be found.</p>