i set up the router in the /frontend/src/App.jsx file.
fixed the /frontend/src/Components/Navbar file.
add a layouts folder inside /fronted/src/ and added MainLayout.jsx file in it. to fix navbar and footer inside it and only changing the Outlet /the page content.
i also NotFoundPage.jsx to /fontend/src/page/ to redirect all the incorrects urls to this page.
Hi here's what i did:
/frontend/src/App.jsx
file./frontend/src/Components/Navbar
file.layouts
folder inside/fronted/src/
and addedMainLayout.jsx
file in it. to fix navbar and footer inside it and only changing theOutlet
/the page content.NotFoundPage.jsx
to/fontend/src/page/
to redirect all the incorrects urls to this page.