2023-08-02 15:09:56 +08:00
|
|
|
<script setup lang="ts">
|
2023-08-02 15:53:06 +08:00
|
|
|
import { useWeb3 } from '~/config/pages/solutions/use-web3'
|
2023-08-02 15:09:56 +08:00
|
|
|
|
2023-08-02 15:53:06 +08:00
|
|
|
const content = useWeb3()
|
2023-08-02 15:09:56 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2023-08-02 15:53:06 +08:00
|
|
|
<SectionBanner :img="content.head?.img" :title="content.head?.title" :topic="content.head?.topic" :description="content.head?.description" font-bold text-white />
|
2023-08-11 19:14:19 +08:00
|
|
|
<!-- <SectionGradientCard :content="content.feature.content" :topic="content.feature.topic" /> -->
|
2023-08-02 15:09:56 +08:00
|
|
|
|
|
|
|
<Section>
|
2024-05-25 14:39:34 +08:00
|
|
|
<div class="grid grid-cols-2 gap-20 pb-20 lg:(grid-cols-4)">
|
2023-08-11 19:14:19 +08:00
|
|
|
<div
|
|
|
|
v-for="(item, i) in content.feature.content"
|
|
|
|
:key="i"
|
|
|
|
class="w-full text-center"
|
|
|
|
>
|
|
|
|
<div :class="item.icon" mb-5 h-60px w-full />
|
|
|
|
<h4 text-h4 mb-1 font-bold>
|
|
|
|
{{ $t(item.title) }}
|
|
|
|
</h4>
|
|
|
|
<p text-h7>
|
|
|
|
{{ $t(item.description) }}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Section>
|
2023-08-02 15:09:56 +08:00
|
|
|
|
2023-08-11 19:14:19 +08:00
|
|
|
<Section>
|
|
|
|
<div class="flex flex-col rounded-lg bg-light-800/5 p-10 md:flex-row">
|
|
|
|
<div class="flex-1/2 md:px-12">
|
|
|
|
<BrandLogo class="flex scale-90 justify-center md:justify-start" />
|
|
|
|
<div class="h-full flex flex-col items-center justify-center pb-100px md:pb-300px">
|
|
|
|
<Typography
|
|
|
|
description-class="line-clamp-none"
|
|
|
|
:topic="$t(content.solutions.topic)" :description="$t(content.solutions.description)" :link="{
|
|
|
|
href: content.solutions.link.href,
|
|
|
|
name: $t(content.solutions.link.name),
|
|
|
|
}" class="pt-5 md:text-start"
|
|
|
|
/>
|
2023-08-02 15:09:56 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2024-05-25 14:39:34 +08:00
|
|
|
<div class="3xl:grid-cols-4 grid flex-grow pb-10 2xl:grid-cols-3 lg:grid-cols-2">
|
2023-08-11 19:14:19 +08:00
|
|
|
<!-- 👉 2nd card -->
|
|
|
|
<Card
|
|
|
|
v-for="(item, i) in content.solutions.content"
|
|
|
|
:key="i"
|
|
|
|
class="bg-transparent" :class="[`animated-delay-${i * 100}ms`] "
|
|
|
|
:title="item.title"
|
|
|
|
:description="item.subtitle"
|
|
|
|
:img="item.img"
|
|
|
|
:href="item.href"
|
|
|
|
:avatar="item?.avatar"
|
|
|
|
:author="item?.author"
|
|
|
|
:profession="item?.profession"
|
|
|
|
:create-time="item?.createTime"
|
|
|
|
/>
|
2023-08-02 15:09:56 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</Section>
|
2023-08-11 19:14:19 +08:00
|
|
|
|
|
|
|
<Typography :topic=" $t(content.ending)" class="pt-5" />
|
2023-08-02 15:09:56 +08:00
|
|
|
</template>
|