This commit is contained in:
lelgenio 2024-10-05 13:39:16 -03:00
commit 55e9cf1f9c
10 changed files with 1951 additions and 0 deletions

38
templates/base.html Normal file
View file

@ -0,0 +1,38 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}{% endblock %}</title>
<link rel="stylesheet" href="/styles/main.css" />
<style>
* {
margin: 0;
padding: 0;
font-family: "sans";
}
.main-title {
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
min-height: 50vh;
}
.count {
font-size: 4rem;
color: #ef2843;
}
.count-label {
font-size: 2rem;
}
</style>
</head>
<body>
{% block content %}
<p>Placeholder content</p>
{% endblock %}
</body>
</html>

10
templates/index.html Normal file
View file

@ -0,0 +1,10 @@
{% extends "base.html" %} {% block title %} Made You Look! {% endblock %} {%
block content %}
<div class="main-title">
<h1>MADE YOU LOOK!</h1>
<h2 class="subtitle">
<span class="count"> {{ view_count }} </span>
<span class="count-label"> People fell for this </span>
</h2>
</div>
{% endblock %}