mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2026-04-10 22:39:04 +08:00
25 lines
615 B
TypeScript
25 lines
615 B
TypeScript
import {
|
|
BriefcaseIcon,
|
|
CurrencyDollarIcon,
|
|
DocumentTextIcon,
|
|
} from '@heroicons/react/24/outline';
|
|
|
|
type GlobalNavigationItem = Readonly<{
|
|
href: string;
|
|
icon: (props: React.ComponentProps<'svg'>) => JSX.Element;
|
|
name: string;
|
|
}>;
|
|
export type GlobalNavigationItems = ReadonlyArray<GlobalNavigationItem>;
|
|
|
|
const globalNavigation: GlobalNavigationItems = [
|
|
{ href: '/offers', icon: CurrencyDollarIcon, name: 'Offers' },
|
|
{
|
|
href: '/questions',
|
|
icon: BriefcaseIcon,
|
|
name: 'Questions',
|
|
},
|
|
{ href: '/resumes', icon: DocumentTextIcon, name: 'Resumes' },
|
|
];
|
|
|
|
export default globalNavigation;
|