From zero
This commit is contained in:
21
client/src/App.tsx
Normal file
21
client/src/App.tsx
Normal file
@@ -0,0 +1,21 @@
|
||||
import { Route, Routes } from "react-router-dom";
|
||||
|
||||
import IndexPage from "@/pages/index";
|
||||
import DocsPage from "@/pages/docs";
|
||||
import PricingPage from "@/pages/pricing";
|
||||
import BlogPage from "@/pages/blog";
|
||||
import AboutPage from "@/pages/about";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<Routes>
|
||||
<Route element={<IndexPage />} path="/" />
|
||||
<Route element={<DocsPage />} path="/docs" />
|
||||
<Route element={<PricingPage />} path="/pricing" />
|
||||
<Route element={<BlogPage />} path="/blog" />
|
||||
<Route element={<AboutPage />} path="/about" />
|
||||
</Routes>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
Reference in New Issue
Block a user