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(-)
@@ -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>
@@ -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>
@@ -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>