import React from 'react'; import { Link } from 'react-router'; import ScrollElement from 'rc-scroll-anim/lib/ScrollElement'; import TweenOne from 'rc-tween-one'; import GitHubButton from 'react-github-button'; import 'react-github-button/assets/style.css'; import { Icon } from 'antd'; import QueueAnim from 'rc-queue-anim'; export default class Banner extends React.Component { typeFunc(a) { if (a.key === 'line') { return 'right'; } else if (a.key === 'button') { return 'bottom'; } return 'left'; } render() { return ( ); } }