52 lines
3.4 KiB
PHP
52 lines
3.4 KiB
PHP
<nav class="bg-neutral-900/90 backdrop-blur-md border-b border-white/10 w-full z-50 sticky top-0">
|
|
<div class="max-w-7xl flex flex-wrap items-center justify-between mx-auto p-4">
|
|
|
|
<!-- Logo -->
|
|
<a href="{{ url('/') }}" class="flex items-center space-x-3 rtl:space-x-reverse group">
|
|
<div class="h-10 w-10 bg-neutral-800 rounded-full flex items-center justify-center border-2 border-transparent group-hover:border-neon-lime transition-all duration-300">
|
|
<svg class="w-6 h-6 text-white group-hover:text-neon-lime transition-colors" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path></svg>
|
|
</div>
|
|
<span class="self-center text-2xl font-black whitespace-nowrap text-white italic tracking-wide group-hover:text-neon-lime transition-colors duration-300">
|
|
LAUCK<span class="text-neon-lime font-light not-italic">SYS</span>
|
|
</span>
|
|
</a>
|
|
|
|
<!-- Mobile Menu Button -->
|
|
<button data-collapse-toggle="navbar-default" type="button" class="inline-flex items-center p-2 w-10 h-10 justify-center text-gray-400 rounded-lg md:hidden hover:bg-neutral-800 focus:outline-none focus:ring-2 focus:ring-neon-lime" aria-controls="navbar-default" aria-expanded="false">
|
|
<span class="sr-only">Abrir menú</span>
|
|
<svg class="w-5 h-5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 17 14">
|
|
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 1h15M1 7h15M1 13h15"/>
|
|
</svg>
|
|
</button>
|
|
|
|
<!-- Links -->
|
|
<div class="hidden w-full md:block md:w-auto" id="navbar-default">
|
|
<ul class="font-bold flex flex-col p-4 md:p-0 mt-4 border border-neutral-700 rounded-lg bg-neutral-800 md:flex-row md:space-x-8 rtl:space-x-reverse md:mt-0 md:border-0 md:bg-transparent">
|
|
<!-- Link activo dinámico -->
|
|
<li>
|
|
<a href="{{ url('/dashboard') }}"
|
|
class="block py-2 px-3 md:p-0 transition-colors {{ request()->is('dashboard') ? 'text-neon-lime border-b-2 border-neon-lime' : 'text-white hover:text-neon-lime' }}">
|
|
Dashboard
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ url('/productos') }}"
|
|
class="block py-2 px-3 md:p-0 transition-colors {{ request()->is('productos*') ? 'text-neon-lime border-b-2 border-neon-lime' : 'text-white hover:text-neon-lime' }}">
|
|
Stock
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="#"
|
|
class="block py-2 px-3 md:p-0 transition-colors {{ request()->is('mantenimiento*') ? 'text-neon-lime border-b-2 border-neon-lime' : 'text-white hover:text-neon-lime' }}">
|
|
Taller
|
|
</a>
|
|
</li>
|
|
<li>
|
|
<a href="{{ route('sales.create') }}"
|
|
class="block py-2 px-3 md:p-0 transition-colors {{ request()->is('sales*') ? 'text-neon-lime border-b-2 border-neon-lime' : 'text-white hover:text-neon-lime' }}">
|
|
Ventas
|
|
</a>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav> |