Files
Additional/resources/views/components/header.blade.php
T
twotalesanimation 6de01c13c5 New Initial Commit
2025-12-09 12:04:54 +02:00

33 lines
1.7 KiB
PHP

<header>
<div class="container">
<div class="header-content">
<div class="logo"><a href="/" style="text-decoration: none; color: inherit;">Additional Design</a></div>
<nav>
<!-- <a href="/">Home</a> -->
<a href="/wallpapers">Wallpaper</a>
<a href="/murals">Murals</a>
<a href="/fabrics">Fabrics</a>
<a href="/#portfolio">Portfolio</a>
<a href="/#projects">Projects</a>
<!-- <a href="/#shop">Decor Shop</a> -->
<a href="/#contact">Contact</a>
</nav>
<a href="{{ route('cart') }}" style="display: flex; align-items: center; gap: 0.5rem; text-decoration: none; color: inherit; font-weight: 500; position: relative;">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<circle cx="9" cy="21" r="1"></circle>
<circle cx="20" cy="21" r="1"></circle>
<path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path>
</svg>
<span>Cart</span>
@if($cartCount > 0)
<span style="background: var(--accent-dark); color: white; border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: bold; position: absolute; top: -8px; right: -8px;">{{ $cartCount }}</span>
@endif
</a>
<span></span>
<span></span>
<span></span>
</button>
</div>
</div>
</header>