Skip to content

Commit

Permalink
fix: fix footer color
Browse files Browse the repository at this point in the history
  • Loading branch information
kaivanwong committed May 17, 2024
1 parent f299184 commit 573ade0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Footer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getLinkTarget } from '@/utils/link'
</script>

<template>
<footer class="w-full mt-18 pt-6 pb-8 max-w-3xl text-sm flex flex-col gap-4 border-main border-t !border-op-50">
<footer class="w-full mt-18 pt-6 pb-8 max-w-3xl text-sm flex flex-col gap-4 border-main border-t !border-op-50 text-dark dark:text-white">
<div v-if="siteConfig.footer.navLinks && siteConfig.footer.navLinks.length > 0" class="flex flex-wrap gap-4">
<template v-for="(link, index) in siteConfig.footer.navLinks" :key="link.text">
<a
Expand All @@ -13,10 +13,10 @@ import { getLinkTarget } from '@/utils/link'
>
{{ link.text }}
</a>
<span v-if="index < siteConfig.footer.navLinks.length - 1"> / </span>
<span v-if="index < siteConfig.footer.navLinks.length - 1" op-70> / </span>
</template>
</div>
<div class="flex text-dark dark:text-white">
<div flex>
<a nav-link href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a>
<span op-70>&nbsp;&nbsp;&copy;&nbsp;&nbsp;{{ new Date().getFullYear() }}&nbsp;&nbsp;{{ siteConfig.author
}}.</span>
Expand Down

0 comments on commit 573ade0

Please sign in to comment.