diff --git a/www/cws.jpg b/www/cws.jpg deleted file mode 100644 index 9732493..0000000 Binary files a/www/cws.jpg and /dev/null differ diff --git a/www/index.html b/www/index.html index 2b9b2d0..baa040e 100644 --- a/www/index.html +++ b/www/index.html @@ -1,32 +1,204 @@ - + + + + + cws • home + + + + + + + + +
+
+
+ +
+
+
+ + cws is running +
+ +

Hello from cws!

+

+ Your lightweight C web server is up and ready. +

+

+ You’re seeing the default homepage served by + cws. Replace this file or point your + virtual host to a different root directory to serve your own + content. +

+
+ + +
+ + diff --git a/www/pages/404.html b/www/pages/404.html new file mode 100644 index 0000000..bacaf36 --- /dev/null +++ b/www/pages/404.html @@ -0,0 +1,150 @@ + + + + + 404 • Page not found + + + + +
+
+ + Page not found +
+ +
404
+

You’ve reached an empty corner of the internet.

+

+ The page you’re looking for doesn’t exist (anymore). It may have + been moved, deleted, or the link is just a bit outdated. +

+
+ + diff --git a/www/pages/500.html b/www/pages/500.html new file mode 100644 index 0000000..8cd69df --- /dev/null +++ b/www/pages/500.html @@ -0,0 +1,171 @@ + + + + + 500 • Internal server error + + + + +
+
+ + Internal server error +
+ +
500
+

Something went wrong on our side.

+

Try again in a moment or head back home while we fix things.

+
+ + diff --git a/www/style.css b/www/style.css deleted file mode 100644 index 42571f2..0000000 --- a/www/style.css +++ /dev/null @@ -1,85 +0,0 @@ -body { - margin: 0; - height: 100vh; - font-family: "Montserrat", sans-serif; - background: linear-gradient(135deg, #3a8ddb, #6dd5fa); - display: flex; - justify-content: center; - align-items: center; - color: white; - animation: fadeIn 1s ease-out; -} - -@keyframes fadeIn { - from { - opacity: 0; - transform: translateY(10px); - } - - to { - opacity: 1; - transform: translateY(0); - } -} - -main { - text-align: center; - padding: 1rem; -} - -h1 { - font-size: 3rem; - margin-bottom: 1rem; - font-weight: 800; -} - -.highlight { - color: #d1b3ff; -} - -p { - font-size: 1.2rem; - font-weight: 400; - margin: 0; -} - -a { - color: #ffffff; - font-weight: 600; - text-decoration: underline; - transition: color 0.3s; -} - -a:hover { - color: #ffe678; -} - -.icon-credit { - position: absolute; - bottom: 10px; - width: 100%; - text-align: center; - font-size: 0.8rem; - color: #cccccc; -} - -.icon-credit a { - color: #cccccc; - text-decoration: none; - transition: color 0.3s; -} - -.icon-credit a:hover { - color: #ffffff; -} - -/* Mobile tweaks */ -@media (max-width: 480px) { - h1 { - font-size: 2.2rem; - } - - p { - font-size: 1rem; - } -} \ No newline at end of file