Compare commits

...

2 commits

Author SHA1 Message Date
a462fabde4
Bump version to 0.4.3 in settings, pyproject.toml, and uv.lock
All checks were successful
Build and push Docker image / build (push) Successful in 1m57s
2025-06-16 22:04:51 +02:00
b9711cbe9c
Refactor hero section layout and update footer privacy notice for clarity 2025-06-16 22:04:18 +02:00
7 changed files with 59 additions and 23 deletions

View file

@ -77,11 +77,6 @@ article.message {
} }
#hero { #hero {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient( background: radial-gradient(
circle 50vh at calc(100vw - 4rem) 50%, circle 50vh at calc(100vw - 4rem) 50%,
var(--pico-primary-background), var(--pico-primary-background),
@ -90,11 +85,32 @@ article.message {
color-mix(in hsl, var(--pico-primary-background) 30%, var(--pico-background-color)) 60%, color-mix(in hsl, var(--pico-primary-background) 30%, var(--pico-background-color)) 60%,
color-mix(in hsl, var(--pico-primary-background) 10%, var(--pico-background-color)) 80%, color-mix(in hsl, var(--pico-primary-background) 10%, var(--pico-background-color)) 80%,
var(--pico-background-color)); var(--pico-background-color));
display: grid; position: absolute;
grid-template-rows: 1fr min-content; top: 0;
align-items: center; bottom: 0;
left: 0;
right: 0;
height: 100%;
overflow-y: auto;
padding: 4rem; padding: 4rem;
main {
display: contents;
}
section {
max-width: 20rem;
}
}
.full-page {
height: 100%;
display: grid;
grid-template-rows: 1fr;
align-items: center;
margin-bottom: 4rem;
&.r {
-ms-grid-column-align: end;
}
.big-logo { .big-logo {
font-size: 8rem; font-size: 8rem;
} }
@ -104,6 +120,7 @@ article.message {
} }
} }
h1, h1,
h2, h2,
h3, h3,
@ -201,3 +218,7 @@ table.results, table.musics {
} }
} }
} }
.brand-name {
color: var(--pico-primary);
}

View file

@ -1 +1 @@
Musik {{ VERSION }} © <a href="https://code.edgarpierre.fr/edpibu/musik">Edgar P. Burkhart</a> <a href="{% url "legal" %}">Mentions légales</a> Musik {{ VERSION }} © <a href="https://code.edgarpierre.fr/edpibu/musik">Edgar P. Burkhart</a> <a href="{% url "legal" %}">Mentions légales et confidentialité</a>

View file

@ -1,11 +1,25 @@
{% load static %} {% load static %}
<div id="hero"> <div id="hero">
<main> <main>
<div class="full-page">
<div>
<i class="ri-music-ai-fill big-logo"></i> <i class="ri-music-ai-fill big-logo"></i>
<h1>Musik</h1> <h1>Musik</h1>
<p> <p>
<a href="{% url "home" %}" role="button"><i class="ri-play-fill"></i> Jouer</a> <a href="{% url "home" %}" role="button"><i class="ri-play-fill"></i> Jouer</a>
</p> </p>
</div>
</div>
<div class="full-page r">
<section>
<h2>
<span class="brand-name"><i class="ri-music-ai-fill"></i> Musik</span> Le jeu où ta playlist devient ton arme secrète !
</h2>
<p>
Invite ta bande, ajoute tes sons fétiches, et cest parti ! Une playlist Youtube apparaît, mélangeant les coups de cœur de tout le monde. Le jeu ? Écoute, devine qui a choisi quoi, et découvre les secrets musicaux de tes potes. Entre pièges, révélations et fous rires, Musik cest le jeu parfait pour tester vos oreilles… et vos amitiés. Prêt à jouer le DJ incognito ?
</p>
</section>
</div>
</main> </main>
<footer> <footer>
{% include "footer.html" %} {% include "footer.html" %}

View file

@ -16,6 +16,7 @@
Youtube est une marque de Google LLC. Youtube est une marque de Google LLC.
</p> </p>
<p> <p>
La suppression des données stockée par le service Musik pour son utilisation peut être demandée par email à <a href="mailto:contact@edgarpierre.fr">Edgar P. Burkhart</a>. Les données saisies dans Musik (groupes créés, listes de musiques) sont conservées jusqu'à demande de suppression. La suppression du compte entraîne la suppression de l'ensemble des données qui y sont liées.
La suppression du compte peut être demandée dans les paramètres du compte. La suppression des données est immédiate et définitive.
</p> </p>
{% endblock content %} {% endblock content %}

View file

@ -13,7 +13,7 @@ https://docs.djangoproject.com/en/5.2/ref/settings/
import os import os
from pathlib import Path from pathlib import Path
VERSION = "0.4.2" VERSION = "0.4.3"
# Build paths inside the project like this: BASE_DIR / 'subdir'. # Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent BASE_DIR = Path(__file__).resolve().parent.parent

View file

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

2
uv.lock generated
View file

@ -423,7 +423,7 @@ wheels = [
[[package]] [[package]]
name = "musik" name = "musik"
version = "0.4.2" version = "0.4.3"
source = { virtual = "." } source = { virtual = "." }
dependencies = [ dependencies = [
{ name = "celery" }, { name = "celery" },