import React from 'react'; import { Row, Col, Tag } from 'antd'; import QueueAnim from 'rc-queue-anim'; import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack'; import { Link } from 'bisheng/router'; import { FormattedMessage } from 'react-intl'; import * as utils from '../utils'; import svgBgToParallax from './util'; const page3Data = [ { title: , content: , img: 'https://gw.alipayobjects.com/zos/rmsportal/qggKjIGNFlVmMpwDUXPU.svg', to: '/docs/spec/download', }, { title: , content: , img: 'https://gw.alipayobjects.com/zos/rmsportal/dgjVqwkJvptQEtlfctvk.svg', link: 'http://library.ant.design/', }, { title: , content: , img: 'https://gw.alipayobjects.com/zos/rmsportal/vUxYuDdsbBBcMDxSGmwc.svg', link: 'http://kitchen.alipay.com/', hot: true, }, ]; const svgBg = [ , , , , , , , , , , ]; const svgChildren = svgBgToParallax(svgBg); export default function Page3({ locale }) { const isZhCN = locale === 'zh-CN'; const children = page3Data.map((item, i) => { const child = [
icon
,

{item.title} {item.hot ? ( HOT ) : null}

{item.content}

, ]; return ( { item.to ? ( {child} ) : ( {child} ) } ); }); return (
{svgChildren}

{children}
); }