generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
28 lines (26 loc) · 890 Bytes
/
App.tsx
File metadata and controls
28 lines (26 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import React from 'react';
import { HashRouter, Routes, Route } from 'react-router-dom';
import { Layout } from './components/Layout';
import Home from './pages/Home';
import HelpCenter from './pages/HelpCenter';
import Contact from './pages/Contact';
import WhyInvest from './pages/WhyInvest';
import HowItWorks from './pages/HowItWorks';
import Blog from './pages/Blog';
const App: React.FC = () => {
return (
<HashRouter>
<Layout>
<Routes>
<Route path="/" element={<Home />} />
<Route path="/help" element={<HelpCenter />} />
<Route path="/contact" element={<Contact />} />
<Route path="/why-invest" element={<WhyInvest />} />
<Route path="/how-it-works" element={<HowItWorks />} />
<Route path="/blog" element={<Blog />} />
</Routes>
</Layout>
</HashRouter>
);
};
export default App;