fix links not showing on desktop

This commit is contained in:
2025-10-13 20:59:13 +02:00
parent 6bc7d94ff0
commit f88f2698ec

View File

@@ -1,16 +1,7 @@
<template> <template>
<UApp> <UApp>
<UHeader> <UHeader :toggle="true">
<template #content> <template #left>
<NuxtLink to="https://github.com/C9Glax/tranga" external no-prefetch><Icon name="i-lucide-github" />API</NuxtLink>
<NuxtLink to="https://github.com/C9Glax/tranga-website" external no-prefetch
><Icon name="i-lucide-github" />Website</NuxtLink
>
<NuxtLink :to="`${$config.public.openFetch.api.baseURL}swagger`" external no-prefetch
><Icon name="i-lucide-book-open" />Swagger</NuxtLink
>
</template>
<template #title>
<NuxtLink to="/"> <NuxtLink to="/">
<div class="h-full flex gap-2 items-center"> <div class="h-full flex gap-2 items-center">
<img src="/blahaj.png" class="h-lh cursor-grab" alt="Blahaj" /> <img src="/blahaj.png" class="h-lh cursor-grab" alt="Blahaj" />
@@ -26,6 +17,26 @@
</div> </div>
</NuxtLink> </NuxtLink>
</template> </template>
<template #content>
<NuxtLink to="https://github.com/C9Glax/tranga" external no-prefetch><Icon name="i-lucide-github" />API</NuxtLink>
<NuxtLink to="https://github.com/C9Glax/tranga-website" external no-prefetch
><Icon name="i-lucide-github" />Website</NuxtLink
>
<NuxtLink :to="`${$config.public.openFetch.api.baseURL}swagger`" external no-prefetch
><Icon name="i-lucide-book-open" />Swagger</NuxtLink
>
</template>
<template #default>
<div class="flex text-dimmed gap-2">
<NuxtLink to="https://github.com/C9Glax/tranga" external no-prefetch><Icon name="i-lucide-github" />API</NuxtLink>
<NuxtLink to="https://github.com/C9Glax/tranga-website" external no-prefetch
><Icon name="i-lucide-github" />Website</NuxtLink
>
<NuxtLink :to="`${$config.public.openFetch.api.baseURL}swagger`" external no-prefetch
><Icon name="i-lucide-book-open" />Swagger</NuxtLink
>
</div>
</template>
<template #right> <template #right>
<UButton icon="i-lucide-plus" to="/search" color="primary">Manga</UButton> <UButton icon="i-lucide-plus" to="/search" color="primary">Manga</UButton>
<UColorModeButton color="secondary" /> <UColorModeButton color="secondary" />
@@ -39,4 +50,5 @@
</UMain> </UMain>
</UApp> </UApp>
</template> </template>
<script setup lang="ts"></script> <script setup lang="ts">
</script>