Ver código fonte

fixing

master
azri 4 meses atrás
pai
commit
8d41c58659

+ 0
- 2
resources/css/app.css Ver arquivo

@@ -60,8 +60,6 @@ body.no-scroll {
60 60
     z-index: 1;
61 61
     /* Ensures it is on top of other elements */
62 62
     opacity: 0.3;
63
-    /* Set the opacity to a lower value */
64
-    display: block;
65 63
 }
66 64
 
67 65
 .petal-overlay img {

+ 3
- 0
resources/js/app.js Ver arquivo

@@ -39,6 +39,9 @@ document.addEventListener('click', function () {
39 39
 
40 40
     setTimeout(()=>{
41 41
         eventCountdown();
42
+        let petalOverlay = document.getElementById("petalOverlay");
43
+        petalOverlay.classList.remove("hidden");
44
+
42 45
     },4000)
43 46
 
44 47
 });

+ 3
- 0
resources/views/digital-card.blade.php Ver arquivo

@@ -32,6 +32,9 @@
32 32
         <div class="parent absolute h-screen w-screen" style="z-index: 999">
33 33
             @include('components.front-cover')
34 34
         </div>
35
+        <div class="petal-overlay hidden" id="petalOverlay">
36
+            <img src="{{ asset('assets/petal.gif') }}" alt="Falling Petals">
37
+        </div>
35 38
         <div class="section bg-babyblue min-h-screen flex justify-center items-center pb-20">
36 39
             @include('components.main-event')
37 40
         </div>

Carregando…
Cancelar
Salvar