mirror of
https://github.com/TheRealOwenRees/echecsfrance.git
synced 2026-07-23 04:26:57 +00:00
add /add-club route
remove commented out code dismiss success dialog - onClick was missing locale for add-club url prefer manual entry club if both auto and manual entry versions exist, only if pending = false change manual entry field to a boolean filter out clubs that are pending approval from manual entry add info message on success tournament form adds to DB and send discord message ping discord with club submission details i18n for add club update map to allow coordinate update depending on tournament/club page basic add club form with reusable map component
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user