Browse Source

add pointing instuction

master
azri 5 months ago
parent
commit
5373972927

BIN
public/assets/tap.png View File


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

@@ -18,6 +18,9 @@ document.addEventListener('click', function () {
18 18
 
19 19
     let initLoad = sessionStorage.getItem("initial-load")
20 20
 
21
+    let pointer = document.getElementById("pointer")
22
+    pointer.remove()
23
+
21 24
     // parts is intro cover
22 25
     let parts = document.getElementsByClassName("part");
23 26
     for (let part of parts) {
@@ -86,6 +89,11 @@ function imageLoading() {
86 89
             for (let part of parts) {
87 90
                 part.classList.remove("hidden")
88 91
             }
92
+
93
+            let pointer = document.getElementById("pointer")
94
+            setTimeout(() => {
95
+                pointer.classList.remove("hidden")
96
+            }, 1500);
89 97
         }
90 98
     }
91 99
 

+ 1
- 0
resources/views/components/front-cover-intro-dummy.blade.php View File

@@ -18,5 +18,6 @@
18 18
             <img src="{{ asset('assets/name-right.webp') }}" alt="Name Right" class="logo-img">
19 19
         </div>
20 20
         <img src="{{asset('assets/flower-right.webp')}}" alt="" class="absolute -right-2/4 top-32 h-96 w-96 animate__animated animate__fadeIn animate__delay-2s">
21
+        <img id="pointer" src="{{asset('assets/tap.png')}}" alt="" class="absolute hidden animate__animated animate__flash animate__infinite" width="35" height="35" style="bottom: 35vh; left:10vw">
21 22
     </div>
22 23
 </div>

+ 1
- 1
resources/views/components/main-event.blade.php View File

@@ -13,7 +13,7 @@
13 13
             <p class="font-tan-pearl font-semibold text-5xl"><span class="text-6xl">A</span>yuna</p>
14 14
         </div>
15 15
     </div>
16
-    <div class="flex flex-col justify-center ">
16
+    <div class="flex flex-col justify-center">
17 17
         <div class="flex justify-center">
18 18
             <p class="font-bold text-base">SABTU</p>
19 19
         </div>

+ 2
- 1
resources/views/digital-card.blade.php View File

@@ -10,7 +10,7 @@
10 10
         <link rel="preconnect" href="https://fonts.bunny.net">
11 11
         <link href="https://fonts.bunny.net/css?family=figtree:400,600&display=swap" rel="stylesheet" />
12 12
         <link href="https://cdn.jsdelivr.net/npm/daisyui@4.12.10/dist/full.min.css" rel="stylesheet" type="text/css" />
13
-
13
+        <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
14 14
 
15 15
         <meta name="csrf-token" content="{{ csrf_token() }}">
16 16
 
@@ -57,6 +57,7 @@
57 57
 
58 58
         <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
59 59
         <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" defer/>
60
+        <script src="https://unpkg.com/aos@2.3.1/dist/aos.js" defer></script>
60 61
 
61 62
         @stack('script')
62 63
     </body>

Loading…
Cancel
Save