[feat] added community links

This commit is contained in:
kwaroran
2023-05-19 01:18:48 +09:00
parent d6097cfb9d
commit c228a66bfe
6 changed files with 41 additions and 3 deletions

View File

@@ -0,0 +1,16 @@
<script lang="ts">
import { language } from "src/lang";
import { openURL } from "src/ts/globalApi";
</script>
<h2 class="mb-2 text-2xl font-bold mt-2">{language.community}</h2>
<button
on:click={async () => {openURL("https://github.com/kwaroran/RisuAI")}}
class="drop-shadow-lg p-3 border-borderc border-solid mt-2 flex justify-center items-center ml-2 mr-2 border-1 hover:bg-selected text-sm">
Github
</button>
<button
on:click={async () => {openURL("https://discord.gg/JzP8tB9ZK8")}}
class="drop-shadow-lg p-3 border-borderc border-solid mt-2 flex justify-center items-center ml-2 mr-2 border-1 hover:bg-selected text-sm">
Discord
</button>