feat: add Resumes route and nav link
Add /resumes route (lazy-loaded ResumesView) to router and add DocumentTextIcon Resumes entry to AppNav sidebar navLinks after Apply.
This commit is contained in:
parent
8245333c9c
commit
1ada92f7d7
2 changed files with 7 additions and 0 deletions
|
|
@ -50,6 +50,9 @@
|
|||
</select>
|
||||
</div>
|
||||
|
||||
<!-- Background task queue (desktop: inline list; mobile: fixed pill above tab bar) -->
|
||||
<TaskIndicator />
|
||||
|
||||
<!-- Settings at bottom -->
|
||||
<div class="sidebar__footer">
|
||||
<RouterLink to="/settings" class="sidebar__link sidebar__link--footer" active-class="sidebar__link--active">
|
||||
|
|
@ -92,10 +95,12 @@ import {
|
|||
MagnifyingGlassIcon,
|
||||
NewspaperIcon,
|
||||
Cog6ToothIcon,
|
||||
DocumentTextIcon,
|
||||
} from '@heroicons/vue/24/outline'
|
||||
|
||||
import { useDigestStore } from '../stores/digest'
|
||||
import { useTheme, THEME_OPTIONS, type Theme } from '../composables/useTheme'
|
||||
import TaskIndicator from './TaskIndicator.vue'
|
||||
|
||||
const digestStore = useDigestStore()
|
||||
const { currentTheme, setTheme, restoreTheme } = useTheme()
|
||||
|
|
@ -148,6 +153,7 @@ const navLinks = computed(() => [
|
|||
{ to: '/', icon: HomeIcon, label: 'Home' },
|
||||
{ to: '/review', icon: ClipboardDocumentListIcon, label: 'Job Review' },
|
||||
{ to: '/apply', icon: PencilSquareIcon, label: 'Apply' },
|
||||
{ to: '/resumes', icon: DocumentTextIcon, label: 'Resumes' },
|
||||
{ to: '/interviews', icon: CalendarDaysIcon, label: 'Interviews' },
|
||||
{ to: '/digest', icon: NewspaperIcon, label: 'Digest',
|
||||
badge: digestStore.entries.length || undefined },
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ export const router = createRouter({
|
|||
{ path: '/review', component: () => import('../views/JobReviewView.vue') },
|
||||
{ path: '/apply', component: () => import('../views/ApplyView.vue') },
|
||||
{ path: '/apply/:id', component: () => import('../views/ApplyWorkspaceView.vue') },
|
||||
{ path: '/resumes', component: () => import('../views/ResumesView.vue') },
|
||||
{ path: '/interviews', component: () => import('../views/InterviewsView.vue') },
|
||||
{ path: '/digest', component: () => import('../views/DigestView.vue') },
|
||||
{ path: '/prep', component: () => import('../views/InterviewPrepView.vue') },
|
||||
|
|
|
|||
Loading…
Reference in a new issue