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