|
|
@ -1,16 +1,16 @@
|
|
|
|
'use client';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import Image from 'next/image';
|
|
|
|
import Image from 'next/image';
|
|
|
|
|
|
|
|
|
|
|
|
import DownloadCard from '@/app/download/components/DownloadCard';
|
|
|
|
import DownloadCard from '@/app/download/components/DownloadCard';
|
|
|
|
|
|
|
|
|
|
|
|
const qrCodeList: Array<DownloadQrcodeCard> = [
|
|
|
|
const qrCodeList: Array<DownloadQrcodeCard> = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
id: 'apple',
|
|
|
|
platform: 'APP Store',
|
|
|
|
platform: 'APP Store',
|
|
|
|
iconUrl: '/img/download/logo_apple.svg',
|
|
|
|
iconUrl: '/img/download/logo_apple.svg',
|
|
|
|
qrCode: '',
|
|
|
|
qrCode: '/img/download/qrcode_apple.svg',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
id: 'android',
|
|
|
|
platform: 'Android',
|
|
|
|
platform: 'Android',
|
|
|
|
iconUrl: '/img/download/logo_android.svg',
|
|
|
|
iconUrl: '/img/download/logo_android.svg',
|
|
|
|
qrCode: '/img/download/qrcode_android.svg',
|
|
|
|
qrCode: '/img/download/qrcode_android.svg',
|
|
|
@ -31,14 +31,14 @@ export default function Download() {
|
|
|
|
height={20}
|
|
|
|
height={20}
|
|
|
|
src="/img/download/slogan_line2.svg"
|
|
|
|
src="/img/download/slogan_line2.svg"
|
|
|
|
alt="/"
|
|
|
|
alt="/"
|
|
|
|
/>{' '}
|
|
|
|
/>
|
|
|
|
<Image width={143} height={24} src="/img/download/slogan_line3.svg" alt="独立 不独于世" />
|
|
|
|
<Image width={143} height={24} src="/img/download/slogan_line3.svg" alt="独立 不独于世" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{/* APP二维码 */}
|
|
|
|
{/* APP二维码 */}
|
|
|
|
<div className="flex flex-row">
|
|
|
|
<div className="flex flex-row">
|
|
|
|
{qrCodeList.map(({ platform, iconUrl, qrCode }) => (
|
|
|
|
{qrCodeList.map((item: DownloadQrcodeCard) => (
|
|
|
|
<DownloadCard key={platform} platform={platform} iconUrl={iconUrl} qrCode={qrCode} />
|
|
|
|
<DownloadCard key={item.id} {...item} />
|
|
|
|
))}
|
|
|
|
))}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|