Commit Graph

7 Commits

Author SHA1 Message Date
Teriuihi d2f15d2627 Refactor forms to use a generic form component
Replaced the contact form with a generic form component to support multiple form configurations. Moved validation schema and form data to a new structure, allowing dynamic form rendering. Updated the App component to utilize this generic approach for handling different forms.
2024-08-06 21:07:20 +02:00
Teriuihi 97ba9cc087 Update build settings and homepage URL for forms app
Changed the homepage URL in package.json to a relative path and adjusted the build command's PUBLIC_URL. Also updated caniuse-lite version in package-lock.json and modified BrowserRouter basename in App.tsx.
2024-08-04 22:57:18 +02:00
Teriuihi 5301940a2f Update fetch URLs and set app base URL
The localhost:8080 server references in fetch calls within verify_mail.tsx and contact.tsx files have been updated to localhost:8002. Furthermore, the application base URL has been set to '/forms' in package.json, and in the BrowserRouter element within App.tsx, to ensure proper routing on the production server.
2024-04-28 21:41:29 +02:00
Peter 3baee7f8e5 Fixed footer, messed with some colors. Wasted time on a failed attempted at a darkmode switch 2024-01-14 21:05:13 +01:00
Teriuihi 737460a2c2 Add DEBUG component for development environment
Introduced a new DEBUG component exclusively for the development environment. This component contains navigation options for email verification and the 'thank you' page. Updated the .gitignore file to no longer exclude DEBUG files, and included a basic layout and styling for the component.
2024-01-14 10:17:50 +01:00
Teriuihi 49a71097bc Create site with contact form and email verification
This commit removes the redundant logo.svg file. It then adds several new components including 'footer', 'contact_form', 'home', 'verify_email' in forms/src/components directory. It also includes associated CSS files for styling these components. Updates have also been made in the index.html file for SEO metadata. Changes made aim to enhance functionality and improve user interface.
2024-01-13 15:53:47 +01:00
Teriuihi e5492401fd Initialize project using Create React App 2024-01-06 17:42:33 +01:00