Files
Blogv3/layouts/partials/nav.html
T
2026-10-06 13:26:44 -03:00

40 lines
4.0 KiB
HTML

<nav class="fixed inset-x-0 top-0 z-20 border-b-2 border-[#cdd6f4] bg-[#181825]">
<div class="mx-auto flex h-16 max-w-6xl items-center justify-between px-4 sm:px-6">
<a href="/" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 font-mono text-sm font-black tracking-tight text-[#11111b] uppercase shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
~/fedesrv<span class="ml-1 inline-block h-4 w-2 animate-pulse bg-[#11111b] align-middle"></span>
</a>
<!-- Desktop Menu -->
<div class="hidden items-center gap-2 md:flex">
<a href="/git" target="_blank" class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Git</a>
<a href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf" target="_blank" class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">CV</a>
<a href="https://github.com/fedpo2" target="_blank" class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">GitHub</a>
<a href="mailto:federico.nicolas.polidoro@gmail.com" target="_blank" class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">Email</a>
<a href="https://www.linkedin.com/in/federico-polidoro-40137a25b/" target="_blank" class="border-2 border-transparent px-3 py-1 text-sm font-bold text-[#a6adc8] transition hover:border-[#cdd6f4] hover:bg-[#cba6f7] hover:text-[#11111b] hover:shadow-[3px_3px_0_#f5c2e7]">LinkedIn</a>
</div>
<!-- Mobile Menu Button -->
<div class="md:hidden">
<button onclick="toggleOffCanvas()" aria-label="Abrir menú" class="border-2 border-[#cdd6f4] bg-[#cba6f7] px-2 py-1 text-[#11111b] shadow-[3px_3px_0_#f5c2e7] transition hover:translate-x-[1px] hover:translate-y-[1px] hover:shadow-[1px_1px_0_#f5c2e7]">
<svg class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5">
<path stroke-linecap="square" stroke-linejoin="miter" d="M4 6h16M4 12h16M4 18h16" />
</svg>
</button>
</div>
</div>
<!-- Off-canvas Menu -->
<div id="offCanvas" class="fixed top-16 right-0 h-screen w-64 translate-x-full border-l-2 border-[#cdd6f4] bg-[#181825] transition-transform duration-200 ease-in-out">
<div class="flex flex-col gap-2 p-4 font-mono text-sm font-bold">
<a href="/git" target="_blank" class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Git</a>
<a href="https://fedesrv.ddns.net/git/fede/CV/media/branch/master/Federico_Polidoro_CV.pdf" target="_blank" class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">CV</a>
<a href="https://github.com/fedpo2" target="_blank" class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">GitHub</a>
<a href="mailto:federico.nicolas.polidoro@gmail.com" target="_blank" class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">Email</a>
<a href="https://www.linkedin.com/in/federico-polidoro-40137a25b/" target="_blank" class="border-2 border-[#cdd6f4] bg-[#1e1e2e] px-3 py-2 text-[#cdd6f4] shadow-[3px_3px_0_#cba6f7] hover:bg-[#cba6f7] hover:text-[#11111b]">LinkedIn</a>
</div>
</div>
</nav>
<script>
function toggleOffCanvas() {
const offCanvas = document.getElementById("offCanvas");
offCanvas.classList.toggle("translate-x-full");
}
</script>