Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit d0dddcb

Browse files
authored
Merge pull request #3 from awslabs/jp/updates-from-sfloft-feedback
Address SF Loft Feedback
2 parents 4182cba + b64de3c commit d0dddcb

File tree

117 files changed

+146
-115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+146
-115
lines changed

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Wild Rydes Serverless Web Application Workshop: Lab Guide
2-
Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.

README.md

Lines changed: 111 additions & 79 deletions

images/lab1_cognito-unauth-policy.png

114 KB
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lab1/index.html

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<title>Wild Rydes</title>
88

9-
10-
119
<link rel="stylesheet" href="styles/main.css">
1210

1311
<script src="scripts/vendor/modernizr.js"></script>
12+
<script src="scripts/vendor/aws-sdk.min.js" defer></script>
1413

1514
<script src="https://use.typekit.net/dmq4txp.js"></script>
1615
<script>try{Typekit.load({ async: true });}catch(e){}</script>
16+
17+
<script src="scripts/config.js" defer></script>
18+
<script src="scripts/index.js" defer></script>
1719
</head>
1820
<body class="page-home">
1921

@@ -82,16 +84,26 @@ <h2 class="section-title">Our Story</h2>
8284

8385
<section class="home-sign-up">
8486
<div class="row column">
85-
<img class="icon-w" src="images/wr-home-W.png">
87+
<div class="row column">
88+
<img class="icon-w" src="images/wr-home-W.png">
8689

87-
<form onsubmit="javascript:void(0);">
88-
<input type="email" placeholder="Enter your email address">
89-
<button type="button">Submit</button>
90-
</form>
90+
<div class="row column" id="form">
91+
<form>
92+
<input type="email" placeholder="Enter your email address">
93+
<button type="submit">Submit</button>
94+
</form>
9195

92-
<h2 class="section-title">Sign Up</h2>
96+
<h2 class="section-title">Sign Up</h2>
97+
98+
<p class="content">Wild Rydes is coming soon! Enter your email to enter the limited private beta</p>
99+
</div>
93100

94-
<p class="content">Wild Rydes is coming soon! Enter your email to enter the limited private beta</p>
101+
<div style="margin-top: 110px; display: none;" id="thank-you" class="row column">
102+
<h2 class="section-title">Thank You</h2>
103+
104+
<p class="content">Wild Rydes is coming soon! Stay tuned for more info about unicorns near you!</p>
105+
</div>
106+
</div>
95107

96108
<div class="apps">
97109
<a class="app-icon" href=""><img src="images/wr-home-apple.png"></a>
File renamed without changes.

lab2/scripts/index.js renamed to lab1/scripts/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ emailForm.addEventListener('submit', function (event) {
2222
};
2323

2424
dynamoDB.putItem(params, function (err, data) {
25-
if (err) {
26-
console.log(err);
27-
} else {
25+
if (!err) {
2826
formDiv.style.display = 'none';
2927
confirmationDiv.style.display = 'block';
28+
} else {
29+
alert(err);
30+
console.log(err);
3031
}
3132
});
3233
});

lab1/styles/main.css

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

lab4/admin/index.html renamed to lab2/admin/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ <h2>Wild Rydes Admin</h2>
2525
<h5>Navigation</h5>
2626
<ul>
2727
<li><a href="emails.html">View Emails</a></li>
28-
<li><a href="post.html">New Blog Post</a></li>
2928
<li><a id="logout" href="#">Log Out</a></li>
3029
</ul>
3130
</div>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lab3/admin/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ <h2>Wild Rydes Admin</h2>
2525
<h5>Navigation</h5>
2626
<ul>
2727
<li><a href="emails.html">View Emails</a></li>
28+
<li><a href="post.html">New Blog Post</a></li>
2829
<li><a id="logout" href="#">Log Out</a></li>
2930
</ul>
3031
</div>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lab2/index.html renamed to prelab/index.html

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@
99
<link rel="stylesheet" href="styles/main.css">
1010

1111
<script src="scripts/vendor/modernizr.js"></script>
12-
<script src="scripts/vendor/aws-sdk.min.js" defer></script>
1312

1413
<script src="https://use.typekit.net/dmq4txp.js"></script>
1514
<script>try{Typekit.load({ async: true });}catch(e){}</script>
16-
17-
<script src="scripts/config.js" defer></script>
18-
<script src="scripts/index.js" defer></script>
1915
</head>
2016
<body class="page-home">
2117

@@ -84,26 +80,16 @@ <h2 class="section-title">Our Story</h2>
8480

8581
<section class="home-sign-up">
8682
<div class="row column">
87-
<div class="row column">
88-
<img class="icon-w" src="images/wr-home-W.png">
89-
90-
<div class="row column" id="form">
91-
<form>
92-
<input type="email" placeholder="Enter your email address">
93-
<button type="submit">Submit</button>
94-
</form>
95-
96-
<h2 class="section-title">Sign Up</h2>
83+
<img class="icon-w" src="images/wr-home-W.png">
9784

98-
<p class="content">Wild Rydes is coming soon! Enter your email to enter the limited private beta</p>
99-
</div>
85+
<form onsubmit="javascript:void(0);">
86+
<input type="email" placeholder="Enter your email address">
87+
<button type="button">Submit</button>
88+
</form>
10089

101-
<div style="margin-top: 110px; display: none;" id="thank-you" class="row column">
102-
<h2 class="section-title">Thank You</h2>
90+
<h2 class="section-title">Sign Up</h2>
10391

104-
<p class="content">Wild Rydes is coming soon! Stay tuned for more info about unicorns near you!</p>
105-
</div>
106-
</div>
92+
<p class="content">Wild Rydes is coming soon! Enter your email to enter the limited private beta</p>
10793

10894
<div class="apps">
10995
<a class="app-icon" href=""><img src="images/wr-home-apple.png"></a>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

prelab/styles/main.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

0 commit comments

Comments
 (0)