import React from 'react'; import { Link } from 'bisheng/router'; import { FormattedMessage } from 'react-intl'; import ScrollElement from 'rc-scroll-anim/lib/ScrollElement'; import GitHubButton from 'react-github-button'; import { Icon, Button } from 'antd'; import QueueAnim from 'rc-queue-anim'; import * as utils from '../utils'; function typeFunc(a) { if (a.key === 'line') { return 'left'; } else if (a.key === 'button') { return 'bottom'; } return 'right'; } export default function Banner({ location }) { const isZhCN = utils.isZhCN(location.pathname); return (
); }