2023-05-04 17:42:22 +08:00
|
|
|
<script setup>
|
|
|
|
import { useFoot } from '~/config/use-foot'
|
|
|
|
|
|
|
|
const footer = useFoot()
|
|
|
|
</script>
|
|
|
|
|
2023-04-23 14:19:03 +08:00
|
|
|
<template>
|
2023-06-01 15:36:34 +08:00
|
|
|
<!-- <Divider /> -->
|
|
|
|
<div class="grid-row grid-cols-2 p-20 pt-30 lg:(grid-cols-3) md:(px-30) xl:px-60">
|
2023-04-27 13:58:47 +08:00
|
|
|
<div
|
2023-05-07 01:39:44 +08:00
|
|
|
v-for="(col, i) in footer.links"
|
2023-05-04 17:42:22 +08:00
|
|
|
:key="i"
|
2023-05-05 17:23:07 +08:00
|
|
|
class="w-full flex flex-col items-center gap-8"
|
2023-05-04 17:42:22 +08:00
|
|
|
>
|
|
|
|
<h5 text-title opacity-60>
|
|
|
|
{{ $t(col.title) }}
|
|
|
|
</h5>
|
|
|
|
|
2023-05-25 18:00:00 +08:00
|
|
|
<LocaleNuxtLink v-for="(item, i) in col.child" :key="i" :href="item.link.href">
|
|
|
|
<ABtn v-if="item.icon === 'i-ic-sharp-wechat'" variant="text" color="slate-200" class="dark:!text-light/50" :icon="item.icon">
|
|
|
|
{{ $t(item.link.name) }}
|
|
|
|
<ATooltip class="[&_.a-tooltip]-bg-green-600" placement="left">
|
|
|
|
<span class="a-tooltip-text">
|
|
|
|
<i class="i-ic-sharp-wechat me-1" />
|
|
|
|
<span>{{ $t('wechat') }}</span>
|
|
|
|
<img src="/wechat.png" class="h-40 rounded">
|
|
|
|
</span>
|
|
|
|
</ATooltip>
|
|
|
|
</ABtn>
|
|
|
|
<ABtn v-else variant="text" color="slate-200" class="dark:!text-light/50" :icon="item.icon">
|
|
|
|
{{ $t(item.link.name) }}
|
|
|
|
</ABtn>
|
2023-05-07 16:38:23 +08:00
|
|
|
</LocaleNuxtLink>
|
2023-05-04 17:42:22 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-07 01:39:44 +08:00
|
|
|
<div my-10 flex flex-col items-center justify-center gap-4>
|
|
|
|
<div flex items-center gap-4>
|
|
|
|
<BrandLogo />
|
|
|
|
<DarkToggle />
|
|
|
|
</div>
|
|
|
|
<p>
|
|
|
|
{{ $t(footer.copyright) }}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
{{ $t(footer.release) }}
|
|
|
|
</p>
|
|
|
|
<p v-for="(record, i) in footer.record" :key="i">
|
|
|
|
{{ $t(record) }}
|
|
|
|
</p>
|
2023-04-23 14:19:03 +08:00
|
|
|
</div>
|
|
|
|
</template>
|