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:
2025-11-21 09:57:05 +01:00
committed by owenrees
parent 67e97b6ca0
commit e62feef1a9
22 changed files with 1943 additions and 20 deletions
+32 -1
View File
@@ -134,6 +134,37 @@
"failure": "Oops, quelque chose ne va pas. Veuillez réessayer SVP."
},
"AddClub": {
"title": "Ajouter un Club",
"info": "Remplissez le formulaire ci-dessous et votre club sera examiné prochainement",
"yourNameLabel": "Votre Nom",
"yourNamePlaceholder": "Votre Nom",
"yourEmailLabel": "Votre adresse mail",
"yourEmailPlaceholder": "vous@exemple.com",
"messageLabel": "Information complémentaire",
"messagePlaceholder": "Information complémentaire",
"clubNameLabel": "Nom du Club",
"clubNamePlaceholder": "Nom du club",
"addressLabel": "Adresse",
"addressPlaceholder": "Adresse",
"emailLabel": "Adresse e-mail",
"emailPlaceholder": "club@exemple.com",
"websiteLabel": "Site Internet",
"websitePlaceholder": "www.example.com",
"latLabel": "Latitude",
"lngLabel": "Longitude",
"sendButton": "Envoi",
"sending": "Envoi en cours...",
"clearForm": "Réinitialiser",
"success": "Merci pour votre message.",
"failure": "Oops, quelque chose ne va pas. Veuillez réessayer SVP."
},
"AddTournament": {
"title": "Ajouter un Tournoi",
"info": "Veuillez remplir le formulaire ci-dessous et votre tournoi sera validé très prochainement.",
@@ -166,7 +197,7 @@
"yourEmailLabel": "Votre adresse mail",
"yourEmailPlaceholder": "Votre adresse mail",
"messageLabel": "Information complémentaire",
"messagePlaceholder": "Additional Info",
"messagePlaceholder": "Information complémentaire",
"sendButton": "Envoi",
"sending": "Envoi en cours...",
"clearForm": "Réinitialiser",