farhan 4ヶ月前
コミット
1e074a4783
2個のファイルの変更3行の追加3行の削除
  1. 2
    2
      resources/views/components/front-cover.blade.php
  2. 1
    1
      resources/views/digital-card.blade.php

+ 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">
1
+<div class="part left fixed left-0 w-1/2 h-screen bg-babyblue shadow-lg z-10 snap-start">
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">
12
+<div class="part right fixed right-0 w-1/2 h-screen bg-babyblue shadow-lg z-10 snap-start">
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">
27
+        <div class="parent absolute h-screen w-screen snap-mandatory">
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">

読み込み中…
キャンセル
保存