💄 Optimize webpage connections experience
This commit is contained in:
@@ -55,6 +55,11 @@ const router = createRouter({
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/auth/callback',
|
||||
name: 'authCallback',
|
||||
component: () => import('../views/callback.vue'),
|
||||
},
|
||||
{
|
||||
path: '/:notFound(.*)',
|
||||
name: 'errorNotFound',
|
||||
|
@@ -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(() =>
|
||||
|
9
DysonNetwork.Pass/Client/src/views/callback.vue
Normal file
9
DysonNetwork.Pass/Client/src/views/callback.vue
Normal 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>
|
Reference in New Issue
Block a user