mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-11-18 07:22:06 +00:00
fix dead code with knip upgrade TS to v6 and fix linting errors auto apply oxfmt rules fix linting errors - unused deps etc ignore file remove all ignored files in knip add knip - dead code analysis tool swap prettier and eslint of oxfmt and oxlint fix: fix map rendering in react strict mode fix: headlessUI float replace fix: disable Matomo if not URL and SITE ID exist upgrade: 1st pass upgrade to Next.js v16 deps: upgrade react to v19
23 lines
697 B
TypeScript
23 lines
697 B
TypeScript
import ClubForm from "@/app/[locale]/(main)/add-club/ClubForm";
|
|
import { useTranslations } from "next-intl";
|
|
|
|
export default function AddClubPage() {
|
|
const t = useTranslations("AddClub");
|
|
|
|
return (
|
|
<section className="grid place-items-center bg-white pb-20 dark:bg-gray-800">
|
|
<div className="mx-auto max-w-screen-md px-4 py-8 lg:py-16">
|
|
<h2 className="mb-4 text-center text-4xl font-extrabold tracking-tight text-gray-900 dark:text-white">
|
|
{t("title")}
|
|
</h2>
|
|
|
|
<p className="mb-8 text-center font-light text-gray-500 dark:text-gray-400 sm:text-xl lg:mb-16">
|
|
{t("info")}
|
|
</p>
|
|
|
|
<ClubForm />
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|