feat: remove link icon in footer

This commit is contained in:
kaivanwong 2024-05-16 19:16:31 +08:00
parent 576c309aea
commit f3aaa2d9b1
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
<script lang="ts" setup> <script lang="ts" setup>
import siteConfig from '@/site-config' import siteConfig from '@/site-config'
import { getLinkTarget, isExternalLink } from '@/utils/link' import { getLinkTarget } from '@/utils/link'
</script> </script>
<template> <template>
@ -12,7 +12,6 @@ import { getLinkTarget, isExternalLink } from '@/utils/link'
:href="link.href" :href="link.href"
> >
{{ link.text }} {{ link.text }}
<i v-if="isExternalLink(link.href)" text-sm ml-1 i-carbon-link />
</a> </a>
<span v-if="index < siteConfig.footer.navLinks.length - 1"> / </span> <span v-if="index < siteConfig.footer.navLinks.length - 1"> / </span>
</template> </template>

View file

@ -98,7 +98,7 @@ export const siteConfig = {
href: '/md-style', href: '/md-style',
}, },
{ {
text: 'Vitesse theme on Astro', text: 'Astro theme',
href: 'https://astro.build/themes/details/vitesse-theme-for-astro/', href: 'https://astro.build/themes/details/vitesse-theme-for-astro/',
}, },
{ {