Browse Source

fixing

master
azri 5 months ago
parent
commit
8d41c58659
3 changed files with 6 additions and 2 deletions
  1. 0
    2
      resources/css/app.css
  2. 3
    0
      resources/js/app.js
  3. 3
    0
      resources/views/digital-card.blade.php

+ 0
- 2
resources/css/app.css View File

@@ -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 View File

@@ -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 View File

@@ -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>

Loading…
Cancel
Save