fix: add home link to logo in header

This commit is contained in:
Fernando 2026-07-13 12:51:15 +02:00
parent 79454a2d38
commit a9057de351

View file

@ -8,13 +8,13 @@ const currentPath = Astro.url.pathname;
--- ---
<header class="flex items-center justify-between px-10 py-5 border-b border-line"> <header class="flex items-center justify-between px-10 py-5 border-b border-line">
<div class="flex items-center gap-3"> <a href="/" class="flex items-center gap-3 no-underline">
<img src="/ornito_logo.png" alt="Ornitonautas" class="w-[42px] h-[42px] object-contain" /> <img src="/ornito_logo.png" alt="Ornitonautas" class="w-[42px] h-[42px] object-contain" />
<div> <div>
<div class="font-heading font-bold text-[19px] tracking-tight">Ornitonautas</div> <div class="font-heading font-bold text-[19px] tracking-tight text-navy">Ornitonautas</div>
<div class="text-[11px] text-text-muted tracking-wide">Aprende. Practica. Despega.</div> <div class="text-[11px] text-text-muted tracking-wide">Aprende. Practica. Despega.</div>
</div> </div>
</div> </a>
<nav class="hidden md:flex items-center gap-8 text-[14.5px] font-semibold"> <nav class="hidden md:flex items-center gap-8 text-[14.5px] font-semibold">
<a href="/campus/" class={`transition-colors hover:text-orange ${currentPath.includes('/campus') ? 'text-orange' : 'text-text'}`}>FP España</a> <a href="/campus/" class={`transition-colors hover:text-orange ${currentPath.includes('/campus') ? 'text-orange' : 'text-text'}`}>FP España</a>