From 68ec11afeaddd469b6cce52cf93d4591ed4a941b Mon Sep 17 00:00:00 2001 From: glax Date: Wed, 15 Oct 2025 19:14:26 +0200 Subject: [PATCH] Navigation to external site in blank page --- website/app/app.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/app/app.vue b/website/app/app.vue index 6acb509..0e90443 100644 --- a/website/app/app.vue +++ b/website/app/app.vue @@ -41,8 +41,8 @@ import type { NavigationMenuItem } from '#ui/components/NavigationMenu.vue'; const items = computed(() => [ - { label: 'API', to: 'https://github.com/C9Glax/tranga', icon: 'i-lucide-github' }, - { label: 'Website', to: 'https://github.com/C9Glax/tranga/website', icon: 'i-lucide-github' }, - { label: 'Swagger', to: `${useRuntimeConfig().public.openFetch.api.baseURL}swagger`, icon: 'i-lucide-book-open' }, + { 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', target: '_blank' }, + { label: 'Swagger', to: `${useRuntimeConfig().public.openFetch.api.baseURL}swagger`, icon: 'i-lucide-book-open', target: '_blank' }, ]);