mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 12:36:57 +00:00
123 lines
3.8 KiB
TypeScript
123 lines
3.8 KiB
TypeScript
import Link from "next-intl/link";
|
|
import { useTranslations } from "next-intl";
|
|
|
|
export default function About() {
|
|
const t = useTranslations("About");
|
|
|
|
return (
|
|
<section className="grid place-items-center bg-white pb-20 dark:bg-gray-800">
|
|
<div className="max-w-5xl px-4 py-8 lg:py-16">
|
|
<h2
|
|
className="mb-8 text-center text-4xl font-extrabold tracking-tight text-gray-900 dark:text-white"
|
|
data-test="header2"
|
|
>
|
|
{t("title")}
|
|
</h2>
|
|
<p className="mb-4 text-center font-light text-gray-500 dark:text-gray-400 md:text-xl">
|
|
{t("p1")}
|
|
</p>
|
|
<p className="mb-4 text-center font-light text-gray-500 dark:text-gray-400 md:text-xl">
|
|
{t.rich("p2", {
|
|
homeLink: (chunks) => (
|
|
<Link href="/" className="text-primary-600">
|
|
{chunks}
|
|
</Link>
|
|
),
|
|
})}
|
|
</p>
|
|
<p className="mb-4 text-center font-light text-gray-500 dark:text-gray-400 md:text-xl">
|
|
{t("p3")}
|
|
</p>
|
|
<h3
|
|
className="mb-4 mt-8 text-center text-2xl font-extrabold tracking-tight text-gray-900 dark:text-white"
|
|
data-test="header2"
|
|
>
|
|
{t("thanksTitle")}
|
|
</h3>
|
|
<ul className="mb-4 text-center text-primary-600">
|
|
<li>
|
|
<Link href="https://github.com/timothyarmes" target="_blank">
|
|
timothyarmes
|
|
</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="https://github.com/AlvaroNW" target="_blank">
|
|
AlvaroNW
|
|
</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="https://github.com/Florifourchette" target="_blank">
|
|
Florifourchette
|
|
</Link>
|
|
</li>
|
|
</ul>
|
|
<h3
|
|
className="mb-4 mt-8 text-center text-2xl font-extrabold tracking-tight text-gray-900 dark:text-white"
|
|
data-test="header2"
|
|
>
|
|
{t("techTitle")}
|
|
</h3>
|
|
<p className="mb-4 text-center font-light text-gray-500 dark:text-gray-400 md:text-xl">
|
|
{t.rich("techInfo", {
|
|
homeLink: (chunks) => (
|
|
<Link href="/" className="text-primary-600">
|
|
{chunks}
|
|
</Link>
|
|
),
|
|
})}
|
|
</p>
|
|
<ul className="mx-auto mb-4 flex max-w-lg justify-around text-primary-600">
|
|
<li>
|
|
<Link href="https://nextjs.org/" target="_blank">
|
|
NextJS
|
|
</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="#" target="_blank">
|
|
Typescript
|
|
</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="https://tailwindcss.com/" target="_blank">
|
|
Tailwind
|
|
</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="https://mongodb.com/" target="_blank">
|
|
MongoDB
|
|
</Link>
|
|
</li>
|
|
</ul>
|
|
<p className="mb-4 text-center font-light text-gray-500 dark:text-gray-400 md:text-xl">
|
|
{t("techWith")}
|
|
</p>
|
|
<ul className="mx-auto mb-8 flex max-w-md justify-around text-primary-600">
|
|
<li>
|
|
<Link href="https://leafletjs.com/" target="_blank">
|
|
Leaflet
|
|
</Link>
|
|
</li>
|
|
<li>
|
|
<Link href="https://nodemailer.com/" target="_blank">
|
|
Nodemailer
|
|
</Link>
|
|
</li>
|
|
</ul>
|
|
<p className="text-center font-light text-gray-500 dark:text-gray-400 md:text-xl">
|
|
{t.rich("contribInfo", {
|
|
link: (chunks) => (
|
|
<Link
|
|
href="https://github.com/TheRealOwenRees/echecsfrance"
|
|
target="_blank"
|
|
className="text-primary-600"
|
|
>
|
|
{chunks}
|
|
</Link>
|
|
),
|
|
})}
|
|
</p>
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|