summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources/templates/404.html
diff options
context:
space:
mode:
authorElias Haugsbakk <[email protected]>2026-07-01 14:05:14 +0200
committerElias Haugsbakk <[email protected]>2026-07-01 14:05:14 +0200
commitc4da920843972b6571e978cdc9f9278eb87b7398 (patch)
treef972778f7cab4e4b231f5adc7450d590fa6d0fae /clams-server/src/main/resources/templates/404.html
parent5ed99f3c87f0337ffac03dd1e45073fbc7f63b68 (diff)
add HTML, CSS and basic routing
Diffstat (limited to 'clams-server/src/main/resources/templates/404.html')
-rw-r--r--clams-server/src/main/resources/templates/404.html41
1 files changed, 41 insertions, 0 deletions
diff --git a/clams-server/src/main/resources/templates/404.html b/clams-server/src/main/resources/templates/404.html
new file mode 100644
index 0000000..6bbcecd
--- /dev/null
+++ b/clams-server/src/main/resources/templates/404.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="UTF-8">
+ <title>404 - Page Not Found</title>
+ <link rel="stylesheet" href="/css/common.css">
+ <style>
+ .error-container {
+ text-align: center;
+ margin-top: 100px;
+ }
+ .error-code {
+ font-size: 5rem;
+ margin-bottom: 10px;
+ opacity: 0.3;
+ }
+ </style>
+</head>
+<body>
+
+ <main class="main-container">
+ <div class="error-container">
+ <div class="error-code">404</div>
+ <h1>Page Not Found</h1>
+ <p>The page you are looking for does not exist.</p>
+ <p style="margin-top: 40px;">
+ <a href="/">Return to Home Page</a>
+ </p>
+ </div>
+ </main>
+
+ <footer>
+ <p>
+ <span class="footer-left"><a href="/">eliashaugsbakk.xyz</a></span>
+ <span class="footer-separator">|</span>
+ <span class="footer-right"><a href="mailto:[email protected]">[email protected]</a></span>
+ </p>
+ </footer>
+
+</body>
+</html>