Closed pennane closed 1 year ago
Add some settings view that has the already made auth components.
The view should be accessed from the right side of the nav bar.
Uus file: app/src/Views/SettingsView/index.jsx
Lisää app/src/main.jsx routeriin uus route esim("/settings") joka vie Toho uutee filuun
const router = createBrowserRouter([ { path: '/', element: <RootLayout />, errorElement: <NotFound />, children: [ { path: '/', element: <MainView /> }, { path: '/posts/:id', element: <PostView /> }, { path: '/settings', element: <SettingsView /> } ], } ])
muokkaa app/src/layouts/RootLayout/index.jsx nav osioo ja tekee sinne asetukset
closed in https://github.com/pennane/web-project-group-10/pull/37
Add some settings view that has the already made auth components.
The view should be accessed from the right side of the nav bar.
Possible implementation
Uus file: app/src/Views/SettingsView/index.jsx
Lisää app/src/main.jsx routeriin uus route esim("/settings") joka vie Toho uutee filuun
muokkaa app/src/layouts/RootLayout/index.jsx nav osioo ja tekee sinne asetukset