From de6d9e1b2bea53d46eea5fc9135a887b4958d489 Mon Sep 17 00:00:00 2001 From: Kwaroran Date: Tue, 25 Feb 2025 22:26:21 +0900 Subject: [PATCH] feat: add loading screen and move stylesheet to index.html --- index.html | 12 ++++++++++++ src/main.ts | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 972d7f37..7859e026 100644 --- a/index.html +++ b/index.html @@ -6,6 +6,7 @@ + @@ -21,6 +22,17 @@ + +
+
+ + + + + Loading... +
+ Loading RisuAI... +
diff --git a/src/main.ts b/src/main.ts index 7d0b6828..c46c8f25 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,4 +1,3 @@ -import "./styles.css"; import "./ts/polyfill"; import "core-js/actual" import "./ts/storage/database.svelte" @@ -14,5 +13,6 @@ let app = mount(App, { }); loadData() initHotkey() +document.getElementById('preloading').remove() export default app; \ No newline at end of file