mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
footer items (#57)
This commit is contained in:
@@ -15,18 +15,23 @@ export default function Footer() {
|
|||||||
<p>© {new Date().getFullYear()} - Owen Rees</p>
|
<p>© {new Date().getFullYear()} - Owen Rees</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex space-x-4 p-2">
|
<div className="flex items-center py-2">
|
||||||
<Link
|
<Link
|
||||||
href="https://github.com/TheRealOwenRees/echecsfrance"
|
href="https://github.com/TheRealOwenRees/echecsfrance"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
aria-label={t("githubAria")}
|
aria-label={t("githubAria")}
|
||||||
|
className="mr-4"
|
||||||
>
|
>
|
||||||
<FaGithub />
|
<FaGithub />
|
||||||
</Link>
|
</Link>
|
||||||
<Link href="/contactez-nous" aria-label={t("contactAria")}>
|
<Link
|
||||||
|
href="/contactez-nous"
|
||||||
|
aria-label={t("contactAria")}
|
||||||
|
className="mr-4"
|
||||||
|
>
|
||||||
<FaRegEnvelope />
|
<FaRegEnvelope />
|
||||||
</Link>
|
</Link>
|
||||||
<div className="space-x-2 text-xs">
|
<div className="space-x-2 mr-4 text-xs">
|
||||||
<Link href="/" locale="fr">
|
<Link href="/" locale="fr">
|
||||||
FR
|
FR
|
||||||
</Link>
|
</Link>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ const ThemeSwitcher = () => {
|
|||||||
if (!mounted) return null;
|
if (!mounted) return null;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<div className="cursor-pointer">
|
||||||
{colorTheme === "light" ? (
|
{colorTheme === "light" ? (
|
||||||
<div data-test="toggle-dark" onClick={() => setTheme("light")}>
|
<div data-test="toggle-dark" onClick={() => setTheme("light")}>
|
||||||
<svg
|
<svg
|
||||||
@@ -40,7 +40,7 @@ const ThemeSwitcher = () => {
|
|||||||
</svg>
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user