mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-16 10:20:47 +02:00
Navigation to external site in blank page
This commit is contained in:
@@ -41,8 +41,8 @@
|
|||||||
import type { NavigationMenuItem } from '#ui/components/NavigationMenu.vue';
|
import type { NavigationMenuItem } from '#ui/components/NavigationMenu.vue';
|
||||||
|
|
||||||
const items = computed<NavigationMenuItem[]>(() => [
|
const items = computed<NavigationMenuItem[]>(() => [
|
||||||
{ label: 'API', to: 'https://github.com/C9Glax/tranga', icon: 'i-lucide-github' },
|
{ label: 'API', to: 'https://github.com/C9Glax/tranga', icon: 'i-lucide-github', target: '_blank' },
|
||||||
{ label: 'Website', to: 'https://github.com/C9Glax/tranga/website', icon: 'i-lucide-github' },
|
{ label: 'Website', to: 'https://github.com/C9Glax/tranga/website', icon: 'i-lucide-github', target: '_blank' },
|
||||||
{ label: 'Swagger', to: `${useRuntimeConfig().public.openFetch.api.baseURL}swagger`, icon: 'i-lucide-book-open' },
|
{ label: 'Swagger', to: `${useRuntimeConfig().public.openFetch.api.baseURL}swagger`, icon: 'i-lucide-book-open', target: '_blank' },
|
||||||
]);
|
]);
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user