mirror of
https://github.com/thegeneralist01/archivr
synced 2026-07-21 18:55:36 +02:00
feat(settings): frontend — SettingsView component, settings nav, App routing
This commit is contained in:
parent
677e5c439b
commit
78e763c377
3 changed files with 278 additions and 2 deletions
|
|
@ -10,6 +10,7 @@ import RunsView from './components/RunsView'
|
|||
import AdminView from './components/AdminView'
|
||||
import TagsView from './components/TagsView'
|
||||
import CollectionsView from './components/CollectionsView'
|
||||
import SettingsView from './components/SettingsView'
|
||||
import ContextRail from './components/ContextRail'
|
||||
|
||||
export const AuthContext = createContext(null);
|
||||
|
|
@ -217,6 +218,9 @@ export default function App() {
|
|||
{view === 'collections' && (
|
||||
<CollectionsView archiveId={archiveId} />
|
||||
)}
|
||||
{view === 'settings' && (
|
||||
<SettingsView />
|
||||
)}
|
||||
</div>
|
||||
<ContextRail
|
||||
archiveId={archiveId}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue