Browse Source

fixing

master
azri 4 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
     z-index: 1;
60
     z-index: 1;
61
     /* Ensures it is on top of other elements */
61
     /* Ensures it is on top of other elements */
62
     opacity: 0.3;
62
     opacity: 0.3;
63
-    /* Set the opacity to a lower value */
64
-    display: block;
65
 }
63
 }
66
 
64
 
67
 .petal-overlay img {
65
 .petal-overlay img {

+ 3
- 0
resources/js/app.js View File

39
 
39
 
40
     setTimeout(()=>{
40
     setTimeout(()=>{
41
         eventCountdown();
41
         eventCountdown();
42
+        let petalOverlay = document.getElementById("petalOverlay");
43
+        petalOverlay.classList.remove("hidden");
44
+
42
     },4000)
45
     },4000)
43
 
46
 
44
 });
47
 });

+ 3
- 0
resources/views/digital-card.blade.php View File

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

Loading…
Cancel
Save