First fully working user management, move to layout groups

This commit is contained in:
2023-07-18 14:18:52 +02:00
parent c14b174a42
commit a6b8685f91
55 changed files with 366 additions and 192 deletions
-13
View File
@@ -1,13 +0,0 @@
import type { PageLoad } from "./$types";
export async function load({ fetch, params }) {
const res_season = await fetch(`/api/items/icon/` + params.icon);
const res_icons = await fetch(`/api/items/icon`);
const icons = await res_icons.json();
const item_season = await res_season.json();
return {
icons: icons,
icon: params.icon,
season: item_season,
};
};