Skip to content

Commit

Permalink
Front page renovation has begun.
Browse files Browse the repository at this point in the history
  • Loading branch information
joeblas committed Nov 22, 2017
1 parent 65542ca commit 79d3a4c
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 8 deletions.
32 changes: 30 additions & 2 deletions imports/ui/pages/Index/Index.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,39 @@
import React from 'react';
import { Button, Image } from 'react-bootstrap';
import { Button, Image, Row, Col, Jumbotron } from 'react-bootstrap';
import { LinkContainer } from 'react-router-bootstrap';



import './Index.scss';
import { bootstrapUtils } from 'react-bootstrap/lib/utils';

bootstrapUtils.addStyle(Jumbotron, 'custom');


const Index = () => (
<div>
<style type="text/css">{`
.jumbotron-custom {
background-color: white;
color: #01597F;
}
`}</style>
<Row>
<Col md="6" sm="12" lg="6">
<Jumbotron bsStyle="custom">
<h2>Invoicing Made Simple</h2>
<p>CloudControl makes creating, sending, and managing invoices so much easier. It's so easy to work. Say goodbye to huge filing cabinets and hello to the cloud. Best of all, it's cheap.</p>
<LinkContainer to="/signup">
<Button href="" bsStyle="success" bsSize="large">Get Started for Free</Button>
</LinkContainer>
</Jumbotron>
</Col>
<Col md="6" sm="12" lg="6">
<Image responsive="true" className="col-md-offset-3" src="https://i.imgur.com/hcyPRbP.jpg"/>
</Col>
</Row>
<div className="Index">
<Image responsive="true" className="col-md-offset-3" src="https://i.imgur.com/hcyPRbP.jpg"/>
</div>
</div>
);

Expand Down
8 changes: 6 additions & 2 deletions imports/ui/pages/Index/Index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@
border-radius: 3px;
color: #fff;

.jumbotron-custom {
background-color: white;
}

img {
width: 600px;
height: auto;
max-width:100%;
height: 20vh;
}

h1 {
Expand Down
2 changes: 1 addition & 1 deletion imports/ui/pages/Invoices/Invoices.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Invoices = ({ loading, invoices, match, history }) => (!loading ? (
<div className="Invoices">
<div className="page-header clearfix">
<h4 className="pull-left">Invoices</h4>
<Link className="btn btn-success pull-right" to={`${match.url}/new`}>New Invoice</Link>
<Link className="btn btn-info pull-right" to={`${match.url}/new`}>New Invoice</Link>
</div>
{invoices.length ? <Table hover responsive>
<thead>
Expand Down
6 changes: 3 additions & 3 deletions imports/ui/pages/Invoices/Invoices.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
cursor: pointer;
}

.btn-success {
.btn-info {
background-color: $success;
border: $success;

}

.btn-success:hover {
.btn-info:hover {
background-color: #01597F;
}

.btn-success:active:hover, .btn-success:active:focus {
.btn-info:active:hover, .btn-info:active:focus {
background-color: #012C40;
}

Expand Down

0 comments on commit 79d3a4c

Please sign in to comment.