From e1ad307b531c27ec6bfaf8b4d018991b0d4a78f3 Mon Sep 17 00:00:00 2001 From: winter Date: Fri, 6 Dec 2024 20:43:26 +0000 Subject: initial commit hardcoded functionality mostly! --- routes/homepage.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 routes/homepage.php (limited to 'routes/homepage.php') diff --git a/routes/homepage.php b/routes/homepage.php new file mode 100644 index 0000000..ea5d31b --- /dev/null +++ b/routes/homepage.php @@ -0,0 +1,12 @@ +mount('/', function (array $args) { + echo '

home

'; +}); + +Router::getInstance()->mount('/:username', function (array $args) { ?> +

+

todo!

+