<template>
  <footer class="text-center py-10">
    Copyright {{ new Date().getFullYear() }} {{ config?.siteName }} Inc. All Rights Reserved.
    <a href="https://beian.miit.gov.cn/" target="_blank" class="ml-10"> 备案号：{{ config?.icpNo }}</a>
  </footer>
</template>

<script setup lang="ts">
// 请求数据
import type {Config} from "~/types/config";

const { data: config } = await useServerRequest<Config>('/cms/website-field/config', {})
</script>
