Add files via upload

This commit is contained in:
Eric Lay 2024-03-29 16:04:34 -05:00 committed by GitHub
parent 60158cd5d9
commit 2b6323cc9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 62 additions and 53 deletions

View File

@ -1,53 +1,10 @@
<html> <!-- 404.html -->
<head> {% extends 'error.html' %} {% block content %}
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fuck Your Day</title>
<script language="JavaScript" type="text/javascript">
setTimeout(function () {
location.replace("https://fuckyour.day/");
}, 7000);
setTimeout(7000);
</script>
</head>
{% block body %}
<style>
:root {
--blue: #0e0620;
--white: #fff;
}
html,
body {
height: 100%;
}
body {
display: flex;
align-items: center;
justify-content: center;
font-family: "system-ui";
color: var(--blue);
font-size: 1em;
}
h1 {
font-size: 7.5em;
margin: 15px 0px;
font-weight: bold;
}
h2 {
font-weight: bold;
}
@media screen and (max-width: 768px) {
body {
display: block;
}
}
</style>
<div> <div>
<h1>404</h1> <h1>{{ error }}</h1>
<h2>You're so lost.</h2> <h2>You're so lost.</h2>
<p> <p>
<br />One of us has made a mistake.<br />Hang tight, let's try this again. <br />One of us has made a mistake.<br />Hang tight, let's try this again.
</p> </p>
</div> </div>
{% endblock %} {% endblock %}
</html>

8
templates/500.html Normal file
View File

@ -0,0 +1,8 @@
<!-- 500.html -->
{% extends 'error.html' %} {% block content %}
<div>
<h1>{{ error }}</h1>
<h2>oops!</h2>
<p><br />Hang tight, let's try this again.</p>
</div>
{% endblock %}

44
templates/error.html Normal file
View File

@ -0,0 +1,44 @@
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Fuck Your Day</title>
<script language="JavaScript" type="text/javascript">
setTimeout(function () {
location.replace("https://fuckyour.day/");
}, 7000);
setTimeout(7000);
</script>
<style>
:root {
--blue: #0e0620;
--white: #fff;
}
html,
body {
height: 100%;
}
body {
display: flex;
align-items: center;
justify-content: center;
font-family: "system-ui";
font-size: 1em;
}
h1 {
font-size: 7.5em;
margin: 15px 0px;
font-weight: bold;
}
h2 {
font-weight: bold;
}
@media screen and (max-width: 768px) {
body {
display: block;
}
}
</style>
</head>
{% block content %} {% endblock %}
</html>