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

View file

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