mirror of
https://github.com/MadeBaruna/paimon-moe.git
synced 2025-03-20 13:58:58 +01:00
Add changelog
This commit is contained in:
parent
932f03e377
commit
4487c068ec
1 changed files with 25 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
<script>
|
<script>
|
||||||
import { mdiCheckCircleOutline, mdiDiscord, mdiGoogleDrive, mdiLoading } from '@mdi/js';
|
import { mdiCheckCircleOutline, mdiChevronDown, mdiDiscord, mdiGoogleDrive, mdiLoading } from '@mdi/js';
|
||||||
import { onMount } from 'svelte';
|
import { onMount } from 'svelte';
|
||||||
|
import { slide } from 'svelte/transition';
|
||||||
|
|
||||||
import Button from '../components/Button.svelte';
|
import Button from '../components/Button.svelte';
|
||||||
import Icon from '../components/Icon.svelte';
|
import Icon from '../components/Icon.svelte';
|
||||||
|
@ -17,6 +18,12 @@
|
||||||
|
|
||||||
let selectedServer = null;
|
let selectedServer = null;
|
||||||
|
|
||||||
|
let changelogOpen = false;
|
||||||
|
|
||||||
|
function toggleChangelog() {
|
||||||
|
changelogOpen = !changelogOpen;
|
||||||
|
}
|
||||||
|
|
||||||
function signIn() {
|
function signIn() {
|
||||||
gapi.auth2.getAuthInstance().signIn();
|
gapi.auth2.getAuthInstance().signIn();
|
||||||
}
|
}
|
||||||
|
@ -99,4 +106,21 @@
|
||||||
<span class="bg-background rounded-xl pr-2"><Icon path={mdiDiscord} /> Baruna#4422</span>
|
<span class="bg-background rounded-xl pr-2"><Icon path={mdiDiscord} /> Baruna#4422</span>
|
||||||
Thanks😁!
|
Thanks😁!
|
||||||
</div>
|
</div>
|
||||||
|
<div class="bg-item rounded-xl mb-4 p-4 text-white">
|
||||||
|
<p class="cursor-pointer" on:click={toggleChangelog}>
|
||||||
|
Changelog <Icon
|
||||||
|
className={`duration-100 ease-in ${changelogOpen ? 'transform rotate-180' : ''}`}
|
||||||
|
path={mdiChevronDown}
|
||||||
|
/>
|
||||||
|
</p>
|
||||||
|
{#if changelogOpen}
|
||||||
|
<div transition:slide class="mt-4">
|
||||||
|
<pre class="bg-background rounded-xl py-2 px-4">2021/02/01
|
||||||
|
- Add detail to wish counter
|
||||||
|
- Bug fixes</pre>
|
||||||
|
<pre class="bg-background rounded-xl py-2 px-4 mt-2">2021/01/12
|
||||||
|
- Add Ganyu</pre>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue