1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-21 18:55:36 +02:00

feat: reorder nav tabs to archive, tags, collections, runs, admin, settings

This commit is contained in:
TheGeneralist 2026-07-04 11:46:11 +02:00
parent 98238cd1f3
commit f71be25a8e
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@ import { displayPath } from './utils'
export const AuthContext = createContext(null);
const VIEWS = ['archive','runs','admin','tags','collections','settings']
const VIEWS = ['archive','tags','collections','runs','admin','settings']
const SETTINGS_TABS = ['profile','tokens','instance']
function parseLocation() {

View file

@ -23,7 +23,7 @@ export default function Topbar({ archives, archiveId, onArchiveChange, view, onV
</select>
</div>
<nav className="nav" aria-label="Primary">
{['archive', 'runs', 'admin', 'tags', 'collections', 'settings'].map(name => (
{['archive', 'tags', 'collections', 'runs', 'admin', 'settings'].map(name => (
<button key={name} className={`nav-link${view === name ? ' is-active' : ''}`}
onClick={() => onViewChange(name)}>
{name.charAt(0).toUpperCase() + name.slice(1)}