aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/index.html
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2026-01-13 15:19:50 +0800
committerHsiangNianian <i@jyunko.cn>2026-01-13 15:19:50 +0800
commit94bbf11e4e37b880b111316f1af8006b05d38e2a (patch)
tree090908cd31d387c4cda683582719c3492b2bf31f /ui/index.html
parent7ca72b953e1e42659376016e0eb048593e31ed6d (diff)
downloadDropOut-94bbf11e4e37b880b111316f1af8006b05d38e2a.tar.gz
DropOut-94bbf11e4e37b880b111316f1af8006b05d38e2a.zip
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.
Diffstat (limited to 'ui/index.html')
-rw-r--r--ui/index.html30
1 files changed, 12 insertions, 18 deletions
diff --git a/ui/index.html b/ui/index.html
index 1acd3ab..0b17b67 100644
--- a/ui/index.html
+++ b/ui/index.html
@@ -1,19 +1,13 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Minecraft 启动器</title>
- <link rel="stylesheet" href="style.css">
- <script src="main.js" defer></script>
-</head>
-<body>
- <main class="container">
- <h1>Minecraft DropOut Launcher</h1>
- <div class="status-container">
- <p id="status-text">准备就绪</p>
- </div>
- <button id="start-game-btn">开始游戏</button>
- </main>
-</body>
-</html> \ No newline at end of file
+ <head>
+ <meta charset="UTF-8" />
+ <link rel="icon" type="image/svg+xml" href="/vite.svg" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>ui</title>
+ </head>
+ <body>
+ <div id="app"></div>
+ <script type="module" src="/src/main.ts"></script>
+ </body>
+</html>