map length corrected

This commit is contained in:
Owen Rees
2023-06-22 09:45:07 +02:00
parent 40081c86ed
commit ae805e5d80
4 changed files with 5 additions and 6 deletions
+1 -3
View File
@@ -10,7 +10,7 @@ TESTS
BUGS BUGS
//TODO about page is not centred in Safari //TODO about page is not centred in Safari
//TODO tournament page load is weird on 2nd click. On safari it pauses for a few seconds. Is it trying to load the entire page before displaying? //TODO tournament page load is weird on 2nd click. On safari it pauses for a few seconds. Is it trying to load the entire page before displaying?
//TODO Nodemailer 'from' reverts to echecsfrance@gmail.com //TODO Nodemailer 'from' reverts to echecsfrance@gmail.com - quick fix done with sender address in subject line
---------------------------------------------------------------- ----------------------------------------------------------------
PAGES PAGES
@@ -20,9 +20,7 @@ PAGES
DESIGN CHANGES DESIGN CHANGES
//TODO test entire site for english to french translations //TODO test entire site for english to french translations
//TODO success and error messages into french - mailer //TODO success and error messages into french - mailer
//TODO disable send message button while sending - isSending = true
//TODO font size on mobile screen //TODO font size on mobile screen
//TODO bottom of map is a few pixels short
//TODO mobile navbar is creeping into the page by a few pixels when hidden - move it to the right a bit. It is easier to see in light mode //TODO mobile navbar is creeping into the page by a few pixels when hidden - move it to the right a bit. It is easier to see in light mode
//TODO logo for navbar and favicon //TODO logo for navbar and favicon
//TODO mobile map needs improving //TODO mobile map needs improving
+2 -1
View File
@@ -7,7 +7,8 @@ const inter = Inter({ subsets: ["latin"] });
export const metadata = { export const metadata = {
title: "Echecs France", title: "Echecs France",
description: "Generated by create next app", // TODO give the website a description + maybe keywords if they go here description: "Trouvez Vos Tournois d'Echecs en France Sur Une Carte",
keywords: "echecs, France, tournoi, tournois, FFE",
}; };
export default function RootLayout({ export default function RootLayout({
+1 -1
View File
@@ -24,7 +24,7 @@ export default function TournamentMap({ tournamentData }: TournamentDataProps) {
return ( return (
<section <section
id="tournament-map" id="tournament-map"
className="grid h-[calc(100vh-153px)] md:h-[calc(100vh-83px)] lg:h-[calc(100vh-174px)]" className="grid h-[calc(100vh-153px)] md:h-[calc(100vh-83px)] lg:h-[calc(100vh-173px)]"
> >
<MapContainer <MapContainer
center={center} center={center}
+1 -1
View File
@@ -60,7 +60,7 @@ export default function TournamentTable({
return ( return (
<section <section
className="tournament-table w-full grid auto-rows-max pb-20 lg:h-[calc(100vh-174px)] lg:col-start-2 lg:col-end-3 lg:overflow-y-scroll" className="tournament-table w-full grid auto-rows-max pb-20 lg:h-[calc(100vh-173px)] lg:col-start-2 lg:col-end-3 lg:overflow-y-scroll"
id="tournament-table" id="tournament-table"
data-cy="tournament-table-div" data-cy="tournament-table-div"
> >