martials.no/src/links.ts

29 lines
398 B
TypeScript
Raw Normal View History

import * as m from "@/paraglide/messages.js"
import type { NavLink } from "@/utils/linking.ts"
2024-09-25 22:20:47 +02:00
interface Link {
label: () => string
to: NavLink
2024-09-25 22:20:47 +02:00
}
const Links: Link[] = [
{
label: m.home,
to: "/",
2024-09-25 22:20:47 +02:00
},
{
label: m.myProjects,
to: "/projects",
2024-09-25 22:20:47 +02:00
},
{
label: m.myLinks,
to: "/links",
},
{
label: m.contactMe,
to: "/contact",
},
2024-09-25 22:20:47 +02:00
]
export default Links