ducky/web
2015-07-07
Parent:99a43a6d1d30
ducky/web/src/components/hero.jsx
Use our "production" config values. Use config values for our hosted test instance of the services. These aren't actually production values, but they're at least _live_ values.
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 })