Seed: healthcare template (18 files)
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
import { BrowserRouter, Routes, Route } from "react-router-dom";
|
||||
import IndexPage from "@/pages/Index";
|
||||
import ServicesPage from "@/pages/Services";
|
||||
import DoctorsPage from "@/pages/Doctors";
|
||||
import DoctorDetailPage from "@/pages/DoctorDetail";
|
||||
import ContactPage from "@/pages/Contact";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path="/" element={<IndexPage />} />
|
||||
<Route path="/services" element={<ServicesPage />} />
|
||||
<Route path="/doctors" element={<DoctorsPage />} />
|
||||
<Route path="/doctor/:id" element={<DoctorDetailPage />} />
|
||||
<Route path="/contact" element={<ContactPage />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
Reference in New Issue
Block a user