feat(#5): use auth
This commit is contained in:
+9
-1
@@ -1,6 +1,14 @@
|
||||
<script setup lang="ts">
|
||||
import {useAuthStore} from '@/auth';
|
||||
|
||||
const authStore = useAuthStore();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div></div>
|
||||
<div class="flex flex-col items-center justify-center h-screen gap-4">
|
||||
<h1 class="text-2xl">eveal</h1>
|
||||
<button v-if="!authStore.isAuthenticated" @click="authStore.login()">
|
||||
Login with EVE Online
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user