feat: ajouter les données de la section DJANGOKAM #1

Merged
cedric merged 7 commits from feat/djangokam into master 2026-07-05 20:39:58 +00:00
7 changed files with 34 additions and 8 deletions
Showing only changes of commit 494f3cd0c7 - Show all commits
+7 -4
View File
@@ -11,18 +11,21 @@
"duo": { "duo": {
"image": "/assets/images/djangokam-she-told-me.webp", "image": "/assets/images/djangokam-she-told-me.webp",
"alt": "Pochette du single « She Told Me (Fanm-la di mwen) » — DJANGOKAM x NYYOKA", "alt": "Pochette du single « She Told Me (Fanm-la di mwen) » — DJANGOKAM x NYYOKA",
"legende": "« She Told Me (Fanm-la di mwen) » — DJANGOKAM x NYYOKA" "legende": "« She Told Me (Fanm-la di mwen) » — DJANGOKAM x NYYOKA",
"url": "https://pawol.nu/paroles/djangokam-nyyoka-she-told-me-fanm-la-di-mwen"
}, },
"clips": [ "clips": [
{ {
"titre": "I Want You Girl", "titre": "I Want You Girl",
"image": "/assets/images/djangokam-i-want-you-girl.png", "image": "/assets/images/djangokam-i-want-you-girl.webp",
"alt": "Pochette du clip « I Want You Girl »" "alt": "Pochette du clip « I Want You Girl »",
"url": "https://pawol.nu/paroles/djangokam-i-want-you-girl"
}, },
{ {
"titre": "Ish Mwen KUTE", "titre": "Ish Mwen KUTE",
"image": "/assets/images/djangokam-ish-mwen-kute.jpg", "image": "/assets/images/djangokam-ish-mwen-kute.jpg",
"alt": "Pochette du clip « Ish Mwen KUTE »" "alt": "Pochette du clip « Ish Mwen KUTE »",
"url": "https://pawol.nu/paroles/djangokam-ish-mwen-kute"
} }
], ],
"faits": [ "faits": [
+4
View File
@@ -18,8 +18,10 @@
</div> </div>
<figure class="djangokam-duo"> <figure class="djangokam-duo">
<a href="{{ djangokam.duo.url }}" target="_blank" rel="noopener noreferrer">
<img src="{{ djangokam.duo.image }}" alt="{{ djangokam.duo.alt }}" loading="lazy"> <img src="{{ djangokam.duo.image }}" alt="{{ djangokam.duo.alt }}" loading="lazy">
<figcaption>{{ djangokam.duo.legende }}</figcaption> <figcaption>{{ djangokam.duo.legende }}</figcaption>
</a>
</figure> </figure>
</div> </div>
@@ -36,8 +38,10 @@
<div class="djangokam-clips"> <div class="djangokam-clips">
{% for clip in djangokam.clips %} {% for clip in djangokam.clips %}
<figure class="djangokam-clip"> <figure class="djangokam-clip">
<a href="{{ clip.url }}" target="_blank" rel="noopener noreferrer">
<img src="{{ clip.image }}" alt="{{ clip.alt }}" loading="lazy"> <img src="{{ clip.image }}" alt="{{ clip.alt }}" loading="lazy">
<figcaption>{{ clip.titre }}</figcaption> <figcaption>{{ clip.titre }}</figcaption>
</a>
</figure> </figure>
{% endfor %} {% endfor %}
</div> </div>
+19
View File
@@ -1449,6 +1449,19 @@ input[type="number"]:focus {
text-align: center; text-align: center;
} }
.djangokam-duo a,
.djangokam-clip a {
text-decoration: none;
color: inherit;
display: inline-block;
transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.djangokam-duo a:hover,
.djangokam-clip a:hover {
transform: translateY(-5px);
}
.djangokam-duo img, .djangokam-duo img,
.djangokam-clip img { .djangokam-clip img {
width: 100%; width: 100%;
@@ -1466,6 +1479,12 @@ input[type="number"]:focus {
font-style: italic; font-style: italic;
} }
.djangokam-duo a:hover figcaption,
.djangokam-clip a:hover figcaption {
opacity: 1;
color: var(--or-oki);
}
.djangokam-clips { .djangokam-clips {
display: flex; display: flex;
justify-content: center; justify-content: center;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 125 KiB