temporary image handling and some responsive
This commit is contained in:
1 parent
0ae5f49bcf
commit
50ec0eebf2
27 files changed
+107
-48
No files matched your search
@@ -1,5 +1,5 @@
|
||||
<footer class="border-t border-black">
|
||||
<div class="max-w-7xl mx-auto px-4 py-12 flex flex-col items-center gap-10 sm:px-8 lg:px-10 lg:py-20 lg:gap-16">
|
||||
<div class="max-w-7xl mx-auto px-5 py-12 flex flex-col items-center gap-10 sm:px-8 lg:px-10 lg:py-20 lg:gap-16">
|
||||
|
||||
{{-- Logo --}}
|
||||
<a href="{{ url('/'.app()->getLocale()) }}" class="shrink-0">
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<header class="sticky top-0 z-50 h-20 bg-neutral-200 border-b border-black lg:h-26">
|
||||
<div class="flex items-center gap-4 px-4 max-lg:h-full sm:px-8 lg:gap-14 lg:px-10">
|
||||
{{-- No bottom border on the mobile homepage, so the header runs straight into the hero. --}}
|
||||
<header @class(['sticky top-0 z-50 h-20 bg-neutral-200 border-b border-black lg:h-26', 'max-lg:border-b-0' => request()->routeIs('home')])>
|
||||
<div class="flex items-center gap-4 px-5 max-lg:h-full sm:px-8 lg:gap-14 lg:px-10">
|
||||
|
||||
{{-- Logo --}}
|
||||
<a href="{{ url('/'.app()->getLocale()) }}" class="shrink-0 lg:py-4">
|
||||
@@ -119,9 +120,9 @@ class="burger flex h-10 w-10.5 shrink-0 flex-col items-center justify-center gap
|
||||
id="mobile-nav"
|
||||
popover
|
||||
aria-label="{{ __('storefront.nav.menu') }}"
|
||||
class="mobile-menu fixed inset-x-0 top-20 bottom-auto m-0 max-h-[calc(100dvh-5rem)] w-full max-w-none overflow-y-auto border-0 border-b border-black bg-neutral-200 p-0 text-black"
|
||||
class="mobile-menu fixed inset-x-0 top-20 bottom-auto m-0 max-h-[calc(100dvh-5rem)] w-full max-w-none overflow-y-auto border-0 bg-neutral-200 p-0 text-black"
|
||||
>
|
||||
<div class="flex flex-col gap-8 px-4 py-6 sm:px-8">
|
||||
<div class="flex flex-col gap-8 px-5 py-6 sm:px-8">
|
||||
|
||||
<ul class="flex flex-col gap-5 font-display font-extrabold italic">
|
||||
<li class="flex flex-col gap-4">
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
<section {{ $attributes }}>
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2">
|
||||
<div class="flex flex-col justify-center gap-8 px-4 py-12 sm:px-8 lg:py-16 lg:px-16 items-center">
|
||||
<div class="flex flex-col justify-center gap-8 px-5 py-12 sm:px-8 lg:py-16 lg:px-16 items-center">
|
||||
<h2
|
||||
class="text-h3 sm:text-h2 lg:text-h1 leading-[1.3] max-w-xl text-center"
|
||||
class="text-h1 leading-[1.3] max-w-xl text-center"
|
||||
aria-label="Γράψου στο newsletter μας"
|
||||
data-controller="appear"
|
||||
data-appear-visible-class="is-visible"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<section {{ $attributes }}>
|
||||
<div class="max-w-3xl bg-brand mx-auto px-6 py-12 sm:px-16 sm:py-16 flex flex-col items-center text-center gap-8 border-1">
|
||||
<p class="text-h4 sm:text-h3 leading-snug">Γράψου στο newsletter για <span class="font-extrabold italic">5% έκπτωση</span> στην πρώτη σου παραγγελία</p>
|
||||
<p class="text-h3 leading-snug">Γράψου στο newsletter για <span class="font-extrabold italic">5% έκπτωση</span> στην πρώτη σου παραγγελία</p>
|
||||
|
||||
<form method="POST" action="#" class="w-full flex flex-col gap-5">
|
||||
@csrf
|
||||
|
||||
@@ -26,7 +26,7 @@ class="fixed w-full inset-x-0 top-0 bottom-auto m-0 border-0 bg-transparent p-0"
|
||||
method="get"
|
||||
action="{{ route('search') }}"
|
||||
data-nav-search-target="form"
|
||||
class="flex h-[var(--search-overlay-h)] items-center gap-4 bg-brand px-4 sm:px-8 lg:gap-6 lg:px-10"
|
||||
class="flex h-[var(--search-overlay-h)] items-center gap-4 bg-brand px-5 sm:px-8 lg:gap-6 lg:px-10"
|
||||
>
|
||||
<label id="search-overlay-label" for="search-overlay-input" class="sr-only">{{ __('storefront.shop.search_label') }}</label>
|
||||
<input
|
||||
|
||||
Reference in new issue
Block a user