feat(main): adds main module

This commit is contained in:
2024-09-29 17:34:48 -03:00
parent d74faad9ec
commit 999ebb0c27
4 changed files with 10 additions and 0 deletions

8
app/templates/index.html Normal file
View File

@@ -0,0 +1,8 @@
{% extends "layout.html" %}
{% block head %}
{{ super() }}
{% block title %}Home{% endblock %}
{% endblock %}
{% block content %}
<p>Hello, World!</p>
{% endblock %}

18
app/templates/layout.html Normal file
View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
{% block head %}
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}{% endblock %} - Adog a pet</title>
{% endblock %}
</head>
<body>
<div id="content">{% block content %}{% endblock %}</div>
<div id="footer">
{% block footer %}
&copy; Copyright 2010 by <a href="http://domain.invalid/">you</a>.
{% endblock %}
</div>
</body>
</html>