29 lines
866 B
TypeScript
29 lines
866 B
TypeScript
import { Folder, GitBranch, Home, Info, Rss, Tags } from 'lucide-react'
|
|
|
|
type NavItem = {
|
|
href: string
|
|
label: string
|
|
icon: React.ReactNode
|
|
isExternal?: boolean
|
|
}
|
|
|
|
const navIconsClassName = 'w-6 h-6'
|
|
|
|
export const navItems: NavItem[] = [
|
|
{ href: '/', label: 'Home', icon: <Home /> },
|
|
{ href: '/about', label: 'About', icon: <Info className={navIconsClassName} /> },
|
|
{ href: '/categories', label: 'Categories', icon: <Folder className={navIconsClassName} /> },
|
|
{ href: '/tags', label: 'Tags', icon: <Tags className={navIconsClassName} /> },
|
|
{
|
|
href: '/feed.xml',
|
|
label: 'RSS Feed',
|
|
icon: <Rss className={navIconsClassName} />,
|
|
isExternal: true,
|
|
},
|
|
{
|
|
href: 'https://git.hangerthem.com/hangerthem/blog.hangerthem.com',
|
|
label: 'Source Code',
|
|
icon: <GitBranch className={navIconsClassName} />,
|
|
isExternal: true,
|
|
},
|
|
]
|