<script lang="ts" setup>
const contacts = [
  {
    label: '电话',
    value: '15280659990',
    icon: 'i-heroicons-phone',
  },
  {
    label: '邮箱',
    value: '564737095@qq.com',
    icon: 'i-heroicons-envelope',
  },
  {
    label: '地址',
    value: '福建省福鼎市太姥山镇海埕路13号',
    icon: 'i-heroicons-map-pin',

  }
]
</script>

<template>
  <div
      :style="{ backgroundImage: `url('/img/index/footer_bg.png')` ,    }"
      class="bg-cover bg-no-repeat bg-center w-full ">
    <UFooter>
      <template #left>
        <p class="text-bold text-sm">Copyright © 闽ICP备2023022186号-2</p>
      </template>

      <div class="grid grid-cols-1 md:flex gap-4">
        <div
            v-for="(item, index) in contacts"
            :key="index"

            class="flex items-center  rounded-xl transition-all hover:scale-[1.02]  md:flex-row"
        >
          <UIcon :name="item.icon" class="w-6 h-6  text-current"/>

          <div class="font-medium">{{ item.label }}:</div>
          <div class="mt-1 text-sm">{{ item.value }}</div>

        </div>
      </div>


      <template #right>
        <!--        <UButton-->
        <!--            aria-label="Discord"-->
        <!--            color="neutral"-->
        <!--            icon="i-simple-icons-discord"-->
        <!--            target="_blank"-->
        <!--            to="https://go.nuxt.com/discord"-->
        <!--            variant="ghost"-->
        <!--        />-->
        <UButton

            color="neutral"
            icon="simple-icons-alibabadotcom"
            target="_blank"
            to="https://chuangtewulian.1688.com/page/index.html"

        />
        <UButton

            color="neutral"
            icon="i-simple-icons-tiktok"
            target="_blank"
            to="https://www.douyin.com/user/MS4wLjABAAAAdPkGyADnJFLrZBwDM9U7faUJs-wmmyEU9L34SS0CKhs"

        />
      </template>
    </UFooter>
  </div>

</template>
