Compare commits

...

2 commits

Author SHA1 Message Date
22a2fe5df0
Bump version to 0.1.1 in pyproject.toml 2025-06-14 19:06:19 +02:00
c115fa603c
Add footer template and include it in base and hero templates; update legal URL path
All checks were successful
Build and push Docker image / build (push) Successful in 2m6s
2025-06-14 19:05:53 +02:00
6 changed files with 17 additions and 4 deletions

View file

@ -91,6 +91,7 @@ article.message {
color-mix(in hsl, var(--pico-primary-background) 10%, var(--pico-background-color)) 80%,
var(--pico-background-color));
display: grid;
grid-template-rows: 1fr min-content;
align-items: center;
padding: 4rem;
@ -116,3 +117,8 @@ h6,
i.i {
margin-right: .5em;
}
footer {
text-align: center;
font-weight: 350;
}

View file

@ -68,6 +68,9 @@
{% block content %}
{% endblock content %}
</main>
<footer class="container">
{% include "footer.html" %}
</footer>
{% endblock body %}
</body>
</html>

View file

@ -0,0 +1 @@
© <a href="https://edgarpierre.fr">Edgar P. Burkhart</a> <a href="{% url "legal" %}">Mentions légales</a>

View file

@ -1,10 +1,13 @@
{% load static %}
<div id="hero">
<div>
<main>
<i class="ri-music-ai-fill big-logo"></i>
<h1>Musik</h1>
<p>
<a href="{% url "login" %}" role="button"><i class="ri-play-fill"></i> Jouer</a>
</p>
</div>
</main>
<footer>
{% include "footer.html" %}
</footer>
</div>

View file

@ -7,5 +7,5 @@ urlpatterns = [
path("", views.HomePageView.as_view(), name="index"),
path("accounts/signup/", views.SignupView.as_view(), name="signup"),
path("accounts/", include("django.contrib.auth.urls")),
path("legal/", TemplateView.as_view(template_name="privacy.html")),
path("legal/", TemplateView.as_view(template_name="privacy.html"), name="legal"),
]

View file

@ -1,6 +1,6 @@
[project]
name = "musik"
version = "0.1.0"
version = "0.1.1"
description = "Le jeu de Musik."
readme = "README.md"
requires-python = ">=3.12"