diff --git a/postcss.config.js b/postcss.config.js index 60899c6..68dbaac 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -16,6 +16,7 @@ export default { case '.fa-github:before': case '.fa-star:before': case '.fa-circle:before': + case '.fa-trash-can:before': return false; } return true; diff --git a/src/lib/DiskTab.svelte b/src/lib/DiskTab.svelte index f812cdc..fe873d3 100644 --- a/src/lib/DiskTab.svelte +++ b/src/lib/DiskTab.svelte @@ -1,8 +1,32 @@

Disk

-

Backend latency: {$diskLatency}ms

+ + +{#if state == "CONFIRM"} +

Warning: WebVM will reload

+{:else} +

Backend latency: {$diskLatency}ms

+{/if}

WebVM runs on top of a complete Linux distribution

Filesystems up to 2GB are supported and data is downloaded completely on-demand

The WebVM cloud backend uses WebSockets and a it's distributed via a global CDN to minimize download latency

diff --git a/src/lib/SideBar.svelte b/src/lib/SideBar.svelte index 6a40181..62e230c 100644 --- a/src/lib/SideBar.svelte +++ b/src/lib/SideBar.svelte @@ -52,7 +52,7 @@ {:else if activeInfo === 'CPU'} {:else if activeInfo === 'Disk'} - + {:else if activeInfo === 'Discord'} {:else if activeInfo === 'GitHub'} diff --git a/src/lib/WebVM.svelte b/src/lib/WebVM.svelte index 2157b40..de00cb8 100644 --- a/src/lib/WebVM.svelte +++ b/src/lib/WebVM.svelte @@ -282,12 +282,15 @@ await cx.networkLogin(); w.location.href = await startLogin(); } + async function handleReset() + { + }