feat: auth config

This commit is contained in:
Tim
2025-07-16 15:13:39 +08:00
parent 01e9c93dfd
commit fa95328f6d
4 changed files with 31 additions and 7 deletions

View File

@@ -1,9 +1,15 @@
<template>
<div class="loading">GitHub 登录中...</div>
<div class="github-callback-page">
<l-hatch size="28" stroke="4" speed="3.5" color="var(--primary-color)"></l-hatch>
<div class="github-callback-page-text">Magic is happening...</div>
</div>
</template>
<script>
import { githubExchange } from '../utils/github'
import { hatch } from 'ldrs'
hatch.register()
export default {
name: 'GithubCallbackPageView',
@@ -23,11 +29,19 @@ export default {
</script>
<style scoped>
.loading {
.github-callback-page {
background-color: var(--background-color);
height: calc(100vh - var(--header-height));
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 20px;
}
.github-callback-page-text {
margin-top: 25px;
font-size: 16px;
color: var(--primary-color);
font-weight: bold;
}
</style>