first commit

This commit is contained in:
lennlouisgeek
2026-03-30 02:59:56 +08:00
commit eec9927ae6
60 changed files with 15953 additions and 0 deletions

17
src/routes/+layout.svelte Normal file
View File

@@ -0,0 +1,17 @@
<script lang="ts">
import { onMount } from "svelte";
onMount(() => {
const handleContextMenu = (event: MouseEvent) => {
event.preventDefault();
};
document.addEventListener("contextmenu", handleContextMenu, true);
return () => {
document.removeEventListener("contextmenu", handleContextMenu, true);
};
});
</script>
<slot />

5
src/routes/+layout.ts Normal file
View File

@@ -0,0 +1,5 @@
// Tauri doesn't have a Node.js server to do proper SSR
// so we use adapter-static with a fallback to index.html to put the site in SPA mode
// See: https://svelte.dev/docs/kit/single-page-apps
// See: https://v2.tauri.app/start/frontend/sveltekit/ for more info
export const ssr = false;

1445
src/routes/+page.svelte Normal file

File diff suppressed because it is too large Load Diff