diff --git a/site/theme/template/Home/Banner.jsx b/site/theme/template/Home/Banner.jsx deleted file mode 100644 index 5bd376e78b..0000000000 --- a/site/theme/template/Home/Banner.jsx +++ /dev/null @@ -1,135 +0,0 @@ -import React from 'react'; -import TweenOne from 'rc-tween-one'; -import QueueAnim from 'rc-queue-anim'; -import ScrollParallax from 'rc-scroll-anim/lib/ScrollParallax'; -import { Link } from 'bisheng/router'; -import { FormattedMessage, useIntl } from 'react-intl'; -import GitHubButton from 'react-github-button'; -import { Button, Divider, Icon } from 'antd'; -import BannerImage from './BannerImage'; -import * as utils from '../utils'; - -const loop = { - duration: 3000, - yoyo: true, - repeat: -1, -}; - -const Banner = ({ isMobile }) => { - const { locale } = useIntl(); - const isZhCN = locale === 'zh-CN'; - return ( -
- ); -}; - -export default Banner; diff --git a/site/theme/template/Home/Page2.jsx b/site/theme/template/Home/Page2.jsx deleted file mode 100644 index e2e3314bf8..0000000000 --- a/site/theme/template/Home/Page2.jsx +++ /dev/null @@ -1,235 +0,0 @@ -import React from 'react'; -import { Row, Col } 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 Icon from '../Icon'; -import * as utils from '../utils'; - -import svgBgToParallax from './util'; - -const page2Data = [ - { - img: 'https://gw.alipayobjects.com/zos/rmsportal/eYNnmGagLWdrkdMHVUuA.svg', - name: 'Ant Design Components', - }, - { - img: 'https://gw.alipayobjects.com/zos/rmsportal/EPaPtDVGnJhyqyBAUZMl.svg', - name: 'Ant Design Pro', - slogan:{item.slogan}
, - -
-
{item.content}
-