server down screen pt 1

This commit is contained in:
2026-01-02 14:56:52 +08:00
parent 24ebfebcfd
commit ce2e0aca4f
7 changed files with 189 additions and 11 deletions

View File

@@ -0,0 +1,21 @@
<script>
import { invoke } from "@tauri-apps/api/core";
</script>
<div class="size-full p-4">
<div class="flex flex-col gap-4 size-full justify-between">
<div class="flex flex-col gap-2">
<p class="text-md font-light">Something is not right...</p>
<p class="opacity-70 text-3xl font-bold">
Seems like the server is inaccessible. Check your network?
</p>
</div>
<button
class="btn"
onclick={() => {
console.log("Retrying server health detection");
invoke("restart_app");
}}>Try again</button
>
</div>
</div>