ducky/web

Paddy 2015-07-03 Parent:99a43a6d1d30

15:0340f522bce9 Go to Latest

ducky/web/src/components/hero.jsx

Upgrade babel. Take advantage of shorter compilation times. Woohoo!

History
1 import React from 'react'
2 import heroStyles from '../styles/hero.scss'
4 export default React.createClass({
5 displayName: 'HeroUnit',
7 render () {
8 return (
9 <div className='hero'>
10 <div className='hero-inner'>
11 <img src={require('./ducky.svg')} className='hero-logo'/>
12 <div className='hero-copy'>
13 <h1>{this.props.title}</h1>
14 <p>{this.props.children}</p>
15 </div>
16 </div>
17 </div>
18 )
19 }
20 })