<script setup lang="ts">
import {useAuthStore} from '@/auth';

const authStore = useAuthStore();
</script>

<template>
    <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>