sync
This commit is contained in:
BIN
resources/views/layouts/.DS_Store
vendored
BIN
resources/views/layouts/.DS_Store
vendored
Binary file not shown.
@@ -18,7 +18,7 @@
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('apple-touch-icon.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('favicon-32x32.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('favicon-16x16.png') }}">
|
||||
<link rel="manifest" href="{{ asset('site.webmanifest')}}">
|
||||
<link rel="manifest" href="{{ asset('site.webmanifest') }}">
|
||||
|
||||
@vite('resources/sass/front-app.scss')
|
||||
|
||||
|
||||
@@ -1,69 +1,7 @@
|
||||
<div class="container-fluid border-top">
|
||||
<footer class="py-5 container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-6 col-md-2 mb-3">
|
||||
<ul class="nav flex-column">
|
||||
@foreach ($categories as $category)
|
||||
@if ($category->id % 2 == 0)
|
||||
<li class="nav-item mb-2">
|
||||
<a class="nav-link p-0 text-body-secondary"
|
||||
href="{{ route('home.country.category', ['country' => $category->country_locale_slug, 'category' => $category->slug]) }}">{{ $category->name }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
<footer class="container-lg">
|
||||
|
||||
<div class="col-6 col-md-2 mb-3">
|
||||
<ul class="nav flex-column">
|
||||
@foreach ($categories as $category)
|
||||
@if ($category->id % 2 == 1)
|
||||
<li class="nav-item mb-2">
|
||||
<a class="nav-link p-0 text-body-secondary"
|
||||
href="{{ route('home.country.category', ['country' => $category->country_locale_slug, 'category' => $category->slug]) }}">{{ $category->name }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-5 mb-3">
|
||||
|
||||
|
||||
@if ($country_locales->count() > 1)
|
||||
<div class="dropdown mb-4">
|
||||
<button class="btn btn-outline-primary dropdown-toggle" type="button" id="dropdownMenuSwitch"
|
||||
data-bs-toggle="dropdown" aria-expanded="false">
|
||||
{{ $current_country_locale->name }}
|
||||
</button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenuSwitch">
|
||||
@foreach ($country_locales as $country_locale)
|
||||
@if ($country_locale->id != $current_country_locale->id)
|
||||
<li><a class="dropdown-item"
|
||||
href="{{ route('home.country', [
|
||||
'country' => $country_locale->slug,
|
||||
]) }}">{{ $country_locale->name }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
{{-- <form>
|
||||
<h5>Subscribe to our newsletter</h5>
|
||||
<p>Monthly digest of what's new and exciting from us.</p>
|
||||
<div class="d-flex flex-column flex-sm-row w-100 gap-2">
|
||||
<label for="newsletter1" class="visually-hidden">Email address</label>
|
||||
<input id="newsletter1" type="disabled" class="form-control disabled" placeholder="Email address">
|
||||
<button class="btn btn-primary" type="button">Subscribe</button>
|
||||
</div>
|
||||
</form> --}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d-flex flex-column flex-sm-row justify-content-center py-4 my-4">
|
||||
<div class="d-flex flex-column flex-sm-row justify-content-center pt-3">
|
||||
<p>© {{ date('Y') }} {{ config('app.name') }}. All rights reserved.</p>
|
||||
{{-- <ul class="list-unstyled d-flex">
|
||||
<li class="ms-3"><a class="link-body-emphasis" href="#"><svg class="bi" width="24"
|
||||
|
||||
@@ -1,84 +1,13 @@
|
||||
<div class="container-fluid border-bottom">
|
||||
<header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3">
|
||||
<div class="col-md-3 mb-2 mb-md-0">
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvasNavbar"
|
||||
aria-controls="offcanvasNavbar" aria-label="Toggle navigation">
|
||||
<i class="h4 bi bi-list"></i>
|
||||
</button>
|
||||
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvasNavbar"
|
||||
aria-labelledby="offcanvasNavbarLabel">
|
||||
<div class="offcanvas-header">
|
||||
<h4 class="offcanvas-title fw-bold mb-0" id="offcanvasNavbarLabel">
|
||||
{{ config('app.name') }}
|
||||
{{ str_contains(request()->route()->getName(),'home.country')? get_country_emoji_by_iso($current_country_locale->country_iso): '' }}
|
||||
</h4>
|
||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="offcanvas-body p-0">
|
||||
<header class="d-flex flex-wrap align-items-center justify-content-center py-3">
|
||||
<div class="col-auto">
|
||||
|
||||
@if ($country_locales->count() > 1)
|
||||
<div class="p-3">
|
||||
<div class="dropdown d-grid">
|
||||
<button class="btn btn-outline-primary dropdown-toggle" type="button"
|
||||
id="dropdownMenuSwitch" data-bs-toggle="dropdown" aria-expanded="false">
|
||||
{{ $current_country_locale->name }}
|
||||
</button>
|
||||
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenuSwitch">
|
||||
@foreach ($country_locales as $country_locale)
|
||||
@if ($country_locale->id != $current_country_locale->id)
|
||||
<li><a class="dropdown-item"
|
||||
href="{{ route('home.country', [
|
||||
'country' => $country_locale->slug,
|
||||
]) }}">{{ $country_locale->name }}</a>
|
||||
</li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="border-bottom"></div>
|
||||
@endif
|
||||
|
||||
<div class="p-3">
|
||||
<ul class="navbar-nav justify-content-end flex-grow-1 pe-3">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" aria-current="page"
|
||||
href="{{ route('home.country', ['country' => $current_country_locale->slug]) }}">Home</a>
|
||||
</li>
|
||||
@foreach ($categories as $category)
|
||||
<li class="nav-item">
|
||||
<a class="nav-link active" aria-current="page"
|
||||
href="{{ route('home.country.category', ['country' => $category->country_locale_slug, 'category' => $category->slug]) }}">{{ $category->name }}</a>
|
||||
</li>
|
||||
@endforeach
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a href="/" class="d-inline-flex link-body-emphasis text-decoration-none">
|
||||
<a href="/" class="d-inline-flex link-body-emphasis text-decoration-none text-center">
|
||||
<h1 class="h4 mb-0 fw-bold">
|
||||
{{ config('app.name') }}
|
||||
{{ str_contains(request()->route()->getName(),'home.country')? get_country_emoji_by_iso($current_country_locale->country_iso): '' }}
|
||||
</h1>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<ul class="nav col-12 col-md-auto mb-2 justify-content-center mb-md-0">
|
||||
@foreach ($categories as $category)
|
||||
@if ($category->is_top)
|
||||
<li><a href="{{ route('home.country.category', ['country' => $category->country_locale_slug, 'category' => $category->slug]) }}"
|
||||
class="nav-link px-2 link-secondary">{{ $category->short_name }}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
|
||||
<div class="col-md-3 text-end">
|
||||
|
||||
</div>
|
||||
</header>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user