Skip to content

Commit 2323132

Browse files
committed
Upgrading
1 parent b123c02 commit 2323132

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

src/containers/Home.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@
1212
color: #999;
1313
}
1414

15+
.Home .lander div {
16+
padding-top: 20px;
17+
}
18+
.Home .lander div a:first-child {
19+
margin-right: 20px;
20+
}
21+
1522
.Home .notes h4 {
1623
font-family: "Open Sans", sans-serif;
1724
font-weight: 600;

src/containers/Home.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React, { Component } from "react";
2+
import { Link } from "react-router-dom";
23
import { PageHeader, ListGroup, ListGroupItem } from "react-bootstrap";
34
import { invokeApig } from '../libs/awsLib';
45
import "./Home.css";
@@ -66,6 +67,14 @@ export default class Home extends Component {
6667
<div className="lander">
6768
<h1>Scratch</h1>
6869
<p>A simple note taking app</p>
70+
<div>
71+
<Link to="/login" className="btn btn-info btn-lg">
72+
Login
73+
</Link>
74+
<Link to="/signup" className="btn btn-success btn-lg">
75+
Signup
76+
</Link>
77+
</div>
6978
</div>
7079
);
7180
}

0 commit comments

Comments
 (0)