footer items (#57)

This commit is contained in:
Owen Rees
2023-07-05 14:36:35 +02:00
committed by GitHub
parent 43b3eadcad
commit 76d486b157
2 changed files with 10 additions and 5 deletions
+8 -3
View File
@@ -15,18 +15,23 @@ export default function Footer() {
<p>&copy; {new Date().getFullYear()} - Owen Rees</p> <p>&copy; {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>
+2 -2
View File
@@ -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>
); );
}; };