Files
absdev_site/resources/views/partials/navigation.blade.php
T

25 lines
2.0 KiB
PHP

<header class="site-header sticky top-0 z-50 border-b border-white/10 bg-[#07131f]/95 backdrop-blur-xl">
<div class="container-wide flex min-h-[80px] items-center justify-between gap-6">
<a href="{{ route('home') }}" class="flex shrink-0 items-center gap-3" aria-label="ABSDEV homepage">
<span class="brand-emblem" aria-hidden="true"><span>A</span><span class="text-acid">.</span></span>
<span class="text-[17px] font-bold tracking-[.23em] text-white">{{ $settings['site_name'] ?? 'ABSDEV' }}</span>
</a>
<nav class="hidden items-center gap-8 lg:flex" aria-label="Main navigation">
<a class="site-nav-link" href="{{ route('home') }}">Home</a>
<a class="site-nav-link" href="{{ route('services') }}">Services</a>
<a class="site-nav-link" href="{{ route('expertise') }}">Expertise</a>
<a class="site-nav-link" href="{{ route('approach') }}">Approach</a>
<a class="site-nav-link" href="{{ route('home') }}#about">About</a>
</nav>
<div class="flex shrink-0 items-center gap-3">
<a href="{{ route('home') }}#contact" class="site-header-cta hidden sm:inline-flex">Let's talk <span aria-hidden="true">↗</span></a>
<button type="button" class="site-menu-button lg:hidden" aria-label="Toggle navigation" aria-controls="mobile-nav" aria-expanded="false" onclick="const n=document.getElementById('mobile-nav'); const opened=n.classList.toggle('hidden')===false; this.setAttribute('aria-expanded',String(opened));">☰</button>
</div>
</div>
<nav id="mobile-nav" class="hidden border-t border-white/10 bg-[#0b202d] px-6 py-6 lg:hidden" aria-label="Mobile navigation">
<div class="mx-auto flex max-w-[1320px] flex-col gap-5 text-sm font-semibold text-slate-200">
<a href="{{ route('home') }}">Home</a><a href="{{ route('services') }}">Services</a><a href="{{ route('expertise') }}">Expertise</a><a href="{{ route('approach') }}">Approach</a><a href="{{ route('home') }}#about">About</a><a href="{{ route('home') }}#contact">Contact</a>
</div>
</nav>
</header>