From 94bbf11e4e37b880b111316f1af8006b05d38e2a Mon Sep 17 00:00:00 2001
From: HsiangNianian <i@jyunko.cn>
Date: Tue, 13 Jan 2026 15:19:50 +0800
Subject: feat: Initialize Svelte application with Tailwind CSS and Tauri
 integration

- Added main application structure in App.svelte with a sidebar and main content area.
- Implemented game launch functionality using Tauri's invoke API.
- Included SVG icons for Vite and Svelte in the assets.
- Set up Tailwind CSS for styling in app.css.
- Created a Counter component for demonstration purposes.
- Configured TypeScript support with appropriate tsconfig files.
- Established Vite configuration for building the application.
---
 ui/src/lib/Counter.svelte | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 ui/src/lib/Counter.svelte

(limited to 'ui/src/lib/Counter.svelte')

diff --git a/ui/src/lib/Counter.svelte b/ui/src/lib/Counter.svelte
new file mode 100644
index 0000000..37d75ce
--- /dev/null
+++ b/ui/src/lib/Counter.svelte
@@ -0,0 +1,10 @@
+<script lang="ts">
+  let count: number = $state(0)
+  const increment = () => {
+    count += 1
+  }
+</script>
+
+<button onclick={increment}>
+  count is {count}
+</button>
-- 
cgit v1.2.3-70-g09d2

