From 0db0235c037ce6b5d7d779867da245b41819a2aa Mon Sep 17 00:00:00 2001 From: Michael Lynn Date: Wed, 10 Oct 2018 10:19:55 -0400 Subject: [PATCH 1/2] Add app examples --- app/github-api-example.html | 66 +++++++++++++++++++ app/{index.html => mongodb-sdk-example.html} | 52 +++++++-------- app/mongodb-stitch-service-example.html | 67 ++++++++++++++++++++ app/styles/index.css | 10 +++ assets/large-badge.svg | 2 +- 5 files changed, 167 insertions(+), 30 deletions(-) create mode 100644 app/github-api-example.html rename app/{index.html => mongodb-sdk-example.html} (63%) create mode 100644 app/mongodb-stitch-service-example.html create mode 100644 app/styles/index.css diff --git a/app/github-api-example.html b/app/github-api-example.html new file mode 100644 index 0000000..09e3cc3 --- /dev/null +++ b/app/github-api-example.html @@ -0,0 +1,66 @@ + + + + + + +
+
+
+

MongoDB Hacktoberfest Entries

+

Welcome to Hacktoberfest!

+
+
+ + + + + + + + + + + + + + + + +
EntryRepoAuthor
{{ entry.name }} {{ entry.html_url }}
+
+ + + + + \ No newline at end of file diff --git a/app/index.html b/app/mongodb-sdk-example.html similarity index 63% rename from app/index.html rename to app/mongodb-sdk-example.html index fe1bb52..12347d6 100644 --- a/app/index.html +++ b/app/mongodb-sdk-example.html @@ -2,26 +2,29 @@ - +
-
-
-

MongoDB Hacktoberfest Entries

-

Welcome to Hacktoberfest!

-
-
- +
+
+

MongoDB Hacktoberfest Entries

+

Welcome to Hacktoberfest!

+
+
+ +
@@ -58,16 +61,7 @@

MongoDB Hacktoberfest Entries

this.entries = docs; }).catch(err => { console.error(err) - }); - } - - // fetch('http://api.github.com/search/repositories?q=topic:mongodb+topic:stitch+topic:hacktoberfest') - // fetch('http://api.github.com/search/repositories?q=topic:mongodb+topic:stitch+topic:hacktoberfest') - // .then(response => response.json()) - // .then(json => { - // console.log(json.items); - // this.entries = json.items; - // }) - //} + }); + } }) \ No newline at end of file diff --git a/app/mongodb-stitch-service-example.html b/app/mongodb-stitch-service-example.html new file mode 100644 index 0000000..c868851 --- /dev/null +++ b/app/mongodb-stitch-service-example.html @@ -0,0 +1,67 @@ + + + + + + +
+
+
+

MongoDB Hacktoberfest Entries

+

Welcome to Hacktoberfest!

+
+
+ +
Entry
+ + + + + + + + + + + + + + +
EntryRepoAuthor
{{ entry.name }} {{ entry.html_url }}
+
+ + + + + \ No newline at end of file diff --git a/app/styles/index.css b/app/styles/index.css new file mode 100644 index 0000000..fefabf0 --- /dev/null +++ b/app/styles/index.css @@ -0,0 +1,10 @@ +[v-cloak] {display: none} +body { + padding-top: 5rem; + padding-left: 5rem; + padding-right: 5rem; +} +.starter-template { + padding: 3rem 1.5rem; + text-align: center; +} \ No newline at end of file diff --git a/assets/large-badge.svg b/assets/large-badge.svg index 6599841..fa50303 100644 --- a/assets/large-badge.svg +++ b/assets/large-badge.svg @@ -1 +1 @@ - mongodb stitch appmongodb stitch appupup "; \ No newline at end of file + mongodb stitch appmongodb stitch appupup From 6aaef6cf82ec404beb17c1e85cd65d1d1602e3e1 Mon Sep 17 00:00:00 2001 From: Michael Lynn Date: Wed, 10 Oct 2018 11:53:04 -0400 Subject: [PATCH 2/2] Update badges.md --- badges.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/badges.md b/badges.md index 46d9a0c..ab14c75 100644 --- a/badges.md +++ b/badges.md @@ -29,9 +29,9 @@ Once you have the App ID, you can craft your own badge using the following synta ## Additional Examples ### Working Stitch App Example -[![Powered by Stitch](http://badge.learnstitch.com/index.php?appid=stitch-badges-dkhza)](http://cloud.mongodb.com) +[![Powered by Stitch](http://badge.learnstitch.com/?appid=stitch-badges-dkhza)](http://cloud.mongodb.com) ### Non-working Stitch App Example -[![Powered by Stitch](http://badge.learnstitch.com/index.php?appid=non-existing-app)](http://cloud.mongodb.com) +[![Powered by Stitch](http://badge.learnstitch.com/?appid=non-existing-app)](http://cloud.mongodb.com) -Replace ** with your actual Stitch App ID. \ No newline at end of file +Replace ** with your actual Stitch App ID.