improve layout, nav; add sign out on user page

This commit is contained in:
2024-11-01 00:05:53 -07:00
parent 5fc9cf25c8
commit 31d23c5e87
7 changed files with 58 additions and 27 deletions

View File

@@ -0,0 +1,9 @@
import type { LayoutServerLoad } from "./$types";
export const load: LayoutServerLoad = async (event) => {
const { user } = event.locals;
return {
user
};
};