OpenGraph

This commit is contained in:
2025-09-20 22:11:42 +08:00
parent b4c105b43e
commit dd6ff13228
16 changed files with 13280 additions and 26 deletions

View File

@@ -128,6 +128,10 @@ import IconDark from '~/assets/images/cloudy-lamb@dark.png'
const route = useRoute()
const api = useSolarNetwork()
useHead({
title: "Authorize Application"
})
// State
const isLoading = ref(true)
const isAuthorizing = ref(false)

View File

@@ -11,6 +11,10 @@
</template>
<script lang="ts" setup>
useHead({
title: "Auth Completed"
})
definePageMeta({
layout: "minimal"
})

View File

@@ -36,6 +36,10 @@ import CaptchaWidget from "@/components/CaptchaWidget.vue"
const route = useRoute()
useHead({
title: "Captcha Verification"
})
const onCaptchaVerified = (token: string) => {
if (window.parent !== window) {
window.parent.postMessage(`captcha_tk=${token}`, "*")

View File

@@ -153,6 +153,10 @@ import IconDark from "~/assets/images/cloudy-lamb@dark.png"
const router = useRouter()
const api = useSolarNetwork()
useHead({
title: "Create Account"
})
const stage = ref<"username-nick" | "email" | "password" | "captcha">(
"username-nick"
)

View File

@@ -11,6 +11,10 @@ import IconLight from "~/assets/images/cloudy-lamb.png"
import IconDark from "~/assets/images/cloudy-lamb@dark.png"
// State management
useHead({
title: "Sign In"
})
const stage = ref<
"find-account" | "select-factor" | "enter-code" | "token-exchange"
>("find-account")