feat: nuxt-claude 프로젝트 초기 커밋
Some checks failed
ci / ci (22, ubuntu-latest) (push) Failing after 25m52s
Some checks failed
ci / ci (22, ubuntu-latest) (push) Failing after 25m52s
Made-with: Cursor
This commit is contained in:
26
app/pages/confirm.vue
Normal file
26
app/pages/confirm.vue
Normal file
@@ -0,0 +1,26 @@
|
||||
<script setup lang="ts">
|
||||
definePageMeta({ layout: false })
|
||||
|
||||
const supabase = useSupabaseClient()
|
||||
const router = useRouter()
|
||||
|
||||
onMounted(async () => {
|
||||
const { data } = await supabase.auth.getSession()
|
||||
if (data.session) {
|
||||
await router.push('/')
|
||||
} else {
|
||||
await router.push('/login')
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<UApp>
|
||||
<div class="min-h-screen flex items-center justify-center">
|
||||
<div class="text-center space-y-4">
|
||||
<UIcon name="i-lucide-loader-circle" class="text-5xl text-primary-500 animate-spin" />
|
||||
<p class="text-gray-600 dark:text-gray-400">인증 처리 중...</p>
|
||||
</div>
|
||||
</div>
|
||||
</UApp>
|
||||
</template>
|
||||
Reference in New Issue
Block a user