mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-16 02:10:49 +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';
|
||||
|
||||
const items = computed<NavigationMenuItem[]>(() => [
|
||||
{ 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' },
|
||||
]);
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user