mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-10-05 05:07:58 +03:00
feat: add github support, remove easter egg and declutter
This commit is contained in:
@@ -10,15 +10,15 @@
|
||||
<div class="overlay" transition:fade>
|
||||
<div>
|
||||
<h2 class="error">{t('status.error')}</h2>
|
||||
{#if !expected}
|
||||
<span>{t('status.error.hint')}<a href={DISCORD_INVITE}>{t('status.error.hint.link')}</a></span>
|
||||
{/if}
|
||||
<span class="detail">{error}</span>
|
||||
|
||||
<a class="hint" href="/support">{t("status.error.hint")}</a>
|
||||
<div class="actions">
|
||||
<button on:click={() => location.reload()} class="error">
|
||||
{t('action.refresh')}
|
||||
</button>
|
||||
<button on:click={() => location.href = "/home"} class="error">
|
||||
{t('action.home')}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -26,14 +26,19 @@
|
||||
<style lang="sass">
|
||||
.actions
|
||||
display: flex
|
||||
gap: 16px
|
||||
gap: 0.5em
|
||||
|
||||
button
|
||||
width: 100%
|
||||
|
||||
.detail
|
||||
white-space: pre-line
|
||||
font-size: 0.9em
|
||||
line-height: 1.2
|
||||
opacity: 0.8
|
||||
|
||||
.hint
|
||||
font-size: 0.875em
|
||||
|
||||
.overlay > div
|
||||
min-width: 15rem
|
||||
max-width: 25rem
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user