Add changelog

pull/1/head
I Made Setia Baruna 2021-02-01 02:08:42 +08:00
parent 932f03e377
commit 4487c068ec
1 changed files with 25 additions and 1 deletions

View File

@ -1,6 +1,7 @@
<script>
import { mdiCheckCircleOutline, mdiDiscord, mdiGoogleDrive, mdiLoading } from '@mdi/js';
import { mdiCheckCircleOutline, mdiChevronDown, mdiDiscord, mdiGoogleDrive, mdiLoading } from '@mdi/js';
import { onMount } from 'svelte';
import { slide } from 'svelte/transition';
import Button from '../components/Button.svelte';
import Icon from '../components/Icon.svelte';
@ -17,6 +18,12 @@
let selectedServer = null;
let changelogOpen = false;
function toggleChangelog() {
changelogOpen = !changelogOpen;
}
function signIn() {
gapi.auth2.getAuthInstance().signIn();
}
@ -99,4 +106,21 @@
<span class="bg-background rounded-xl pr-2"><Icon path={mdiDiscord} /> Baruna#4422</span>
Thanks😁!
</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>