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.
15 lines
349 B
TypeScript
15 lines
349 B
TypeScript
import type { LayoutServerLoad } from './$types'
|
|
|
|
export const load = (async (event) => {
|
|
const { breadcrumbs: parentBreadcrumbs } = await event.parent()
|
|
|
|
const breadcrumbs = [
|
|
...parentBreadcrumbs,
|
|
{ name: 'Links', path: '/dashboard/links' },
|
|
]
|
|
|
|
const page_title = 'Links'
|
|
|
|
return { breadcrumbs, page_title }
|
|
}) satisfies LayoutServerLoad
|