-
Notifications
You must be signed in to change notification settings - Fork 62
Expand file tree
/
Copy pathApp.tsx
More file actions
51 lines (40 loc) · 1.1 KB
/
App.tsx
File metadata and controls
51 lines (40 loc) · 1.1 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import Navbar from "./components/Navbar";
import Footer from "./components/Footer";
import ScrollProgressBar from './components/ScrollProgressBar';
import { Toaster } from "react-hot-toast";
import Router from "./Routes/Router";
function App() {
return (
<div className="relative flex flex-col min-h-screen">
<ScrollProgressBar/>
{/* Navbar */}
<Navbar />
{/* Main content */}
<main className="flex-grow bg-gray-50 flex justify-center items-center p-2">
<Router/>
</main>
{/* Footer */}
<Footer />
<Toaster
position="top-center"
reverseOrder={false}
gutter={8}
containerClassName="mt-12"
containerStyle={{}}
toastOptions={{
className: 'bg-white',
duration: 5000,
//removeDelay: 1000,
success: {
duration: 3000,
iconTheme: {
primary: 'green',
secondary: 'white',
},
},
}}
/>
</div>
);
}
export default App;