Skip to content

Commit 9506936

Browse files
committed
Updating the lander
1 parent c74afad commit 9506936

File tree

3 files changed

+24
-8
lines changed

3 files changed

+24
-8
lines changed

src/config.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,35 @@ const dev = {
22
STRIPE_KEY: "pk_test_v1amvR35uoCNduJfkqGB8RLD",
33
s3: {
44
REGION: "us-east-1",
5-
BUCKET: "notes-app-2-api-dev-attachmentsbucket-6wbhcogxihbo"
5+
BUCKET: "notes-app-2-api-dev-attachmentsbucket-qvdowkch2uj1"
66
},
77
apiGateway: {
88
REGION: "us-east-1",
99
URL: "https://api.serverless-stack.seed-demo.club/dev"
1010
},
1111
cognito: {
1212
REGION: "us-east-1",
13-
USER_POOL_ID: "us-east-1_yKOQs2dWK",
14-
APP_CLIENT_ID: "1h0r8s763vnqj4id6dvguanp8f",
15-
IDENTITY_POOL_ID: "us-east-1:dedfd34a-9d7e-4bf2-a1dd-ef603bac2ecb"
13+
USER_POOL_ID: "us-east-1_f8l0OHPtp",
14+
APP_CLIENT_ID: "5r5o292r1n7s2vgje5u5c7vpq0",
15+
IDENTITY_POOL_ID: "us-east-1:b718098b-fe72-410b-b4c6-0750f9135672"
1616
}
1717
};
1818

1919
const prod = {
2020
STRIPE_KEY: "pk_test_v1amvR35uoCNduJfkqGB8RLD",
2121
s3: {
2222
REGION: "us-east-1",
23-
BUCKET: "notes-app-2-api-prod-attachmentsbucket-1h5n5ttet1hy0"
23+
BUCKET: "notes-app-2-api-prod-attachmentsbucket-1v9w7kkxnznb7"
2424
},
2525
apiGateway: {
2626
REGION: "us-east-1",
2727
URL: "https://api.serverless-stack.seed-demo.club/prod"
2828
},
2929
cognito: {
3030
REGION: "us-east-1",
31-
USER_POOL_ID: "us-east-1_TwYpMXIJH",
32-
APP_CLIENT_ID: "6kfg0o7qo2i3ndk2ur906sc5fd",
33-
IDENTITY_POOL_ID: "us-east-1:f4c754b4-24f0-4754-8596-30afedece1fc"
31+
USER_POOL_ID: "us-east-1_mLbfKylhm",
32+
APP_CLIENT_ID: "mli2vaupiq3ga29m4698m6mrl",
33+
IDENTITY_POOL_ID: "us-east-1:4e377eff-0617-4098-b218-673490ffab8d"
3434
}
3535
};
3636

src/containers/Home.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,10 @@
2323
.Home .notes p {
2424
color: #666;
2525
}
26+
27+
.Home .lander div {
28+
padding-top: 20px;
29+
}
30+
.Home .lander div a:first-child {
31+
margin-right: 20px;
32+
}

src/containers/Home.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, { useState, useEffect } from "react";
22
import { API } from "aws-amplify";
3+
import { Link } from "react-router-dom";
34
import { LinkContainer } from "react-router-bootstrap";
45
import { PageHeader, ListGroup, ListGroupItem } from "react-bootstrap";
56
import { useAppContext } from "../libs/contextLib";
@@ -60,6 +61,14 @@ export default function Home() {
6061
<div className="lander">
6162
<h1>Scratch</h1>
6263
<p>A simple note taking app</p>
64+
<div>
65+
<Link to="/login" className="btn btn-info btn-lg">
66+
Login
67+
</Link>
68+
<Link to="/signup" className="btn btn-success btn-lg">
69+
Signup
70+
</Link>
71+
</div>
6372
</div>
6473
);
6574
}

0 commit comments

Comments
 (0)