소스 검색

revert changes

master
farhan 4 달 전
부모
커밋
5ec7b05ace
3개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. 0
    4
      resources/js/app.js
  2. 2
    2
      resources/views/components/front-cover.blade.php
  3. 1
    1
      resources/views/digital-card.blade.php

+ 0
- 4
resources/js/app.js 파일 보기

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

+ 2
- 2
resources/views/components/front-cover.blade.php 파일 보기

@@ -1,4 +1,4 @@
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 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">
@@ -9,7 +9,7 @@
9 9
         <img src="{{asset('assets/flower-left.png')}}" alt="" class="absolute -left-2/4 top-72 h-96 w-96">
10 10
     </div>
11 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 13
     <div class="flex flex-col justify-center h-full gap-10">
14 14
         <div class="flex justify-start items-center">
15 15
             <img src="{{ asset('assets/logo-right.png') }}" alt="Logo" class="logo-img">

+ 1
- 1
resources/views/digital-card.blade.php 파일 보기

@@ -24,7 +24,7 @@
24 24
         <audio id="player" loop>
25 25
             <source src="{{ asset('assets/background-musicv2.mp3') }}" type="audio/mp3">
26 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 28
             @include('components.front-cover')
29 29
         </div>
30 30
         <div class="section bg-babyblue min-h-screen flex justify-center items-center pb-20">

Loading…
취소
저장