feat: create atproto oauth login
This commit is contained in:
@@ -1,13 +1,15 @@
|
||||
<script lang="ts" setup>
|
||||
import NewVersion from '@/components/NewVersion.vue'
|
||||
import { useATProtoLogin } from '@/hooks/useATProtoLogin.hook'
|
||||
import { useGitHubLogin } from '@/hooks/useGitHubLogin.hook'
|
||||
|
||||
const { isReady } = useGitHubLogin()
|
||||
const { isATProtoReady } = useATProtoLogin()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div id="main-app" class="prose">
|
||||
<router-view v-if="isReady" />
|
||||
<router-view v-if="isReady && isATProtoReady" />
|
||||
|
||||
<new-version />
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user