💄 Optimize webpage connections experience

This commit is contained in:
2025-08-03 12:29:12 +08:00
parent 3d236c35c9
commit e689d15688
4 changed files with 20 additions and 44 deletions

View File

@@ -55,6 +55,11 @@ const router = createRouter({
},
],
},
{
path: '/auth/callback',
name: 'authCallback',
component: () => import('../views/callback.vue'),
},
{
path: '/:notFound(.*)',
name: 'errorNotFound',

View File

@@ -49,7 +49,7 @@
import { NCard, NList, NListItem, NThing, NAlert } from 'naive-ui'
import { computed, onMounted, ref } from 'vue'
const connectionsProviders = ['apple', 'google', 'microsoft', 'discord']
const connectionsProviders = ['apple', 'google', 'microsoft', 'discord', 'github', 'afdian']
const connections = ref<any[]>([])
const connectionsAddable = computed(() =>

View File

@@ -0,0 +1,9 @@
<template>
<div class="flex justify-center items-center">
<n-result status="success" title="Auth completed" description="Now you can close this tab" />
</div>
</template>
<script type="ts" setup>
import { NResult } from 'naive-ui';
</script>