diff options
| -rwxr-xr-x | content.html | 3 | ||||
| -rwxr-xr-x | css/desktop/navbar.css | 12 | ||||
| -rwxr-xr-x | html/navbar.html | 7 | ||||
| -rwxr-xr-x | index.html | 1 | ||||
| l---------[-rwxr-xr-x] | signin/index.php | 30 | ||||
| l--------- | signup/index.php | 1 | ||||
| l--------- | signup/verify/index.php | 1 |
7 files changed, 25 insertions, 30 deletions
diff --git a/content.html b/content.html index e69de29..881e3ce 100755 --- a/content.html +++ b/content.html @@ -0,0 +1,3 @@ +<h2>Welcome to GNUfault.org!</h2> +<hr> +<p>Welcome to my website, this is largely still a work in progress so come back when I actually get something here, I am actively working on it!</p> diff --git a/css/desktop/navbar.css b/css/desktop/navbar.css index a94d539..62f174c 100755 --- a/css/desktop/navbar.css +++ b/css/desktop/navbar.css @@ -23,5 +23,15 @@ display: flex; align-items: center; border-bottom: 1px solid #98A5B0; - gap: 5px; + justify-content: space-between; +} + +.header .navbar a { + text-decoration: none; + color: black; + margin: 3px; +} + +.header .navbar a:hover { + text-decoration: underline; } diff --git a/html/navbar.html b/html/navbar.html index e69de29..a9f9537 100755 --- a/html/navbar.html +++ b/html/navbar.html @@ -0,0 +1,7 @@ +<div> + <a href="/">Home</a> +</div> +<div> + <a href="/signup">Sign-up</a> + <a href="/signin">Sign-in</a> +</div> diff --git a/index.html b/index.html new file mode 100755 index 0000000..ff8feb5 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +<p>Hello, World!</p> diff --git a/signin/index.php b/signin/index.php index cdf976d..1876f97 100755..120000 --- a/signin/index.php +++ b/signin/index.php @@ -1,29 +1 @@ -<?php -/* - * GNUfault.org - GNUfault's website - * Copyright (C) 2026 Connor Thomson - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see <https://www.gnu.org/licenses/>. - */ - -define('ROOT', rtrim($_SERVER['DOCUMENT_ROOT'], '/') . '/'); - -require_once ROOT . '/php/render.php'; - -$path = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); -$file = rtrim($path, '/') . '/content.html'; - -render_content(ROOT . $file); - -?> +../php/index.php
\ No newline at end of file diff --git a/signup/index.php b/signup/index.php new file mode 120000 index 0000000..1876f97 --- /dev/null +++ b/signup/index.php @@ -0,0 +1 @@ +../php/index.php
\ No newline at end of file diff --git a/signup/verify/index.php b/signup/verify/index.php new file mode 120000 index 0000000..3e5d98e --- /dev/null +++ b/signup/verify/index.php @@ -0,0 +1 @@ +../../php/index.php
\ No newline at end of file |
