From e4149f7c536199575a1e6b2b8b54eec1c3c1160c Mon Sep 17 00:00:00 2001 From: horus Date: Wed, 24 Feb 2021 15:09:40 +0100 Subject: initial commit --- public/index.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 public/index.php (limited to 'public/index.php') diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..d8b9517 --- /dev/null +++ b/public/index.php @@ -0,0 +1,22 @@ +render('index.html'); + break; +case("/about"): + echo $twig->render('about.html'); + break; +case("/projects"): + echo $twig->render('projects.html'); + break; +case("/tools"): + echo $twig->render('tools.html'); + break; +default: + http_response_code(404); + echo $twig->render('404.html'); +} -- cgit v1.2.3