Ajout du nom "Jalil Arfaoui" dans le header et retrait du logo du footer
Le header des pages internes n'affichait qu'une icône maison, sans identifier le site. Le nom est maintenant visible à côté de l'icône. Le footer n'a plus besoin du composant Logo puisque le copyright contient déjà le nom.
This commit is contained in:
parent
37362efdda
commit
7cb920f773
2 changed files with 3 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
import Logo from "../components/logo.astro";
|
||||
import LanguageSwitcher from "../components/LanguageSwitcher.astro";
|
||||
import DarkModeToggle from "../components/DarkModeToggle.astro";
|
||||
---
|
||||
|
|
@ -10,9 +9,8 @@ import DarkModeToggle from "../components/DarkModeToggle.astro";
|
|||
<div
|
||||
class="container flex flex-col items-center py-8 mx-auto px-7 max-w-7xl sm:flex-row"
|
||||
>
|
||||
<Logo />
|
||||
<p
|
||||
class="mt-4 text-sm text-neutral-700 dark:text-neutral-100 sm:ml-4 sm:pl-4 sm:border-l sm:border-neutral-300 dark:sm:border-neutral-700 sm:mt-0"
|
||||
class="text-sm text-neutral-700 dark:text-neutral-100"
|
||||
>
|
||||
© {new Date().getFullYear()} Jalil Arfaoui
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -10,9 +10,10 @@ const homeUrl = currentLang === 'en' ? '/en' : currentLang === 'ar' ? '/ar' : '/
|
|||
{!isHome && (
|
||||
<a
|
||||
href={homeUrl}
|
||||
class="group relative z-30 flex items-center text-neutral-600 dark:text-neutral-300 hover:text-black dark:hover:text-white transition-colors"
|
||||
class="group relative z-30 flex items-center gap-3 text-neutral-600 dark:text-neutral-300 hover:text-black dark:hover:text-white transition-colors"
|
||||
title="Accueil"
|
||||
>
|
||||
<HomeIcon size={20} class="group-hover:scale-110 transition-transform duration-200" />
|
||||
<span class="font-medium text-lg tracking-wide whitespace-nowrap">Jalil Arfaoui</span>
|
||||
</a>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue