From 543b513e08b17b566f931516af6e6e2048210419 Mon Sep 17 00:00:00 2001 From: valere Date: Fri, 13 Feb 2026 17:20:00 +0100 Subject: [PATCH] dupont release --- app/components/Card.vue | 22 +++++++++------- app/components/Platine.vue | 23 ++++++++++++----- app/components/PlayingCard.vue | 43 +++++++++++++++++++------------ app/components/UI/CloseButton.vue | 4 +-- app/pages/index.vue | 22 +++++++++------- public/old.svg | 4 +++ public/rewind.svg | 41 +++++++++++++++++++++++++++++ tailwind.config.js | 16 +++++++++++- 8 files changed, 130 insertions(+), 45 deletions(-) create mode 100644 public/old.svg create mode 100644 public/rewind.svg diff --git a/app/components/Card.vue b/app/components/Card.vue index 92e5b55..cb3cfc4 100644 --- a/app/components/Card.vue +++ b/app/components/Card.vue @@ -13,10 +13,10 @@ -
+
- Pochette de l'album + cover-image de l'album
@@ -92,11 +92,7 @@ const isTrackLoaded = ref(false) /* Flip effect */ .card { perspective: 1000px; - @apply transition-all scale-100 w-56 h-80 min-w-56 min-h-80; - - .pochette { - border-radius: 0.75rem; - } + @apply transition-all scale-100 size-full; .flip-inner { position: relative; @@ -121,6 +117,14 @@ const isTrackLoaded = ref(false) border-radius: 1rem; transform: rotateY(0deg); transition: box-shadow 0.6s; + + .cover { + @apply flex-1 flex justify-center items-center overflow-hidden cursor-pointer; + + .cover-image { + border-radius: 0.75rem; + } + } } .face-down { @@ -200,7 +204,7 @@ const isTrackLoaded = ref(false) } } - .pochette:active, + .cover-image:active, .face-down:active { .play-button { @apply scale-90; diff --git a/app/components/Platine.vue b/app/components/Platine.vue index 6800aa8..dddaffe 100644 --- a/app/components/Platine.vue +++ b/app/components/Platine.vue @@ -1,6 +1,6 @@