feat: (auth) Add Google and DIscord Auth
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 2m0s
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 2m0s
This commit is contained in:
19
src/components/DiscordOauthComponent.vue
Normal file
19
src/components/DiscordOauthComponent.vue
Normal file
@@ -0,0 +1,19 @@
|
||||
<template>
|
||||
<q-btn
|
||||
@click="auth.discordLogin()"
|
||||
style="width: 300px">
|
||||
<q-avatar
|
||||
left
|
||||
size="sm"
|
||||
class="q-ma-xs">
|
||||
<img
|
||||
src="https://cdn.prod.website-files.com/6257adef93867e50d84d30e2/636e0a6a49cf127bf92de1e2_icon_clyde_blurple_RGB.png" />
|
||||
</q-avatar>
|
||||
Login with Discord
|
||||
</q-btn>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useAuthStore } from 'src/stores/auth';
|
||||
const auth = useAuthStore();
|
||||
</script>
|
||||
Reference in New Issue
Block a user