ducky/web

Paddy 2015-05-03 Parent:99a43a6d1d30

1:2cd4e16a669e Go to Latest

ducky/web/src/components/hero.jsx

Remove .swp files, update package.json. Remove the .swp files and add .swp to the .hgignore file. Update package.json to pin webpack at 1.8.9 because 1.8.10 broke everything and decided that didn't deserve a major version bump. See https://github.com/webpack/webpack/issues/1016

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 })