Elo calculator

This commit is contained in:
Timothy Armes
2023-09-14 14:46:13 +02:00
parent ac467d7c38
commit 2d0c006446
9 changed files with 277 additions and 18 deletions
+8 -1
View File
@@ -1,6 +1,6 @@
import { useTranslations } from "next-intl";
import Link from "next-intl/link";
import { FaGithub, FaRegEnvelope } from "react-icons/fa";
import { FaGithub, FaInfoCircle, FaRegEnvelope } from "react-icons/fa";
import ThemeSwitcher from "./ThemeSwitcher";
@@ -25,6 +25,13 @@ export default function Footer() {
>
<FaGithub />
</Link>
<Link
href="/qui-sommes-nous"
aria-label={t("contactAria")}
className="mr-4"
>
<FaInfoCircle />
</Link>
<Link
href="/contactez-nous"
aria-label={t("contactAria")}
+2 -10
View File
@@ -72,18 +72,10 @@ const HamburgerMenu = ({
</li>
<li className="py-5 text-center text-xl">
<Link
href="/qui-sommes-nous"
href="/elo"
className="border-b-2 border-transparent transition-all duration-300 ease-in-out hover:border-white"
>
{t("about")}
</Link>
</li>
<li className="py-5 text-center text-xl">
<Link
href="/contactez-nous"
className="border-b-2 border-transparent transition-all duration-300 ease-in-out hover:border-white"
>
{t("contact")}
{t("elo")}
</Link>
</li>
</ul>
+1 -2
View File
@@ -8,8 +8,7 @@ export default function Navbar() {
const links = [
{ title: t("tournaments"), route: "/tournois" },
{ title: t("about"), route: "/qui-sommes-nous" },
{ title: t("contact"), route: "/contactez-nous" },
{ title: t("elo"), route: "/elo" },
];
return (
+1 -1
View File
@@ -23,7 +23,7 @@ const ThemeSwitcher = () => {
className="inline-block h-4 w-4"
>
<path
fill-rule="evenodd"
fillRule="evenodd"
d="M9.528 1.718a.75.75 0 01.162.819A8.97 8.97 0 009 6a9 9 0 009 9 8.97 8.97 0 003.463-.69.75.75 0 01.981.98 10.503 10.503 0 01-9.694 6.46c-5.799 0-10.5-4.701-10.5-10.5 0-4.368 2.667-8.112 6.46-9.694a.75.75 0 01.818.162z"
clipRule="evenodd"
/>