Visit kit.svelte.dev to read the documentation
diff --git a/frontend/src/routes/@[username]/+page.server.ts b/frontend/src/routes/@[username]/+page.server.ts new file mode 100644 index 0000000..a4af262 --- /dev/null +++ b/frontend/src/routes/@[username]/+page.server.ts @@ -0,0 +1,10 @@ +import { apiFetch } from "$lib/api/fetch"; +import type { User } from "$lib/api/entities"; + +export const load = async ({ params }) => { + const resp = await apiFetch{@html bio}
+ {/if} +{@html bio}
+ {/if} +