갤러리 페이지 구현

This commit is contained in:
static
2025-12-26 22:29:44 +09:00
parent b7a7536461
commit ed21a9cd31
27 changed files with 307 additions and 59 deletions

View File

@@ -0,0 +1,7 @@
import { trpc } from "$trpc/client";
import type { PageLoad } from "./$types";
export const load: PageLoad = async ({ fetch }) => {
const files = await trpc(fetch).file.list.query();
return { files };
};