Browse Source

revert changes

master
farhan 4 months ago
parent
commit
5ec7b05ace

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

72
 
72
 
73
         // Toggle visibility and z-index
73
         // Toggle visibility and z-index
74
         if (isLeftOffScreen && left < 0) {
74
         if (isLeftOffScreen && left < 0) {
75
-            $('.parent').addClass('fixed');
76
-            $('.parent').removeClass('absolute');
77
             $('.parent').removeClass('z-30');
75
             $('.parent').removeClass('z-30');
78
         } else {
76
         } else {
79
-            $('.parent').addClass('absolute');
80
-            $('.parent').removeClass('fixed');
81
             $('.parent').addClass('z-30');
77
             $('.parent').addClass('z-30');
82
         }
78
         }
83
     }
79
     }

+ 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 shadow-lg z-10 snap-start" style="scroll-snap-align: start;">
1
+<div class="part left fixed left-0 w-1/2 h-screen bg-babyblue shadow-lg">
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">
9
         <img src="{{asset('assets/flower-left.png')}}" alt="" class="absolute -left-2/4 top-72 h-96 w-96">
9
         <img src="{{asset('assets/flower-left.png')}}" alt="" class="absolute -left-2/4 top-72 h-96 w-96">
10
     </div>
10
     </div>
11
 </div>
11
 </div>
12
-<div class="part right fixed right-0 w-1/2 h-screen bg-babyblue shadow-lg z-10 snap-start" style="scroll-snap-align: start;">
12
+<div class="part right fixed right-0 w-1/2 h-screen bg-babyblue shadow-lg">
13
     <div class="flex flex-col justify-center h-full gap-10">
13
     <div class="flex flex-col justify-center h-full gap-10">
14
         <div class="flex justify-start items-center">
14
         <div class="flex justify-start items-center">
15
             <img src="{{ asset('assets/logo-right.png') }}" alt="Logo" class="logo-img">
15
             <img src="{{ asset('assets/logo-right.png') }}" alt="Logo" class="logo-img">

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

24
         <audio id="player" loop>
24
         <audio id="player" loop>
25
             <source src="{{ asset('assets/background-musicv2.mp3') }}" type="audio/mp3">
25
             <source src="{{ asset('assets/background-musicv2.mp3') }}" type="audio/mp3">
26
         </audio>
26
         </audio>
27
-        <div class="parent absolute h-screen w-screen snap-mandatory overflow-y-scroll">
27
+        <div class="parent absolute h-screen w-screen">
28
             @include('components.front-cover')
28
             @include('components.front-cover')
29
         </div>
29
         </div>
30
         <div class="section bg-babyblue min-h-screen flex justify-center items-center pb-20">
30
         <div class="section bg-babyblue min-h-screen flex justify-center items-center pb-20">

Loading…
Cancel
Save