From 422c95728bc0740b893841a160d3740cf159a8e4 Mon Sep 17 00:00:00 2001 From: anulax1225 Date: Thu, 19 Dec 2024 20:38:24 +0100 Subject: [PATCH] Started mobile version --- public/img/contact.svg | 2 + public/img/home.svg | 4 + public/img/menu.svg | 4 + public/img/test.svg | 4 + resources/css/app.css | 23 ++++- resources/views/home.blade.php | 12 +-- resources/views/layout.blade.php | 171 +++++++++++++++++++------------ 7 files changed, 145 insertions(+), 75 deletions(-) create mode 100644 public/img/contact.svg create mode 100644 public/img/home.svg create mode 100644 public/img/menu.svg create mode 100644 public/img/test.svg diff --git a/public/img/contact.svg b/public/img/contact.svg new file mode 100644 index 0000000..82a0861 --- /dev/null +++ b/public/img/contact.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/public/img/home.svg b/public/img/home.svg new file mode 100644 index 0000000..c3482cd --- /dev/null +++ b/public/img/home.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/public/img/menu.svg b/public/img/menu.svg new file mode 100644 index 0000000..335cb31 --- /dev/null +++ b/public/img/menu.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/public/img/test.svg b/public/img/test.svg new file mode 100644 index 0000000..61b2cd4 --- /dev/null +++ b/public/img/test.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/resources/css/app.css b/resources/css/app.css index 4090c21..f10cef3 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -79,19 +79,26 @@ @layer utilities { .focus-camera { animation-name: blur-anim; - animation-duration: 12s; + animation-duration: 8s; animation-iteration-count: infinite; animation-timing-function: ease-in-out; animation-direction: alternate; } + @media (width <= 1024px) { + .slider { + left: -150%; + animation-name: slide-mobile; + } + } + @keyframes blur-anim { from { filter: blur(0px); } to { - filter: blur(5px); + filter: blur(3px); } } @@ -101,14 +108,14 @@ @layer utilities { transform: scale(1); } to { - background-color: rgb(234 88 12 / 0.8); + background-color: rgb(234 88 12); transform: scale(0.9); } } @keyframes social-icon-out-anim { from { - background-color: rgb(234 88 12 / 0.8); + background-color: rgb(234 88 12); transform: scale(0.9); } to { @@ -126,6 +133,14 @@ @layer utilities { } } + @keyframes slide-mobile { + from { + left: -150%; + } + to { + left: 150%; + } + } } diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 8583d8e..3e4e03b 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -2,15 +2,15 @@ @section("content")
- +
-
Ma Visite 360
-
Ma visite, mon choix à 360°
+ shadow-lg shadow-gray-800 flex flex-col items-center laptop:p-14 p-5 my-7"> +
Ma Visite 360
+
Ma visite, mon choix à 360°
-
-

Histoire

+
+

Histoire

Fondée en 2024 et basée à Neuchâtel.
diff --git a/resources/views/layout.blade.php b/resources/views/layout.blade.php index f65e23c..af5aae4 100644 --- a/resources/views/layout.blade.php +++ b/resources/views/layout.blade.php @@ -13,83 +13,124 @@ @vite("resources/js/app.js") @vite("resources/css/app.css") - + -