Migrate to svelte 5
This commit is contained in:
@@ -11,29 +11,29 @@
|
||||
{#if !isTauri}
|
||||
<a class="github-button mt-4" href="https://github.com/kwaroran/risuAI" data-color-scheme="no-preference: dark; light: dark; dark: dark;" data-size="large" data-show-count="true" aria-label="Star kwaroran/risuAI on GitHub">Star</a>
|
||||
{:else}
|
||||
<button on:click={() => {
|
||||
<button onclick={() => {
|
||||
openURL("https://github.com/kwaroran/risuAI")
|
||||
}}>
|
||||
<img src="/icon/github-mark-white.svg" width="24" alt="github" />
|
||||
</button>
|
||||
{/if}
|
||||
<button class="text-textcolor" on:click={() => {
|
||||
<button class="text-textcolor" onclick={() => {
|
||||
openURL("https://risuai.net/")
|
||||
}}>
|
||||
<HomeIcon size={24} />
|
||||
</button>
|
||||
<button class="text-textcolor" on:click={() => {
|
||||
<button class="text-textcolor" onclick={() => {
|
||||
openURL("https://www.patreon.com/RisuAI")
|
||||
}}>
|
||||
<WalletIcon size={24} />
|
||||
</button>
|
||||
<button class="text-textcolor" on:click={() => {
|
||||
<button class="text-textcolor" onclick={() => {
|
||||
openURL("mailto:risuai@proton.me")
|
||||
}}>
|
||||
<MailIcon size={24} />
|
||||
</button>
|
||||
{#if !isTauri}
|
||||
<button class="text-textcolor" on:click={() => {
|
||||
<button class="text-textcolor" onclick={() => {
|
||||
toggleFullscreen()
|
||||
}}>
|
||||
<MaximizeIcon size={24} />
|
||||
|
||||
Reference in New Issue
Block a user