mirror of https://github.com/sveltejs/svelte
parent
ae38d6425e
commit
aec4137d72
File diff suppressed because it is too large
Load Diff
@ -1,18 +0,0 @@
|
||||
import { DocsMobileNav } from '@sveltejs/site-kit/docs';
|
||||
|
||||
export const load = async ({ data, parent }) => {
|
||||
const contents = await parent();
|
||||
|
||||
return {
|
||||
mobile_nav_start: {
|
||||
label: 'Contents',
|
||||
icon: 'contents',
|
||||
component: DocsMobileNav,
|
||||
props: {
|
||||
contents: contents.sections,
|
||||
pageContents: data.page
|
||||
}
|
||||
},
|
||||
...data
|
||||
};
|
||||
};
|
Loading…
Reference in new issue