-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.jsx
More file actions
40 lines (38 loc) · 1.35 KB
/
App.jsx
File metadata and controls
40 lines (38 loc) · 1.35 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
import "./App.css";
import { Routes, Route } from "react-router-dom";
import { Navbar } from "@/components/layout/Navbar";
import Footer from "@/components/layout/Footer";
import { BackToTop } from "@/components/common/BackToTop";
import { ScrollRestoration } from "@/components/common/ScrollRestoration";
import HomePage from "./pages/HomePage";
import ServicesPage from "./pages/ServicesPage";
import PortfolioPage from "./pages/PortfolioPage";
import FAQPage from "./pages/FAQPage";
import ContactPage from "./pages/ContactPage";
import NotFoundPage from "./pages/NotFoundPage";
function App() {
return (
<div className="flex flex-col min-h-screen">
<ScrollRestoration />
<div className="print:hidden">
<Navbar />
</div>
<main className="flex-1">
<Routes>
<Route path="/" element={<HomePage />} />
<Route path="/servicos" element={<ServicesPage />} />
<Route path="/portfolio" element={<PortfolioPage />} />
<Route path="/faq" element={<FAQPage />} />
<Route path="/contactos" element={<ContactPage />} />
<Route path="/404" element={<NotFoundPage />} />
<Route path="*" element={<NotFoundPage />} />
</Routes>
</main>
<div className="print:hidden">
<Footer />
</div>
<BackToTop />
</div>
);
}
export default App;