chore: footer icon
This commit is contained in:
parent
66732e133a
commit
46f86d4620
|
@ -16,8 +16,8 @@ const footer = useFoot()
|
|||
{{ $t(col.title) }}
|
||||
</h5>
|
||||
|
||||
<LocaleNuxtLink v-for="(item, i) in col.child" :key="i" class="font-bold" :href="item.link.href">
|
||||
{{ $t(item.link.name) }}
|
||||
<LocaleNuxtLink v-for="(item, i) in col.child" :key="i" class="flex gap-2 font-bold" :href="item.link.href">
|
||||
<span :class="item.icon" />{{ $t(item.link.name) }}
|
||||
</LocaleNuxtLink>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -58,12 +58,14 @@ export function useFoot() {
|
|||
title: 'foot.links[2].group',
|
||||
child: [
|
||||
{
|
||||
icon: 'i-ic-sharp-wechat',
|
||||
link: {
|
||||
name: 'foot.links[2].link[0]',
|
||||
href: '#',
|
||||
},
|
||||
},
|
||||
{
|
||||
icon: 'i-ri-twitter-fill',
|
||||
link: {
|
||||
name: 'foot.links[2].link[1]',
|
||||
href: '#',
|
||||
|
|
|
@ -66,6 +66,8 @@ export default defineConfig({
|
|||
'i-tabler-3d-cube-sphere',
|
||||
'i-tabler-api-app',
|
||||
'i-tabler-apple',
|
||||
'i-ic-sharp-wechat',
|
||||
'i-ri-twitter-fill',
|
||||
],
|
||||
presets: [
|
||||
presetAnu(),
|
||||
|
|
Loading…
Reference in New Issue