Last active
March 6, 2017 17:57
-
-
Save alextorn/3350cfd64d658051948dd82f2be4759e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactCSSTransitionGroup from 'react-addons-css-transition-group'; | |
const Hero = () => ( | |
<div className="hero"> | |
<ReactCSSTransitionGroup | |
component="div" | |
className="hero_text" | |
transitionName="is-loaded" | |
transitionEnterTimeout={300} | |
transitionLeaveTimeout={300} | |
> | |
<h4 key="hero_h4">The most recent project</h4> | |
<h2 key="hero_h2">My name is Alexander Torn. I’m front-end engineer, javascript developer and also digital nomad.</h2> | |
<a key="hero_a" download="alexander-torn-cv.pdf" className="btn" href="/cv">Download CV <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 16 16"><path fill="#fff" d="M0 14h16v2H0v-2zM8 13l5-5h-3V0H6v8H3z" /></svg></a> | |
</ReactCSSTransitionGroup> | |
</div> | |
); | |
export default Hero; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
component:
css: