Commit Graph

15 Commits

Author SHA1 Message Date
owenrees f05f56d42a rudimentary display of dynamic data 2025-12-10 22:55:18 +01:00
owenrees e62feef1a9 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
2025-11-21 09:57:05 +01:00
owenrees 28f3bf69c6 optimised banner image component to allow build time optimisations, removed unused images 2025-11-12 12:24:43 +01:00
owenrees c27fffd1b2 Implement region based filtering of clubs
replace cancel button with X

use search params instead of path

fix routes for filtering clubs by URL, add loading map spinner, remove useEffect

normalised region name in url will set filter

search region by url params

add i8n to region filtering

use jotai useSetAtom

select value becomes the name of the region on selection

fix geojson types

fix region names

apply same regional filtering logic to tournaments that we have for clubs

type fixes for GeoJson Feature

basic filtering of clubs by region working

remove comments

two column layout

change text colours

accept undefined in region data state

selecting a region from modal sets state with region data of Feature type. Types currently not all correct.

by region filter satisfies types, with no functionality yet

remove unused imports

add region option in dropdown

rename file to reflect its function

json file for region names

comment out analytics script for testing loading

upgrade mongo

unformat file to keep line count small

add json of French regions coordinates

upgrade next to last v14
2025-09-04 21:35:23 +02:00
Timothy Armes b5061b1c78 Reorganise code - use src folder 2023-10-11 14:05:27 +02:00
Owen Rees 13cb3fca9d gitignore update 2023-10-06 17:16:00 +02:00
Owen Rees d2de579480 gitignore update 2023-10-06 17:16:00 +02:00
Owen Rees 594a22602f results api-key 2023-10-06 17:16:00 +02:00
Timothy Armes ac349b9115 PWA 2023-10-04 15:32:33 +02:00
Owen Rees 2633813611 bg update 2023-08-17 21:04:27 +02:00
Timothy Armes cbec69396d Use SVG marker icons 2023-07-19 16:27:44 +02:00
Owen Rees 4a42ba8b1e favicon 2023-07-13 06:30:02 +02:00
Owen Rees 24aac71c21 homepage background image changed 2023-07-12 12:04:31 +02:00
Owen Rees b28510b63d markers and groups added 2023-06-05 16:26:17 +02:00
Owen Rees 07837a54ee Initial commit from Create Next App 2023-05-22 13:14:15 +02:00