|
|
@ -1,14 +1,23 @@ |
|
|
|
<script lang="ts" setup> |
|
|
|
<script lang="ts" setup> |
|
|
|
import { navigateTo } from '#app' |
|
|
|
import { navigateTo } from '#app' |
|
|
|
|
|
|
|
|
|
|
|
const route = useRoute() |
|
|
|
const route = useRoute() |
|
|
|
|
|
|
|
|
|
|
|
const openDiscord = () => { |
|
|
|
const openDiscord = () => { |
|
|
|
// shell.openExternal('https://discord.gg/5RgZmkW') |
|
|
|
// shell.openExternal('https://discord.gg/5RgZmkW') |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const isDashboard = computed(() => { |
|
|
|
const isDashboard = computed(() => { |
|
|
|
return route.path && (route.path === '/nc' || route.path === '/nc/' || route.path.startsWith('/nc/')) |
|
|
|
return route.path && (route.path === '/nc' || route.path === '/nc/' || route.path.startsWith('/nc/')) |
|
|
|
}) |
|
|
|
}) |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script lang="ts"> |
|
|
|
|
|
|
|
export default { |
|
|
|
|
|
|
|
name: 'Default', |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<v-app> |
|
|
|
<v-app> |
|
|
|
<slot name="header"> |
|
|
|
<slot name="header"> |
|
|
|