new design with nice layout
This commit is contained in:
@@ -1,9 +1,24 @@
|
||||
<header class="absolute z-30 left-0 right-0 top-0">
|
||||
<div class="container-wide flex h-24 items-center justify-between">
|
||||
<a href="/" class="inline-flex items-center gap-3" aria-label="ABSDEV homepage"><span class="brand-mark">A<span class="text-acid">.</span></span><span class="font-bold tracking-[.2em] text-lg">{{ $settings['site_name'] ?? 'ABSDEV' }}</span></a>
|
||||
<nav class="hidden md:flex items-center gap-9 text-[13px] font-semibold text-slate-300" aria-label="Main navigation"><a class="nav-link" href="{{ route('services') }}">Services</a><a class="nav-link" href="{{ route('expertise') }}">Expertise</a><a class="nav-link" href="{{ route('approach') }}">Approach</a><a class="nav-link" href="{{ route('home') }}#about">About</a></nav>
|
||||
<a href="{{ route('home') }}#contact" class="button-outline hidden sm:inline-flex">Let's talk <span aria-hidden="true">↗</span></a>
|
||||
<button type="button" class="md:hidden px-2 py-2 text-white" aria-label="Open menu" onclick="document.getElementById('mobile-nav').classList.toggle('hidden')">☰</button>
|
||||
<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>
|
||||
<nav id="mobile-nav" class="hidden bg-ink/95 px-8 pb-7 md:hidden" aria-label="Mobile navigation"><div class="flex flex-col gap-5 text-sm"><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>
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user