import React from 'react'; import { Link } from 'react-router'; import { FormattedMessage } from 'react-intl'; import ScrollElement from 'rc-scroll-anim/lib/ScrollElement'; import GitHubButton from 'react-github-button'; 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 ( ); }