Retirer le lien Accueil de la navbar, redondant avec le logo
This commit is contained in:
parent
3416a6d492
commit
beaae549f3
1 changed files with 2 additions and 9 deletions
|
|
@ -1,12 +1,10 @@
|
||||||
---
|
---
|
||||||
import { Icon } from 'astro-icon/components';
|
import { Icon } from 'astro-icon/components';
|
||||||
import StarFilled from './icons/StarFilled.astro';
|
|
||||||
import { companyInfo } from '../data';
|
import { companyInfo } from '../data';
|
||||||
|
|
||||||
const currentPath = Astro.url.pathname;
|
const currentPath = Astro.url.pathname;
|
||||||
|
|
||||||
const navLinks = [
|
const navLinks = [
|
||||||
{ href: '/', label: 'Accueil' },
|
|
||||||
{ href: '/cest-qui/', label: "C'est qui ?" },
|
{ href: '/cest-qui/', label: "C'est qui ?" },
|
||||||
{ href: '/spectacles/', label: 'Spectacles' },
|
{ href: '/spectacles/', label: 'Spectacles' },
|
||||||
{ href: '/agenda/', label: 'Agenda' },
|
{ href: '/agenda/', label: 'Agenda' },
|
||||||
|
|
@ -28,14 +26,9 @@ function isActive(href: string): boolean {
|
||||||
<div class="flex justify-between items-center">
|
<div class="flex justify-between items-center">
|
||||||
<!-- Logo -->
|
<!-- Logo -->
|
||||||
<a href="/" class="flex items-center gap-4 group">
|
<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">
|
<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" />
|
<img src="/images/logo-lune.png" alt="AspiRêves" class="w-full h-full object-cover" />
|
||||||
</div>
|
</div>
|
||||||
<div class="absolute -top-2 -right-2 text-star animate-pulse">
|
|
||||||
<StarFilled size={16} />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<span class="font-display text-2xl font-bold tracking-tight text-night group-hover:text-dream-coral transition-colors">
|
<span class="font-display text-2xl font-bold tracking-tight text-night group-hover:text-dream-coral transition-colors">
|
||||||
Compagnie AspiRêves
|
Compagnie AspiRêves
|
||||||
</span>
|
</span>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue