2024-01-13 14:53:47 +00:00
|
|
|
import ContactForm from "./components/contact_form/contact";
|
2024-01-06 16:42:33 +00:00
|
|
|
import './App.css';
|
2024-01-13 14:53:47 +00:00
|
|
|
import Home from "./components/home/home";
|
|
|
|
|
import {BrowserRouter, Route, Routes} from 'react-router-dom';
|
2024-01-14 20:05:13 +00:00
|
|
|
import Header from "./components/header/header";
|
2024-01-13 14:53:47 +00:00
|
|
|
import Footer from "./components/footer/footer";
|
|
|
|
|
import VerifyMail from "./components/verify_email/verify_mail";
|
|
|
|
|
import ThankYou from "./components/verify_email/thank_you";
|
2024-01-14 09:17:50 +00:00
|
|
|
import DEBUG from "./components/DEBUG/DEBUG";
|
2024-01-06 16:42:33 +00:00
|
|
|
|
|
|
|
|
function App() {
|
2024-01-13 14:53:47 +00:00
|
|
|
return (
|
|
|
|
|
<div className="app-container">
|
2024-01-14 20:05:13 +00:00
|
|
|
<Header/>
|
2024-04-28 19:41:29 +00:00
|
|
|
<BrowserRouter basename="/forms">
|
2024-01-13 14:53:47 +00:00
|
|
|
<Routes>
|
|
|
|
|
<Route path="/" element={<Home/>}/>
|
|
|
|
|
<Route path="/contact" element={<ContactForm/>}/>
|
|
|
|
|
<Route path="/verify-email" element={<VerifyMail/>}/>
|
|
|
|
|
<Route path="/thank-you" element={<ThankYou/>}/>
|
2024-01-14 09:17:50 +00:00
|
|
|
{process.env.NODE_ENV === 'development' && <Route path="/debug" element={<DEBUG/>}/>}
|
2024-01-13 14:53:47 +00:00
|
|
|
</Routes>
|
|
|
|
|
</BrowserRouter>
|
|
|
|
|
<Footer/>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
2024-01-06 16:42:33 +00:00
|
|
|
}
|
|
|
|
|
|
2024-01-13 14:53:47 +00:00
|
|
|
export default App;
|