Add ModeTemplate with Svelte 5 frontend and components

- Create reusable components: auth, api-client, shared-types
- ModeTemplate with Hono backend and SvelteKit frontend
- Auth store refactored to class-based Svelte 5 pattern
- SSR-safe hydrate() pattern for localStorage access
- Frontend builds successfully with Svelte 5 runes
This commit is contained in:
2026-01-21 05:12:25 +00:00
parent bd7842799c
commit 05f8e2e3b6
120 changed files with 12252 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Mode Template</title>
<link rel="modulepreload" href="/_app/immutable/entry/start.JQZ0kVpy.js">
<link rel="modulepreload" href="/_app/immutable/chunks/CuIyQV9Z.js">
<link rel="modulepreload" href="/_app/immutable/chunks/CqqhLxdp.js">
<link rel="modulepreload" href="/_app/immutable/chunks/Bgo_ZO3W.js">
<link rel="modulepreload" href="/_app/immutable/chunks/BtkHyJOA.js">
<link rel="modulepreload" href="/_app/immutable/entry/app.B9iOASPK.js">
<link rel="modulepreload" href="/_app/immutable/chunks/DZNd3jEa.js">
<link rel="modulepreload" href="/_app/immutable/chunks/fsu08h6h.js">
<link rel="modulepreload" href="/_app/immutable/chunks/hV77cT_P.js">
</head>
<body data-sveltekit-preload-data="hover">
<div style="display: contents">
<script>
{
__sveltekit_1u12ak4 = {
base: ""
};
const element = document.currentScript.parentElement;
Promise.all([
import("/_app/immutable/entry/start.JQZ0kVpy.js"),
import("/_app/immutable/entry/app.B9iOASPK.js")
]).then(([kit, app]) => {
kit.start(app, element);
});
}
</script>
</div>
</body>
</html>