Replace front proxy with new SvelteKit frontend app

- Remove the old Hono/Bun proxy server
- Add the new `apps/frontend` SvelteKit scaffold and telemetry hook
This commit is contained in:
user
2026-03-28 18:12:43 +02:00
parent 0a11be5006
commit eee31e5b99
439 changed files with 11494 additions and 933 deletions

View File

@@ -0,0 +1,35 @@
<script lang="ts" module>
import BriefcaseIcon from "@lucide/svelte/icons/briefcase";
</script>
<script lang="ts">
import NavMain from "$lib/components/nav-main.svelte";
import NavUser from "$lib/components/nav-user.svelte";
import * as Sidebar from "$lib/components/ui/sidebar/index.js";
import { mainNavTree } from "$lib/core/constants";
import type { ComponentProps } from "svelte";
const data = $state({
teams: [{ name: "Personal", logo: BriefcaseIcon, plan: "Standard" }],
navItems: mainNavTree,
});
let {
ref = $bindable(null),
collapsible = "icon",
...restProps
}: ComponentProps<typeof Sidebar.Root> = $props();
</script>
<Sidebar.Root bind:ref {collapsible} {...restProps}>
<!-- <Sidebar.Header>
<TeamSwitcher teams={data.teams} />
</Sidebar.Header> -->
<Sidebar.Content class="pt-2">
<NavMain items={data.navItems} />
</Sidebar.Content>
<Sidebar.Footer>
<NavUser />
</Sidebar.Footer>
<Sidebar.Rail />
</Sidebar.Root>