365 lines
21 KiB
PHP
365 lines
21 KiB
PHP
<div>
|
|
|
|
<div class="offcanvas offcanvas-end pb-sm-2 px-sm-2" id="shoppingCart" tabindex="-1"
|
|
aria-labelledby="shoppingCartLabel" style="width: 500px">
|
|
|
|
<!-- Header -->
|
|
<div class="offcanvas-header flex-column align-items-start py-3 pt-lg-4">
|
|
<div class="d-flex align-items-center justify-content-between w-100 mb-3 mb-lg-4">
|
|
<h4 class="offcanvas-title" id="shoppingCartLabel">Shopping cart</h4>
|
|
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="Close"></button>
|
|
</div>
|
|
<p class="fs-sm">Buy <span class="text-dark-emphasis fw-semibold">$53</span> more to get <span
|
|
class="text-dark-emphasis fw-semibold">Free Shipping</span></p>
|
|
<div class="progress w-100" role="progressbar" aria-label="Free shipping progress" aria-valuenow="78"
|
|
aria-valuemin="0" aria-valuemax="100" style="height: 4px">
|
|
<div class="progress-bar bg-dark rounded-pill d-none-dark" style="width: 78%"></div>
|
|
<div class="progress-bar bg-light rounded-pill d-none d-block-dark" style="width: 78%"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Items -->
|
|
<div class="offcanvas-body d-flex flex-column gap-4 pt-2">
|
|
|
|
<!-- Item -->
|
|
<div class="d-flex align-items-center">
|
|
<a class="flex-shrink-0" href="{{ route('second', ['shop', 'product-fashion']) }}">
|
|
<img src="/img/shop/fashion/thumbs/07.png" class="bg-body-tertiary rounded" width="110"
|
|
alt="Thumbnail">
|
|
</a>
|
|
<div class="w-100 min-w-0 ps-3">
|
|
<h5 class="d-flex animate-underline mb-2">
|
|
<a class="d-block fs-sm fw-medium text-truncate animate-target"
|
|
href="{{ route('second', ['shop', 'product-fashion']) }}">Leather sneakers with golden
|
|
laces</a>
|
|
</h5>
|
|
<div class="h6 pb-1 mb-2">$74.00</div>
|
|
<div class="d-flex align-items-center justify-content-between">
|
|
<div class="count-input rounded-2">
|
|
<button type="button" class="btn btn-icon btn-sm" data-decrement
|
|
aria-label="Decrement quantity">
|
|
<i class="ci-minus"></i>
|
|
</button>
|
|
<input type="number" class="form-control form-control-sm" value="1" readonly>
|
|
<button type="button" class="btn btn-icon btn-sm" data-increment
|
|
aria-label="Increment quantity">
|
|
<i class="ci-plus"></i>
|
|
</button>
|
|
</div>
|
|
<button type="button" class="btn-close fs-sm" data-bs-toggle="tooltip"
|
|
data-bs-custom-class="tooltip-sm" data-bs-title="Remove"
|
|
aria-label="Remove from cart"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Item -->
|
|
<div class="d-flex align-items-center">
|
|
<a class="flex-shrink-0" href="{{ route('second', ['shop', 'product-fashion']) }}">
|
|
<img src="/img/shop/fashion/thumbs/08.png" class="bg-body-tertiary rounded" width="110"
|
|
alt="Thumbnail">
|
|
</a>
|
|
<div class="w-100 min-w-0 ps-3">
|
|
<h5 class="d-flex animate-underline mb-2">
|
|
<a class="d-block fs-sm fw-medium text-truncate animate-target"
|
|
href="{{ route('second', ['shop', 'product-fashion']) }}">Classic cotton men's shirt</a>
|
|
</h5>
|
|
<div class="h6 pb-1 mb-2">$27.00</div>
|
|
<div class="d-flex align-items-center justify-content-between">
|
|
<div class="count-input rounded-2">
|
|
<button type="button" class="btn btn-icon btn-sm" data-decrement
|
|
aria-label="Decrement quantity">
|
|
<i class="ci-minus"></i>
|
|
</button>
|
|
<input type="number" class="form-control form-control-sm" value="1" readonly>
|
|
<button type="button" class="btn btn-icon btn-sm" data-increment
|
|
aria-label="Increment quantity">
|
|
<i class="ci-plus"></i>
|
|
</button>
|
|
</div>
|
|
<button type="button" class="btn-close fs-sm" data-bs-toggle="tooltip"
|
|
data-bs-custom-class="tooltip-sm" data-bs-title="Remove"
|
|
aria-label="Remove from cart"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Item -->
|
|
<div class="d-flex align-items-center">
|
|
<a class="flex-shrink-0" href="{{ route('second', ['shop', 'product-fashion']) }}">
|
|
<img src="/img/shop/fashion/thumbs/09.png" class="bg-body-tertiary rounded" width="110"
|
|
alt="Thumbnail">
|
|
</a>
|
|
<div class="w-100 min-w-0 ps-3">
|
|
<h5 class="d-flex animate-underline mb-2">
|
|
<a class="d-block fs-sm fw-medium text-truncate animate-target"
|
|
href="{{ route('second', ['shop', 'product-fashion']) }}">Polarized sunglasses for men</a>
|
|
</h5>
|
|
<div class="h6 pb-1 mb-2">$96.00 <del class="text-body-tertiary fs-xs fw-normal">112.00</del>
|
|
</div>
|
|
<div class="d-flex align-items-center justify-content-between">
|
|
<div class="count-input rounded-2">
|
|
<button type="button" class="btn btn-icon btn-sm" data-decrement
|
|
aria-label="Decrement quantity">
|
|
<i class="ci-minus"></i>
|
|
</button>
|
|
<input type="number" class="form-control form-control-sm" value="1" readonly>
|
|
<button type="button" class="btn btn-icon btn-sm" data-increment
|
|
aria-label="Increment quantity">
|
|
<i class="ci-plus"></i>
|
|
</button>
|
|
</div>
|
|
<button type="button" class="btn-close fs-sm" data-bs-toggle="tooltip"
|
|
data-bs-custom-class="tooltip-sm" data-bs-title="Remove"
|
|
aria-label="Remove from cart"></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Footer -->
|
|
<div class="offcanvas-header flex-column align-items-start">
|
|
<div class="d-flex align-items-center justify-content-between w-100 mb-3 mb-md-4">
|
|
<span class="text-light-emphasis">Subtotal:</span>
|
|
<span class="h6 mb-0">$197.00</span>
|
|
</div>
|
|
<div class="d-flex w-100 gap-3">
|
|
<a class="btn btn-lg btn-secondary w-100" href="#!">View cart</a>
|
|
<a class="btn btn-lg btn-dark w-100" href="#!">Checkout</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="offcanvas offcanvas-top" id="searchBox" data-bs-backdrop="static" tabindex="-1">
|
|
<div class="offcanvas-header border-bottom p-0 py-lg-1">
|
|
<form class="container d-flex align-items-center">
|
|
<input type="search" class="form-control form-control-lg fs-lg border-0 rounded-0 py-3 ps-0"
|
|
placeholder="Search the products" data-autofocus="offcanvas">
|
|
<button type="reset" class="btn-close fs-lg" data-bs-dismiss="offcanvas"
|
|
aria-label="Close"></button>
|
|
</form>
|
|
</div>
|
|
<div class="offcanvas-body px-0">
|
|
<div class="container text-center">
|
|
<svg class="text-body-tertiary opacity-60 mb-4" xmlns="http://www.w3.org/2000/svg" width="60"
|
|
viewBox="0 0 512 512" fill="currentColor">
|
|
<path
|
|
d="M340.115,361.412l-16.98-16.98c-34.237,29.36-78.733,47.098-127.371,47.098C87.647,391.529,0,303.883,0,195.765S87.647,0,195.765,0s195.765,87.647,195.765,195.765c0,48.638-17.738,93.134-47.097,127.371l16.98,16.98l11.94-11.94c5.881-5.881,15.415-5.881,21.296,0l112.941,112.941c5.881,5.881,5.881,15.416,0,21.296l-45.176,45.176c-5.881,5.881-15.415,5.881-21.296,0L328.176,394.648c-5.881-5.881-5.881-15.416,0-21.296L340.115,361.412z M195.765,361.412c91.484,0,165.647-74.163,165.647-165.647S287.249,30.118,195.765,30.118S30.118,104.28,30.118,195.765S104.28,361.412,195.765,361.412z M360.12,384l91.645,91.645l23.88-23.88L384,360.12L360.12,384z M233.034,233.033c5.881-5.881,15.415-5.881,21.296,0c5.881,5.881,5.881,15.416,0,21.296c-32.345,32.345-84.786,32.345-117.131,0c-5.881-5.881-5.881-15.415,0-21.296c5.881-5.881,15.416-5.881,21.296,0C179.079,253.616,212.45,253.616,233.034,233.033zM135.529,180.706c-12.475,0-22.588-10.113-22.588-22.588c0-12.475,10.113-22.588,22.588-22.588c12.475,0,22.588,10.113,22.588,22.588C158.118,170.593,148.005,180.706,135.529,180.706z M256,180.706c-12.475,0-22.588-10.113-22.588-22.588c0-12.475,10.113-22.588,22.588-22.588s22.588,10.113,22.588,22.588C278.588,170.593,268.475,180.706,256,180.706z" />
|
|
</svg>
|
|
<h6 class="mb-2">Your search results will appear here</h6>
|
|
<p class="fs-sm mb-0">Start typing in the search field above to see instant search results.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="alert alert-dismissible bg-dark text-white rounded-0 py-2 px-0 m-0 fade show" data-bs-theme="dark">
|
|
<div class="container position-relative d-flex min-w-0">
|
|
<div class="d-flex flex-nowrap align-items-center g-2 w-100 min-w-0 mx-auto mt-n1"
|
|
style="max-width: 458px">
|
|
<div class="nav me-2">
|
|
<button type="button" class="nav-link fs-lg p-0" id="topbarPrev" aria-label="Prev">
|
|
<i class="ci-chevron-left"></i>
|
|
</button>
|
|
</div>
|
|
<div class="swiper fs-sm text-white"
|
|
data-swiper='{
|
|
"spaceBetween": 24,
|
|
"loop": true,
|
|
"autoplay": {
|
|
"delay": 5000,
|
|
"disableOnInteraction": false
|
|
},
|
|
"navigation": {
|
|
"prevEl": "#topbarPrev",
|
|
"nextEl": "#topbarNext"
|
|
}
|
|
}'>
|
|
<div class="swiper-wrapper min-w-0">
|
|
<div class="swiper-slide text-truncate text-center">🎉 Free Shipping on orders over $250. <span
|
|
class="d-none d-sm-inline">Don't miss a discount!</span></div>
|
|
<div class="swiper-slide text-truncate text-center">💰 Money back guarantee. <span
|
|
class="d-none d-sm-inline">We return money within 30 days.</span></div>
|
|
<div class="swiper-slide text-truncate text-center">💪 Friendly 24/7 customer support. <span
|
|
class="d-none d-sm-inline">We've got you covered!</span></div>
|
|
</div>
|
|
</div>
|
|
<div class="nav ms-2">
|
|
<button type="button" class="nav-link fs-lg p-0" id="topbarNext" aria-label="Next">
|
|
<i class="ci-chevron-right"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<button type="button" class="btn-close position-static flex-shrink-0 p-1 ms-3 ms-md-n4"
|
|
data-bs-dismiss="alert" aria-label="Close"></button>
|
|
</div>
|
|
</div>
|
|
<header class="navbar navbar-expand-lg navbar-sticky bg-body d-block z-fixed p-0"
|
|
data-sticky-navbar='{"offset": 500}'>
|
|
<div class="container py-2 py-lg-3">
|
|
<div class="d-flex align-items-center gap-3">
|
|
|
|
<!-- Mobile offcanvas menu toggler (Hamburger) -->
|
|
<button type="button" class="navbar-toggler me-4 me-md-2" data-bs-toggle="offcanvas"
|
|
data-bs-target="#navbarNav" aria-controls="navbarNav" aria-label="Toggle navigation">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
|
|
<!-- Country selector visible on screens > 768px wide (md breakpoint) -->
|
|
<x-language-selector />
|
|
|
|
<!-- LOcation selector visible on screens > 768px wide (md breakpoint) -->
|
|
<x-location-selector />
|
|
|
|
</div>
|
|
|
|
<!-- Navbar brand (Logo) -->
|
|
<a class="navbar-brand fs-2 py-0 m-0 me-auto me-sm-n5" href="/">
|
|
|
|
<img src="{{ asset('logo/logo-colored.png') }}" class="d-none d-lg-block" style="height:32px;" />
|
|
<img src="{{ asset('logo/logo-app.png') }}" class="d-lg-none" style="height:42px;" />
|
|
</a>
|
|
|
|
<!-- Button group -->
|
|
<div class="d-flex align-items-center">
|
|
|
|
<!-- Navbar stuck nav toggler -->
|
|
<button type="button" class="navbar-toggler d-none navbar-stuck-show me-3" data-bs-toggle="collapse"
|
|
data-bs-target="#stuckNav" aria-controls="stuckNav" aria-expanded="false"
|
|
aria-label="Toggle navigation in navbar stuck state">
|
|
<span class="navbar-toggler-icon"></span>
|
|
</button>
|
|
|
|
<!-- Theme switcher (light/dark/auto) -->
|
|
<div class="dropdown">
|
|
<button type="button"
|
|
class="theme-switcher btn btn-icon btn-lg btn-outline-secondary fs-lg border-0 rounded-circle animate-scale"
|
|
data-bs-toggle="dropdown" aria-expanded="false" aria-label="Toggle theme (light)">
|
|
<span class="theme-icon-active d-flex animate-target">
|
|
<i class="ci-sun"></i>
|
|
</span>
|
|
</button>
|
|
<ul class="dropdown-menu" style="--cz-dropdown-min-width: 9rem">
|
|
<li>
|
|
<button type="button" class="dropdown-item active" data-bs-theme-value="light"
|
|
aria-pressed="true">
|
|
<span class="theme-icon d-flex fs-base me-2">
|
|
<i class="ci-sun"></i>
|
|
</span>
|
|
<span class="theme-label">Light</span>
|
|
<i class="item-active-indicator ci-check ms-auto"></i>
|
|
</button>
|
|
</li>
|
|
<li>
|
|
<button type="button" class="dropdown-item" data-bs-theme-value="dark"
|
|
aria-pressed="false">
|
|
<span class="theme-icon d-flex fs-base me-2">
|
|
<i class="ci-moon"></i>
|
|
</span>
|
|
<span class="theme-label">Dark</span>
|
|
<i class="item-active-indicator ci-check ms-auto"></i>
|
|
</button>
|
|
</li>
|
|
<li>
|
|
<button type="button" class="dropdown-item" data-bs-theme-value="auto"
|
|
aria-pressed="false">
|
|
<span class="theme-icon d-flex fs-base me-2">
|
|
<i class="ci-auto"></i>
|
|
</span>
|
|
<span class="theme-label">Auto</span>
|
|
<i class="item-active-indicator ci-check ms-auto"></i>
|
|
</button>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<!-- Search toggle button visible on screens < 992px wide (lg breakpoint) -->
|
|
<button type="button"
|
|
class="btn btn-icon btn-lg fs-xl btn-outline-secondary border-0 rounded-circle animate-shake d-lg-none"
|
|
data-bs-toggle="offcanvas" data-bs-target="#searchBox" aria-controls="searchBox"
|
|
aria-label="Toggle search bar">
|
|
<i class="ci-search animate-target"></i>
|
|
</button>
|
|
|
|
<!-- Account button visible on screens > 768px wide (md breakpoint) -->
|
|
<a class="btn btn-icon btn-lg fs-lg btn-outline-secondary border-0 rounded-circle animate-shake d-none d-md-inline-flex"
|
|
href="{{ route('second', ['account', 'signin']) }}">
|
|
<i class="ci-user animate-target"></i>
|
|
<span class="visually-hidden">Account</span>
|
|
</a>
|
|
|
|
<!-- Wishlist button visible on screens > 768px wide (md breakpoint) -->
|
|
<a class="btn btn-icon btn-lg fs-lg btn-outline-secondary border-0 rounded-circle animate-pulse d-none d-md-inline-flex"
|
|
href="#!">
|
|
<i class="ci-heart animate-target"></i>
|
|
<span class="visually-hidden">Wishlist</span>
|
|
</a>
|
|
|
|
<!-- Cart button -->
|
|
<button type="button"
|
|
class="btn btn-icon btn-lg fs-xl btn-outline-secondary position-relative border-0 rounded-circle animate-scale"
|
|
data-bs-toggle="offcanvas" data-bs-target="#shoppingCart" aria-controls="shoppingCart"
|
|
aria-label="Shopping cart">
|
|
<span
|
|
class="position-absolute top-0 start-100 badge fs-xs text-bg-primary rounded-pill mt-1 ms-n4 z-2"
|
|
style="--cz-badge-padding-y: .25em; --cz-badge-padding-x: .42em">3</span>
|
|
<i class="ci-shopping-bag animate-target me-1"></i>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Main navigation that turns into offcanvas on screens < 992px wide (lg breakpoint) -->
|
|
<div class="collapse navbar-stuck-hide" id="stuckNav">
|
|
<nav class="offcanvas offcanvas-start" id="navbarNav" tabindex="-1" aria-labelledby="navbarNavLabel">
|
|
<div class="offcanvas-header py-3">
|
|
<h5 class="offcanvas-title" id="navbarNavLabel">Browse Cartzilla</h5>
|
|
<button type="button" class="btn-close" data-bs-dismiss="offcanvas"
|
|
aria-label="Close"></button>
|
|
</div>
|
|
|
|
<!-- Country and City selects visible on screens < 768px wide (md breakpoint) -->
|
|
<div class="offcanvas-header gap-3 d-md-none pt-0 pb-3">
|
|
<x-language-selector-sidebar />
|
|
<x-location-selector-sidebar />
|
|
</div>
|
|
<div class="offcanvas-body pt-1 pb-3 py-lg-0">
|
|
<div class="container pb-lg-2 px-0 px-lg-3">
|
|
|
|
<div class="position-relative d-lg-flex align-items-center justify-content-between">
|
|
|
|
<!-- Categories mega menu -->
|
|
<x-layout.navbar-category />
|
|
|
|
|
|
<!-- Navbar nav -->
|
|
<x-layout.navbar-menu />
|
|
|
|
<!-- Search toggle visible on screens > 991px wide (lg breakpoint) -->
|
|
<button type="button"
|
|
class="btn btn-outline-secondary justify-content-start w-100 px-3 mb-lg-2 ms-3 d-none d-lg-inline-flex"
|
|
style="max-width: 240px" data-bs-toggle="offcanvas" data-bs-target="#searchBox"
|
|
aria-controls="searchBox">
|
|
<i class="ci-search fs-base ms-n1 me-2"></i>
|
|
<span class="text-body-tertiary fw-normal">Search</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Account and Wishlist buttons visible on screens < 768px wide (md breakpoint) -->
|
|
<div class="offcanvas-header border-top px-0 py-3 mt-3 d-md-none">
|
|
<div class="nav nav-justified w-100">
|
|
<a class="nav-link border-end" href="{{ route('second', ['account', 'signin']) }}">
|
|
<i class="ci-user fs-lg opacity-60 me-2"></i>
|
|
Account
|
|
</a>
|
|
<a class="nav-link" href="#!">
|
|
<i class="ci-heart fs-lg opacity-60 me-2"></i>
|
|
Wishlist
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
</div>
|