Bläddra i källkod

fix information

am
farhan 4 månader sedan
förälder
incheckning
06c2276f2b

+ 1
- 1
app/Http/Controllers/MainController.php Visa fil

@@ -18,7 +18,7 @@ class MainController extends Controller
18 18
         } else if ($host == 'rsvp.aliffayuna.com') {
19 19
             return view('rsvp-digital-card');
20 20
         } else {
21
-            return view('rsvp-digital-card');
21
+            return view('digital-card', compact(['rsvp', 'guestbook']));
22 22
         }
23 23
     }
24 24
 

Binär
public/assets/qr-bank.jpeg Visa fil


+ 2
- 2
resources/views/components/front-cover.blade.php Visa fil

@@ -1,4 +1,4 @@
1
-<div class="part left fixed left-0 w-1/2 h-screen bg-babyblue">
1
+<div class="part left fixed left-0 w-1/2 h-screen bg-babyblue shadow-xl">
2 2
     <div class="flex flex-col justify-center h-full gap-10">
3 3
         <div class="flex justify-end items-center">
4 4
             <img src="{{ asset('assets/logo-left.png') }}" alt="Logo" class="logo-img">
@@ -8,7 +8,7 @@
8 8
         </div>
9 9
     </div>
10 10
 </div>
11
-<div class="part right fixed right-0 w-1/2 h-screen bg-babyblue">
11
+<div class="part right fixed right-0 w-1/2 h-screen bg-babyblue shadow-xl">
12 12
     <div class="flex flex-col justify-center h-full gap-10">
13 13
         <div class="flex justify-start items-center">
14 14
             <img src="{{ asset('assets/logo-right.png') }}" alt="Logo" class="logo-img">

+ 3
- 0
resources/views/digital-card.blade.php Visa fil

@@ -14,6 +14,9 @@
14 14
         @vite(['resources/css/app.css','resources/js/app.js'])
15 15
     </head>
16 16
     <body class="antialiased font-serif">
17
+        <audio id="player" autoplay="autoplay" loop>
18
+            <source src="{{asset('assets/background-music.mp3')}}" type="audio/mp3">
19
+        </audio>
17 20
         <div id="alert-success"></div>
18 21
         <div class="parent absolute h-screen w-full">
19 22
             <audio src="{{asset('assets/paper-ripping.mp3')}}"></audio>

+ 14
- 5
resources/views/modals/calendar-modal.blade.php Visa fil

@@ -232,10 +232,19 @@
232 232
           </div>
233 233
       </div>
234 234
       <div class="modal-action">
235
-        <form method="dialog">
236
-          <!-- if there is a button, it will close the modal -->
237
-          <button class="btn">Tutup</button>
238
-        </form>
235
+        <form method="dialog" id="closeCalendarForm"></form>
236
+        <button type="button" class="btn bg-babybluedark">Simpan</button>
237
+        <button type="button" class="btn" id="submitCloseCalendarForm">Tutup</button>
239 238
       </div>
240 239
     </div>
241
-  </dialog>
240
+  </dialog>
241
+
242
+  @push('script')
243
+      <script>
244
+        $(document).ready(function() {
245
+            $('#submitCloseCalendarForm').click(function(e) {
246
+                $('#closeCalendarForm').submit();
247
+            });
248
+        });
249
+      </script>
250
+  @endpush

+ 6
- 6
resources/views/modals/contact-modal.blade.php Visa fil

@@ -3,23 +3,23 @@
3 3
       <h3 class="text-lg font-bold">Hubungi PIC</h3>
4 4
       <div class="flex flex-col space-y-3 pt-2">
5 5
         <div class="flex justify-between">
6
-          <p class="font-medium text-gray-600">Muqriz</p>
6
+          <p class="font-medium text-gray-600">Ariff</p>
7 7
           <div class="flex space-x-3">
8
-            <a href="tel:+601133133619" class="flex items-center space-x-2 font-medium text-blue-900">
8
+            <a href="tel:+60124990504" class="flex items-center space-x-2 font-medium text-blue-900">
9 9
               <i class="fa-solid fa-phone-volume text-2xl"></i>
10 10
             </a>
11
-            <a href="https://wa.me/601133133619" target="_blank" class="flex items-center space-x-2 font-medium text-green-600">
11
+            <a href="https://wa.me/60124990504" target="_blank" class="flex items-center space-x-2 font-medium text-green-600">
12 12
               <i class="fa-brands fa-whatsapp text-3xl"></i>
13 13
             </a>
14 14
           </div>
15 15
         </div>
16 16
         <div class="flex justify-between">
17
-          <p class="font-medium text-gray-600">Hamzah</p>
17
+          <p class="font-medium text-gray-600">Akmal</p>
18 18
           <div class="flex space-x-3">
19
-            <a href="tel:+601133133619" class="flex items-center space-x-2 font-medium text-blue-900">
19
+            <a href="tel:+60127605716" class="flex items-center space-x-2 font-medium text-blue-900">
20 20
               <i class="fa-solid fa-phone-volume text-2xl"></i>
21 21
             </a>
22
-            <a href="https://wa.me/601133133619" target="_blank" class="flex items-center space-x-2 font-medium text-green-600">
22
+            <a href="https://wa.me/60127605716" target="_blank" class="flex items-center space-x-2 font-medium text-green-600">
23 23
               <i class="fa-brands fa-whatsapp text-3xl"></i>
24 24
             </a>
25 25
           </div>

+ 3
- 3
resources/views/modals/emoney-modal.blade.php Visa fil

@@ -5,19 +5,19 @@
5 5
         <div class="label">
6 6
           <span class="label-text">Nama Bank</span>
7 7
         </div>
8
-        <input type="text" value="Maybank Berhad" class="input input-bordered input-sm input-accent w-full max-w-xs" disabled/>
8
+        <input type="text" value="RHB Bank Berhad" class="input input-bordered input-sm input-accent w-full max-w-xs" disabled/>
9 9
       </label>
10 10
       <label class="form-control w-full max-w-xs">
11 11
         <div class="label">
12 12
           <span class="label-text">No. Akaun</span>
13 13
         </div>
14
-        <input type="text" value="162076697556" class="input input-bordered input-sm input-accent w-full max-w-xs" disabled/>
14
+        <input type="text" value="15601700275298" class="input input-bordered input-sm input-accent w-full max-w-xs" disabled/>
15 15
       </label>
16 16
       <label class="form-control w-full max-w-xs">
17 17
         <div class="label">
18 18
           <span class="label-text">Kod QR</span>
19 19
         </div>
20
-        <img src="{{asset('assets/qr.png')}}" alt="">
20
+        <img src="{{asset('assets/qr-bank.jpeg')}}" alt="">
21 21
       </label>
22 22
       <div class="modal-action">
23 23
         <form method="dialog">

+ 6
- 0
resources/views/modals/rsvp-modal.blade.php Visa fil

@@ -15,6 +15,12 @@
15 15
               </div>
16 16
               <input type="number" name="member" placeholder="Taip disini" class="input input-bordered input-sm input-accent w-full max-w-xs" />
17 17
           </label>
18
+          <label class="form-control w-full max-w-xs">
19
+            <div class="label">
20
+                <span class="label-text">No. Tel</span>
21
+            </div>
22
+            <input type="number" name="phone" placeholder="Taip disini" class="input input-bordered input-sm input-accent w-full max-w-xs" />
23
+        </label>
18 24
       </form>
19 25
       <div class="modal-action">
20 26
           <form method="dialog" id="closeRsvpForm"></form>

+ 3
- 3
resources/views/rsvp-digital-card.blade.php Visa fil

@@ -14,8 +14,8 @@
14 14
     @vite(['resources/css/app.css'])
15 15
 </head>
16 16
 <body class="antialiased font-serif">
17
-    <audio id="player" autoplay="autoplay" loop="true">
18
-        <source src="{{'assets/background-music.mp3'}}" type="audio/mp3">
17
+    <audio id="player" autoplay="autoplay" loop>
18
+        <source src="{{asset('assets/background-music.mp3')}}" type="audio/mp3">
19 19
     </audio>
20 20
     <div class="section bg-babyblue h-screen w-screen flex justify-center items-center">
21 21
         <div class="flex flex-col gap-3 w-4/5 z-10">
@@ -48,7 +48,7 @@
48 48
                         No. Tel :
49 49
                         <input type="number" name="phone" class="grow"/>
50 50
                     </label>
51
-                    <button id="submitForm" class="bg-babybluedark rounded-lg py-2">Hantar</button>
51
+                    <button id="submitForm" class="bg-babybluedark rounded-lg py-2 text-navbarcolor">Hantar</button>
52 52
                 </form>
53 53
             </div>            
54 54
 

Laddar…
Avbryt
Spara