Retirer le lien Accueil de la navbar, redondant avec le logo

This commit is contained in:
Jalil Arfaoui 2026-03-05 22:30:19 +01:00
parent 3416a6d492
commit beaae549f3

View file

@ -1,12 +1,10 @@
---
import { Icon } from 'astro-icon/components';
import StarFilled from './icons/StarFilled.astro';
import { companyInfo } from '../data';
const currentPath = Astro.url.pathname;
const navLinks = [
{ href: '/', label: 'Accueil' },
{ href: '/cest-qui/', label: "C'est qui ?" },
{ href: '/spectacles/', label: 'Spectacles' },
{ href: '/agenda/', label: 'Agenda' },
@ -28,13 +26,8 @@ function isActive(href: string): boolean {
<div class="flex justify-between items-center">
<!-- Logo -->
<a href="/" class="flex items-center gap-4 group">
<div class="relative">
<div class="w-12 h-12 rounded-2xl overflow-hidden transition-all group-hover:rotate-12 group-hover:scale-110 shadow-lg">
<img src="/images/logo-lune.png" alt="AspiRêves" class="w-full h-full object-cover" />
</div>
<div class="absolute -top-2 -right-2 text-star animate-pulse">
<StarFilled size={16} />
</div>
<div class="w-12 h-12 rounded-2xl overflow-hidden transition-all group-hover:rotate-12 group-hover:scale-110 shadow-lg">
<img src="/images/logo-lune.png" alt="AspiRêves" class="w-full h-full object-cover" />
</div>
<span class="font-display text-2xl font-bold tracking-tight text-night group-hover:text-dream-coral transition-colors">
Compagnie AspiRêves