diff --git a/index.php b/index.php index d59f964..a665ee1 100644 --- a/index.php +++ b/index.php @@ -48,6 +48,13 @@ if (str_ends_with($path_raw, '/') && $path_raw != '/') { $routes = [ '' => function () { require 'views/home.php'; }, 'api' => function () { require 'api.php'; /* Handoff further routing to API script. */ }, + 'auth' => function () { + global $path; + + if ($path[2] == 'signup') { + require 'views/signup.php'; + } + }, 'profile' => function () { global $path, $user, $profile_owner; // don't forget this lol diff --git a/views/signup.php b/views/signup.php index b3d9bbc..7183bb5 100644 --- a/views/signup.php +++ b/views/signup.php @@ -1 +1,34 @@ - + + + + + + + +
+

Sign up

+
+

+

+

+

+

+

+ + +
+
+ + + + \ No newline at end of file