index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2021-02-08 20:40:00.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2021-02-08 20:40:00.0 +00:00:00
commit
8733d2aac2085b416d4f72327953673943a3bc4c [patch]
tree
ebdb01f69a95f826e54e1461e579b550f88b50f3
parent
4fe89c5d91c2eda8bda7d0457e8f3ebaff039809
download
8733d2aac2085b416d4f72327953673943a3bc4c.tar.gz

refactor: simplify public example assets



Diff

 public/404.html   | 28 ++--------------------------
 public/50x.html   | 28 ++--------------------------
 public/index.html | 14 ++++----------
 3 files changed, 8 insertions(+), 62 deletions(-)

diff --git a/public/404.html b/public/404.html
index 192df19..9ee751b 100644
--- a/public/404.html
+++ b/public/404.html
@@ -1,33 +1,9 @@
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>404 Not Found</title>
    <style>
        body {
            font-family: sans-serif;
            color: black;
            text-align: center;
            font-size: 1.25rem;
        }

        h1 a {
            text-decoration: none;
            color: black;
        }

        a {
            color: #0366d6;
        }
    </style>
<title>404 Not Found</title>
</head>

<body>
    <h1>404</h1>
    <p>Content was not found.</p>
<center><h1>404 Content was not found</h1></center>
</body>

</html>
diff --git a/public/50x.html b/public/50x.html
index ea050e6..c0a0978 100644
--- a/public/50x.html
+++ b/public/50x.html
@@ -1,33 +1,9 @@
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>50x Service Unavailable</title>
    <style>
        body {
            font-family: sans-serif;
            color: black;
            text-align: center;
            font-size: 1.25rem;
        }

        h1 a {
            text-decoration: none;
            color: black;
        }

        a {
            color: #0366d6;
        }
    </style>
<title>50x Service Unavailable</title>
</head>

<body>
    <h1>50x</h1>
    <p>Service is temporarily unavailable.</p>
<center><h1>50x Service is temporarily unavailable</h1></center>
</body>

</html>
diff --git a/public/index.html b/public/index.html
index 41c3206..dd87f3e 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,21 +1,15 @@
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Static Web Server - A blazing fast static files-serving web server powered by Rust Iron.</title>
<html>
    <head>
    <title>Static Web Server</title>
    <link rel="stylesheet" href="/assets/main.css">
    <link rel="shortcut icon" href="/assets/favicon.ico">
</head>

<body>
    <h1>Static Web Server</h1>
    <p>A blazing fast static files-serving web server powered by <a href="https://github.com/iron/iron"
            target="_blank">Rust Iron</a>.</p>
    <p>A blazing fast static files-serving web server powered by Rust.</p>
    <p><a href="https://github.com/joseluisq/static-web-server/" target="_blank">View on GitHub</a></p>
    <script src="/assets/main.js"></script>
</body>

</html>