Browse Source

fix information

am
farhan 4 months ago
parent
commit
06c2276f2b

+ 1
- 1
app/Http/Controllers/MainController.php View File

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

BIN
public/assets/qr-bank.jpeg View File


+ 2
- 2
resources/views/components/front-cover.blade.php View File

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
     <div class="flex flex-col justify-center h-full gap-10">
2
     <div class="flex flex-col justify-center h-full gap-10">
3
         <div class="flex justify-end items-center">
3
         <div class="flex justify-end items-center">
4
             <img src="{{ asset('assets/logo-left.png') }}" alt="Logo" class="logo-img">
4
             <img src="{{ asset('assets/logo-left.png') }}" alt="Logo" class="logo-img">
8
         </div>
8
         </div>
9
     </div>
9
     </div>
10
 </div>
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
     <div class="flex flex-col justify-center h-full gap-10">
12
     <div class="flex flex-col justify-center h-full gap-10">
13
         <div class="flex justify-start items-center">
13
         <div class="flex justify-start items-center">
14
             <img src="{{ asset('assets/logo-right.png') }}" alt="Logo" class="logo-img">
14
             <img src="{{ asset('assets/logo-right.png') }}" alt="Logo" class="logo-img">

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

14
         @vite(['resources/css/app.css','resources/js/app.js'])
14
         @vite(['resources/css/app.css','resources/js/app.js'])
15
     </head>
15
     </head>
16
     <body class="antialiased font-serif">
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
         <div id="alert-success"></div>
20
         <div id="alert-success"></div>
18
         <div class="parent absolute h-screen w-full">
21
         <div class="parent absolute h-screen w-full">
19
             <audio src="{{asset('assets/paper-ripping.mp3')}}"></audio>
22
             <audio src="{{asset('assets/paper-ripping.mp3')}}"></audio>

+ 14
- 5
resources/views/modals/calendar-modal.blade.php View File

232
           </div>
232
           </div>
233
       </div>
233
       </div>
234
       <div class="modal-action">
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
       </div>
238
       </div>
240
     </div>
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 View File

3
       <h3 class="text-lg font-bold">Hubungi PIC</h3>
3
       <h3 class="text-lg font-bold">Hubungi PIC</h3>
4
       <div class="flex flex-col space-y-3 pt-2">
4
       <div class="flex flex-col space-y-3 pt-2">
5
         <div class="flex justify-between">
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
           <div class="flex space-x-3">
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
               <i class="fa-solid fa-phone-volume text-2xl"></i>
9
               <i class="fa-solid fa-phone-volume text-2xl"></i>
10
             </a>
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
               <i class="fa-brands fa-whatsapp text-3xl"></i>
12
               <i class="fa-brands fa-whatsapp text-3xl"></i>
13
             </a>
13
             </a>
14
           </div>
14
           </div>
15
         </div>
15
         </div>
16
         <div class="flex justify-between">
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
           <div class="flex space-x-3">
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
               <i class="fa-solid fa-phone-volume text-2xl"></i>
20
               <i class="fa-solid fa-phone-volume text-2xl"></i>
21
             </a>
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
               <i class="fa-brands fa-whatsapp text-3xl"></i>
23
               <i class="fa-brands fa-whatsapp text-3xl"></i>
24
             </a>
24
             </a>
25
           </div>
25
           </div>

+ 3
- 3
resources/views/modals/emoney-modal.blade.php View File

5
         <div class="label">
5
         <div class="label">
6
           <span class="label-text">Nama Bank</span>
6
           <span class="label-text">Nama Bank</span>
7
         </div>
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
       </label>
9
       </label>
10
       <label class="form-control w-full max-w-xs">
10
       <label class="form-control w-full max-w-xs">
11
         <div class="label">
11
         <div class="label">
12
           <span class="label-text">No. Akaun</span>
12
           <span class="label-text">No. Akaun</span>
13
         </div>
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
       </label>
15
       </label>
16
       <label class="form-control w-full max-w-xs">
16
       <label class="form-control w-full max-w-xs">
17
         <div class="label">
17
         <div class="label">
18
           <span class="label-text">Kod QR</span>
18
           <span class="label-text">Kod QR</span>
19
         </div>
19
         </div>
20
-        <img src="{{asset('assets/qr.png')}}" alt="">
20
+        <img src="{{asset('assets/qr-bank.jpeg')}}" alt="">
21
       </label>
21
       </label>
22
       <div class="modal-action">
22
       <div class="modal-action">
23
         <form method="dialog">
23
         <form method="dialog">

+ 6
- 0
resources/views/modals/rsvp-modal.blade.php View File

15
               </div>
15
               </div>
16
               <input type="number" name="member" placeholder="Taip disini" class="input input-bordered input-sm input-accent w-full max-w-xs" />
16
               <input type="number" name="member" placeholder="Taip disini" class="input input-bordered input-sm input-accent w-full max-w-xs" />
17
           </label>
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
       </form>
24
       </form>
19
       <div class="modal-action">
25
       <div class="modal-action">
20
           <form method="dialog" id="closeRsvpForm"></form>
26
           <form method="dialog" id="closeRsvpForm"></form>

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

14
     @vite(['resources/css/app.css'])
14
     @vite(['resources/css/app.css'])
15
 </head>
15
 </head>
16
 <body class="antialiased font-serif">
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
     </audio>
19
     </audio>
20
     <div class="section bg-babyblue h-screen w-screen flex justify-center items-center">
20
     <div class="section bg-babyblue h-screen w-screen flex justify-center items-center">
21
         <div class="flex flex-col gap-3 w-4/5 z-10">
21
         <div class="flex flex-col gap-3 w-4/5 z-10">
48
                         No. Tel :
48
                         No. Tel :
49
                         <input type="number" name="phone" class="grow"/>
49
                         <input type="number" name="phone" class="grow"/>
50
                     </label>
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
                 </form>
52
                 </form>
53
             </div>            
53
             </div>            
54
 
54
 

Loading…
Cancel
Save