Initial commit

This commit is contained in:
DavidOnTop 2024-03-16 18:58:25 +01:00
commit b5a0686832
No known key found for this signature in database
GPG key ID: 5D05538A45D5149F
27 changed files with 4560 additions and 0 deletions

21
src/components/Nav.astro Normal file
View file

@ -0,0 +1,21 @@
---
---
<div class="z-[5] flex justify-around items-center bg-bckgl fixed top-0 h-12 w-full">
<div>
<img src="/img/logo-transparent.png" alt="DavidOnTop" class="max-h-10">
</div>
<div>
<a href="/" class="hover:text-accent btn btn-ghost !min-h-8 h-1 px-3">Home</a>
<a href="/about" class="hover:text-accent btn btn-ghost !min-h-8 h-1 px-3">About</a>
<a href="/projects" class="hover:text-accent btn btn-ghost !min-h-8 h-1 px-3">Projects</a>
</div>
<div class="dropdown dropdown-hover dropdown-end">
<div role="button" tabindex="-1" class="text-white btn btn-ghost !min-h-8 h-1 px-3">Contact Me</div>
<div tabindex="-1" class="menu dropdown-content z-10 pl-10 pb-7">
<ul tabindex="-1" class="shadow rounded-box bg-bckgl mt-1 p-1">
<li><a href="mailto:me@davidon.top">Mail</a></li>
</ul>
</div>
</div>
</div>