import React from 'react'; import { Link } from 'react-router'; import { FormattedMessage } from 'react-intl'; import ScrollOverPack from 'rc-scroll-anim/lib/ScrollOverPack'; import GitHubButton from 'react-github-button'; import 'react-github-button/assets/style.css'; import { Icon } from 'antd'; import QueueAnim from 'rc-queue-anim'; function typeFunc(a) { if (a.key === 'line') { return 'right'; } else if (a.key === 'button') { return 'bottom'; } return 'left'; } export default function Banner({ location, onEnterChange }) { const query = location.query; return ( ); }