started refactoring (app) layout

This commit is contained in:
Eclypsed
2024-01-25 19:50:26 -05:00
parent 0ad1ace45b
commit 4fcfdc0ee6
7 changed files with 82 additions and 10 deletions

View File

@@ -0,0 +1,5 @@
import type { LayoutServerLoad } from './$types'
export const load: LayoutServerLoad = ({ url, locals }) => {
return { urlPathname: url.pathname, user: locals.user }
}