/**
 * Created by rburson on 12/23/15.
 */
import * as React from 'react'
import {CvState, CvProps, CvBaseMixin} from 'catreact'
import {} from 'catavolt-sdk'

export interface CvHeroHeaderState extends CvState {
}

export interface CvHeroHeaderProps extends CvProps {
    imageSrc:string;
}

/*
 ***************************************************
 * When you need to look fancy
 ***************************************************
 */
export var CvHeroHeader = React.createClass<CvHeroHeaderProps, CvHeroHeaderState>({

    mixins: [CvBaseMixin],

    render: function() {
        return (
            <div className="jumbotron">
                    <div className="center-block">
                        <img className="img-responsive center-block" src={this.props.imageSrc} style={{verticalAlign: 'middle'}}/>
                    </div>
            </div>
        );
    }
});
