mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-11 05:57:26 +08:00
[F] Fix transition
This commit is contained in:
@@ -204,3 +204,6 @@ main.content
|
|||||||
gap: 1rem
|
gap: 1rem
|
||||||
|
|
||||||
max-width: 400px
|
max-width: 400px
|
||||||
|
|
||||||
|
.no-margin
|
||||||
|
margin: 0
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
<!-- Svelte 4.2.11 -->
|
<!-- Svelte 4.2.11 -->
|
||||||
|
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { slide } from "svelte/transition";
|
import { slide, fade } from "svelte/transition";
|
||||||
import { USER } from "../../libs/sdk";
|
import { USER } from "../../libs/sdk";
|
||||||
import type { UserMe } from "../../libs/generalTypes";
|
import type { UserMe } from "../../libs/generalTypes";
|
||||||
import { codeToHtml } from 'shiki'
|
import { codeToHtml } from 'shiki'
|
||||||
@@ -54,16 +54,17 @@ id=${keychip.slice(0, 4)}-${keychip.slice(4)}1337`.trim(), {
|
|||||||
|
|
||||||
{#if user}
|
{#if user}
|
||||||
<div transition:slide>
|
<div transition:slide>
|
||||||
{#if !keychip}
|
{#if !keychip && !keychipCode}
|
||||||
<!-- TODO : Fix transition -->
|
<div class="no-margin" out:fade={{ duration: 300 }}>
|
||||||
<button class="emp" on:click={getStarted} transition:slide>Get started</button>
|
<button class="emp" on:click={getStarted}>Get started</button>
|
||||||
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<div transition:slide>
|
<div class="no-margin" in:fade={{ delay: 300 }}>
|
||||||
<p>
|
<p>
|
||||||
Please edit your segatools.ini file and modify the following lines:
|
Please edit your segatools.ini file and modify the following lines:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="code" style="overflow: auto;">
|
<div class="code">
|
||||||
{@html keychipCode}
|
{@html keychipCode}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user