my-website/resources/views/partials/navbar.blade.php

70 lines
2.3 KiB
PHP
Raw Permalink Normal View History

2024-02-21 00:03:14 +02:00
<header class="bg-grey-900">
2024-02-18 15:16:41 +02:00
<div class="mx-auto flex h-16 max-w-screen-xl items-center gap-8 px-4 sm:px-6 lg:px-8">
<a class="block text-teal-600" href="/">
<span class="sr-only">Home</span>
2024-02-19 14:45:41 +02:00
2024-02-18 15:16:41 +02:00
<img class="h-8 rounded-full" src="/logo.jpg" alt="logo">
</a>
<div class="flex flex-1 items-center justify-end md:justify-between">
<nav aria-label="Global" class="hidden md:block">
<ul class="flex items-center gap-6 text-sm">
<li>
2024-02-21 00:03:14 +02:00
<a class="text-gray-100 transition hover:text-gray-900/75" href="/about"> About </a>
2024-02-18 15:16:41 +02:00
</li>
<li>
2024-02-21 00:03:14 +02:00
<a class="text-gray-100 transition hover:text-gray-500/75" href="#"> Resume </a>
2024-02-18 15:16:41 +02:00
</li>
<li>
2024-02-21 00:03:14 +02:00
<a class="text-gray-100 transition hover:text-gray-500/75" href="#"> Music </a>
2024-02-18 15:16:41 +02:00
</li>
<li>
2024-02-21 00:03:14 +02:00
<a class="text-gray-100 transition hover:text-gray-500/75" href="#"> Projects </a>
2024-02-18 15:16:41 +02:00
</li>
<li>
2024-02-21 00:03:14 +02:00
<a class="text-gray-100 transition hover:text-gray-500/75" href="#"> Contact </a>
2024-02-18 15:16:41 +02:00
</li>
</ul>
</nav>
<div class="flex items-center gap-4">
<div class="sm:flex sm:gap-4">
<a
2024-02-21 00:03:14 +02:00
class="block rounded-md bg-gray-900 px-5 py-2.5 text-sm font-medium text-teal-600 transition hover:bg-gray-900"
href="/login"
2024-02-18 15:16:41 +02:00
>
Login
</a>
<a
2024-02-21 00:03:14 +02:00
class="hidden rounded-md bg-gray-900 px-5 py-2.5 text-sm font-medium text-teal-600 transition hover:text-teal-600/75 sm:block"
href="/register"
2024-02-18 15:16:41 +02:00
>
Register
</a>
</div>
<button
class="block rounded bg-gray-100 p-2.5 text-gray-600 transition hover:text-gray-600/75 md:hidden"
>
<span class="sr-only">Toggle menu</span>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-5 w-5"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
stroke-width="2"
>
<path stroke-linecap="round" stroke-linejoin="round" d="M4 6h16M4 12h16M4 18h16" />
</svg>
</button>
</div>
</div>
</div>
</header>