From 2f1d95e54e78c0255963629a8e5cbf36936c8e03 Mon Sep 17 00:00:00 2001 From: Nyavokevin <42602932+nyavokevin@users.noreply.github.com> Date: Fri, 26 Sep 2025 19:41:20 +0300 Subject: [PATCH] Fix landing page --- .../js/components/landing/HeroSection.vue | 70 +++++++++---------- .../js/components/landing/OfferSection.vue | 2 +- resources/js/layouts/app/LandingLayout.vue | 4 +- resources/js/pages/cards/FullCardResult.vue | 0 4 files changed, 35 insertions(+), 41 deletions(-) delete mode 100644 resources/js/pages/cards/FullCardResult.vue diff --git a/resources/js/components/landing/HeroSection.vue b/resources/js/components/landing/HeroSection.vue index efc5b43..8469536 100644 --- a/resources/js/components/landing/HeroSection.vue +++ b/resources/js/components/landing/HeroSection.vue @@ -50,25 +50,28 @@
- +

+ 🎴 Votre première carte est offerte - Aucune carte bancaire requise +

+
@@ -362,39 +365,13 @@ const goToShuffle = () => { .mystic-btn-primary { background: linear-gradient(135deg, rgba(125, 91, 166, 0.9) 0%, rgba(79, 70, 229, 0.9) 100%); - box-shadow: 0 0 20px rgba(125, 91, 166, 0.7); + box-shadow: 0 0 30px rgba(125, 91, 166, 0.8); + border: 1px solid rgba(255, 255, 255, 0.2); } .mystic-btn-primary:hover { - box-shadow: 0 0 30px rgba(125, 91, 166, 0.9); -} - -.mystic-btn-secondary { - border-color: rgba(255, 215, 0, 0.5); - background: rgba(255, 215, 0, 0.1); - backdrop-filter: blur(10px); -} - -.mystic-btn-secondary:hover { - background: rgba(255, 215, 0, 0.2); - border-color: rgba(255, 215, 0, 0.8); -} - -.mystic-btn::before { - content: ''; - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent); - transform: translateX(-100%); - transition: transform 0.6s; - z-index: 1; -} - -.mystic-btn:hover::before { - transform: translateX(100%); + box-shadow: 0 0 40px rgba(125, 91, 166, 1); + transform: translateY(-2px); } /* Text gradient */ @@ -438,4 +415,21 @@ const goToShuffle = () => { display: none; } } + +/* Animation for the emoji in button */ +.mystic-btn-primary span { + animation: pulse 2s ease-in-out infinite; +} + +@keyframes pulse { + 0%, + 100% { + opacity: 1; + transform: scale(1); + } + 50% { + opacity: 0.8; + transform: scale(1.05); + } +} diff --git a/resources/js/components/landing/OfferSection.vue b/resources/js/components/landing/OfferSection.vue index eb0cfcb..78ddf45 100644 --- a/resources/js/components/landing/OfferSection.vue +++ b/resources/js/components/landing/OfferSection.vue @@ -218,7 +218,7 @@

- Quadrige Doré + Tirage complet de cartes

99€

diff --git a/resources/js/layouts/app/LandingLayout.vue b/resources/js/layouts/app/LandingLayout.vue index 3ee16d0..86cf8e9 100644 --- a/resources/js/layouts/app/LandingLayout.vue +++ b/resources/js/layouts/app/LandingLayout.vue @@ -61,7 +61,7 @@ onMounted(() => { Témoignages { > Témoignages diff --git a/resources/js/pages/cards/FullCardResult.vue b/resources/js/pages/cards/FullCardResult.vue deleted file mode 100644 index e69de29..0000000