Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: src/site/samples/notifications/index.markdown

Issue 35563005: Added landing pages for new samples (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Added samples to be released to yaml file Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/site/samples/notifications/index.markdown
diff --git a/src/site/samples/notifications/index.markdown b/src/site/samples/notifications/index.markdown
new file mode 100644
index 0000000000000000000000000000000000000000..3c80d58ce98d914501e311ce63570b9968d3a422
--- /dev/null
+++ b/src/site/samples/notifications/index.markdown
@@ -0,0 +1,31 @@
+---
Kathy Walrath 2013/10/23 15:41:05 isn't in the samples index
shailentuli 2013/10/23 17:36:57 Saving it.
+layout: default
+title: Using the Notifications API
+live_example_url: example/index.html
+
+header:
+ css: ["/samples/samples.css"]
+---
+
+## {{ page.title }}
+
+A simple example showing use of the Notifications API. To find out more about
+this API, read the
+[Using the Notifications
+API](http://www.html5rocks.com/en/tutorials/notifications/quick) article by
+Ernest Delgado, originally published on HTML5Rocks.
+
+The Notifications API allows you to display notifications to the user for
+given events, both passively (new emails, tweets, or calendar events) and on
+user interactions.
+
+You can open the example in Dart Editor and run it by clicking `index.html`.
+Read the
+[source](https://github.com/dart-lang/dart-samples/tree/master/web/html5/notifications/quick).
+
+<iframe class="running-app-frame"
+ style="height:500px;width:100%;"
+ src="{{page.live_example_url}}">
+</iframe>
+
Kathy Walrath 2013/10/23 15:41:05 Strangely, the notification had a blogger (?) icon
shailentuli 2013/10/23 17:36:57 Hmmm. Yup, I noticed a couple of other issues as w
+See all [samples](/samples/).

Powered by Google App Engine
This is Rietveld 408576698