first working prototype

This commit is contained in:
2023-06-19 20:38:45 +02:00
parent 89612f02b6
commit 120781a57a
287 changed files with 863 additions and 268 deletions

View File

@@ -1,12 +0,0 @@
import type { PageLoad } from "./$types";
export async function load({ fetch }) {
const res_season = await fetch(`/api/items/in_season`);
const res_all_brief = await fetch(`/api/items/all_brief`);
const item_season = await res_season.json();
const item_all_brief = await res_all_brief.json();
return {
season: item_season,
all_brief: item_all_brief,
};
};