component/SignUp/ContentSignUpVendor.js
import React, { Component } from 'react'
import {Content, Card,CardTitle} from 'react-mdl';
import { Router, Route, Link, browserHistory, IndexRoute } from 'react-router'
import ComponentSignUpVendor from './ComponentSignUpVendor.js'
var spacerStyle = {
height: '50px',
backgroundColor: '#f3f3f3',
backgroundSize: 'cover'
}
var cardStyle = {
width: '80%',
margin: 'auto',
paddingBottom: "80px"
}
var cardTitleStyle = {
}
class ContentSignUpVendor extends Component {
/**
* Loads the card for signup.
* @return {html} - displays card on the page for signup.
*/
render(){
return(
<div className="learn-content mdl-typography--text-center">
<div style={spacerStyle} />
<Card shadow={0} style={cardStyle} >
<CardTitle style={cardTitleStyle} className="mdl-color--indigo mdl-color-text--white mdl-shadow--2dp">Sign Up: Vendor</CardTitle>
<ComponentSignUpVendor/>
</Card>
<div style={spacerStyle} />
</div>
);
}
};
export default ContentSignUpVendor