From 8a90486df37a598874ddae215c1d693b79666225 Mon Sep 17 00:00:00 2001 From: Jose Quintana Date: Fri, 27 Dec 2019 00:17:14 +0100 Subject: [PATCH] refactor: update pages and assets example --- public/404.html | 17 +++++++++++++++++ public/50x.html | 17 +++++++++++++++++ public/assets/main.css | 14 ++++++++++++-- public/assets/main.js | 2 +- public/index.html | 8 +++++--- 5 files changed, 52 insertions(+), 6 deletions(-) diff --git a/public/404.html b/public/404.html index 48cca14..192df19 100644 --- a/public/404.html +++ b/public/404.html @@ -6,6 +6,23 @@ 404 Not Found + diff --git a/public/50x.html b/public/50x.html index bfe4647..ea050e6 100644 --- a/public/50x.html +++ b/public/50x.html @@ -6,6 +6,23 @@ 50x Service Unavailable + diff --git a/public/assets/main.css b/public/assets/main.css index 85f066a..cc34e89 100644 --- a/public/assets/main.css +++ b/public/assets/main.css @@ -1,5 +1,15 @@ body { - font-family: Arial, Helvetica, sans-serif; - color: slategray; + font-family: sans-serif; + color: black; text-align: center; + font-size: 1.2rem; +} + +h1 a { + text-decoration: none; + color: black; +} + +a { + color: #0366d6; } diff --git a/public/assets/main.js b/public/assets/main.js index c2cc898..fecd9f2 100644 --- a/public/assets/main.js +++ b/public/assets/main.js @@ -1 +1 @@ -(() => console.log("Hello world!"))() +(() => console.log("Static Web Server running!"))() diff --git a/public/index.html b/public/index.html index c7c3fc9..41c3206 100644 --- a/public/index.html +++ b/public/index.html @@ -5,14 +5,16 @@ - My awesome static web page! + Static Web Server - A blazing fast static files-serving web server powered by Rust Iron. -

My awesome static web page!

- +

Static Web Server

+

A blazing fast static files-serving web server powered by Rust Iron.

+

View on GitHub

-- libgit2 1.7.2