diff --git a/TODO b/TODO index 1aa5aa1..c00ca79 100644 --- a/TODO +++ b/TODO @@ -14,7 +14,6 @@ PAGES ---------------------------------------------------------------- DESIGN CHANGES -//TODO test entire site for english to french translations //TODO success and error messages into french - mailer //TODO font size on mobile screen //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. I cant see this on Linux @@ -30,4 +29,3 @@ MISC ---------------------------------------------------------------- //TODO multi-language i18n support - https://nextjs.org/docs/app/building-your-application/routing/internationalization //TODO move smaller ui components into a new folder, and make them reusable - such as using generic prop names -//TODO readme badges diff --git a/components/ContactForm.tsx b/components/ContactForm.tsx index 6a2a3c0..3202b76 100644 --- a/components/ContactForm.tsx +++ b/components/ContactForm.tsx @@ -97,7 +97,7 @@ const ContactForm = () => { className="py-3 px-5 text-sm font-medium text-center text-white rounded-lg bg-teal-600 sm:w-fit hover:bg-primary-800 focus:ring-4 focus:outline-none focus:ring-primary-300 dark:hover:bg-primary-700 dark:focus:ring-primary-800 dark:text-white disabled:opacity-25" data-test="submit-button" > - {isSending ? "Sending..." : "Send Message"} + {isSending ? "Envoi en cours..." : "Envoi Message"} {infoMessage} diff --git a/components/SearchBar.tsx b/components/SearchBar.tsx index 069b9a4..ac64cab 100644 --- a/components/SearchBar.tsx +++ b/components/SearchBar.tsx @@ -33,7 +33,7 @@ const SearchBar = ({ type="text" id="table-search" className="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-80 pl-10 p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500" - placeholder="Search for items" + placeholder="Recherche" value={tournamentFilter} onChange={(e) => setTournamentFilter(e.target.value)} /> diff --git a/cypress/videos/data.cy.ts-compressed.mp4 b/cypress/videos/data.cy.ts-compressed.mp4 new file mode 100644 index 0000000..6f4c11f Binary files /dev/null and b/cypress/videos/data.cy.ts-compressed.mp4 differ diff --git a/cypress/videos/data.cy.ts.mp4.meta b/cypress/videos/data.cy.ts.mp4.meta new file mode 100644 index 0000000..3a1277f --- /dev/null +++ b/cypress/videos/data.cy.ts.mp4.meta @@ -0,0 +1,11 @@ +;FFMETADATA1 +[CHAPTER] +TIMEBASE=1/1000 +START=-5248 +END=1236 +title=Data fetching for map map markers is equal to table rows +[CHAPTER] +TIMEBASE=1/1000 +START=6621 +END=7725 +title=Data fetching from API endpoints api call should equal website data count \ No newline at end of file diff --git a/handlers/formSubmitHandlers.ts b/handlers/formSubmitHandlers.ts index b5e91da..c1d487f 100644 --- a/handlers/formSubmitHandlers.ts +++ b/handlers/formSubmitHandlers.ts @@ -28,7 +28,7 @@ export const handleEmailSubmit = async ( if (response.status === 250) { setResponseMessage({ isSuccessful: true, - message: "Thank you for your message.", + message: "Merci pour votre message.", }); resetForm(); clearMessage(); @@ -38,7 +38,7 @@ export const handleEmailSubmit = async ( errorLog(error); setResponseMessage({ isSuccessful: false, - message: "Oops something went wrong. Please try again.", + message: "Oops, quelque chose ne va pas. Veuillez réessayer SVP.", }); clearMessage(); setIsSending(false);