mirror of https://github.com/TZGyn/shortener
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
296 B
TypeScript
11 lines
296 B
TypeScript
import type { LayoutServerLoad } from './$types'
|
|
|
|
export const load = (async (event) => {
|
|
const { breadcrumbs: parentBreadcrumbs } = await event.parent()
|
|
const breadcrumbs = [
|
|
...parentBreadcrumbs,
|
|
{ name: 'Links', path: '/links' },
|
|
]
|
|
return { breadcrumbs }
|
|
}) satisfies LayoutServerLoad
|