Add some state management stuff

This commit is contained in:
Jon Staab
2024-08-06 15:46:37 -07:00
parent 36a920df51
commit fb04a68168
18 changed files with 5474 additions and 5206 deletions
+8
View File
@@ -0,0 +1,8 @@
import {redirect} from "@sveltejs/kit"
/** @type {import('./$types').LayoutServerLoad} */
export function load({route}) {
if (!route.id) {
redirect(307, "/home")
}
}