Reapply "fix(app): more startup efficiency (#18985)"

This reverts commit cbe1337f24.
This commit is contained in:
Adam
2026-03-25 05:59:06 -05:00
parent 0dbfefa080
commit 2b0baf97bd
8 changed files with 240 additions and 128 deletions
+8
View File
@@ -113,6 +113,14 @@ export default function Home() {
</ul>
</div>
</Match>
<Match when={!sync.ready}>
<div class="mt-30 mx-auto flex flex-col items-center gap-3">
<div class="text-12-regular text-text-weak">{language.t("common.loading")}</div>
<Button class="px-3" onClick={chooseProject}>
{language.t("command.project.open")}
</Button>
</div>
</Match>
<Match when={true}>
<div class="mt-30 mx-auto flex flex-col items-center gap-3">
<Icon name="folder-add-left" size="large" />