-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added content to the Bottom Navigation Codelab, synced submodule, and…
… made changes to the rendered html to support better url snippets and paper buttons
- Loading branch information
1 parent
24deddd
commit fafe82a
Showing
7 changed files
with
218 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"environment": "web", | ||
"format": "html", | ||
"prefix": "https://storage.googleapis.com", | ||
"mainga": "UA-49880327-14", | ||
"updated": "2020-05-22T00:14:49-05:00", | ||
"id": "how-to-write-a-codelab", | ||
"duration": 8, | ||
"title": "How to Write a Codelab", | ||
"authors": "Zarin", | ||
"summary": "How to Write a Codelab", | ||
"source": "how-to.md", | ||
"theme": "", | ||
"status": [ | ||
"published" | ||
], | ||
"category": [ | ||
"sample" | ||
], | ||
"tags": [ | ||
"medium" | ||
], | ||
"feedback": "https://zarin.io", | ||
"url": "how-to-write-a-codelab" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
|
||
<!doctype html> | ||
|
||
<html> | ||
<head> | ||
<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes"> | ||
<meta name="theme-color" content="#4F7DC9"> | ||
<meta charset="UTF-8"> | ||
<title>How to Write a Codelab</title> | ||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Source+Code+Pro:400|Roboto:400,300,400italic,500,700|Roboto+Mono"> | ||
<link rel="stylesheet" href="//fonts.googleapis.com/icon?family=Material+Icons"> | ||
<link rel="stylesheet" href="https://storage.googleapis.com/codelab-elements/codelab-elements.css"> | ||
<style> | ||
.success { | ||
color: #1e8e3e; | ||
} | ||
.error { | ||
color: red; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<google-codelab-analytics gaid="UA-49880327-14"></google-codelab-analytics> | ||
<google-codelab codelab-gaid="" | ||
id="how-to-write-a-codelab" | ||
title="How to Write a Codelab" | ||
environment="web" | ||
feedback-link="https://zarin.io"> | ||
|
||
<google-codelab-step label="Overview" duration="1"> | ||
<h2 class="checklist" is-upgraded>What You'll Learn</h2> | ||
<ul class="checklist"> | ||
<li>how to set the amount of time each slide will take to finish</li> | ||
<li>how to include code snippets</li> | ||
<li>how to hyperlink items</li> | ||
<li>how to include images</li> | ||
<li>other stuff</li> | ||
</ul> | ||
|
||
|
||
</google-codelab-step> | ||
|
||
<google-codelab-step label="Setting Duration" duration="2"> | ||
<p>To indicate how long each slide will take to go through, set the <code>Duration</code> under each Heading 2 (i.e. <code>##</code>) to an integer. The integers refer to minutes. If you set <code>Duration: 4</code> then a particular slide will take 4 minutes to complete.</p> | ||
<p>The total time will automatically be calculated for you and will be displayed on the codelab once you create it.</p> | ||
|
||
|
||
</google-codelab-step> | ||
|
||
<google-codelab-step label="Code Snippets" duration="3"> | ||
<p>To include code snippets you can do a few things.</p> | ||
<ul> | ||
<li>Inline highlighting can be done using the tiny tick mark on your keyboard: "`"</li> | ||
<li>Embedded code</li> | ||
</ul> | ||
<h2 is-upgraded>JavaScript</h2> | ||
<pre><code>{ | ||
key1: "string", | ||
key2: integer, | ||
key3: "string" | ||
} | ||
</code></pre> | ||
<h2 is-upgraded>Java</h2> | ||
<pre><code>for (statement 1; statement 2; statement 3) { | ||
// code block to be executed | ||
} | ||
</code></pre> | ||
|
||
|
||
</google-codelab-step> | ||
|
||
<google-codelab-step label="Hyperlinking and Embedded Images" duration="1"> | ||
<h2 is-upgraded>Hyperlinking</h2> | ||
<p><a href="https://www.youtube.com/user/iamhalsey/playlists" target="_blank">Youtube - Halsey Playlists</a></p> | ||
<h2 is-upgraded>Images</h2> | ||
<p class="image-container"><img alt="alt-text-here" src="img/0.jpg"></p> | ||
|
||
|
||
</google-codelab-step> | ||
|
||
<google-codelab-step label="Other Stuff" duration="1"> | ||
<p>Checkout the official documentation here: <a href="https://github.com/googlecodelabs/tools/blob/master/FORMAT-GUIDE.md" target="_blank">Codelab Formatting Guide</a></p> | ||
|
||
|
||
</google-codelab-step> | ||
|
||
</google-codelab> | ||
|
||
<script src="https://storage.googleapis.com/codelab-elements/native-shim.js"></script> | ||
<script src="https://storage.googleapis.com/codelab-elements/custom-elements.min.js"></script> | ||
<script src="https://storage.googleapis.com/codelab-elements/prettify.js"></script> | ||
<script src="https://storage.googleapis.com/codelab-elements/codelab-elements.js"></script> | ||
<script src="//support.google.com/inapp/api.js"></script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
summary: How to Write a Codelab | ||
id: how-to-write-a-codelab | ||
categories: Sample | ||
tags: medium | ||
status: Published | ||
authors: Zarin | ||
Feedback Link: https://zarin.io | ||
|
||
# How to Write a Codelab | ||
<!-- ------------------------ --> | ||
## Overview | ||
Duration: 1 | ||
|
||
### What You’ll Learn | ||
- how to set the amount of time each slide will take to finish | ||
- how to include code snippets | ||
- how to hyperlink items | ||
- how to include images | ||
- other stuff | ||
|
||
<!-- ------------------------ --> | ||
## Setting Duration | ||
Duration: 2 | ||
|
||
To indicate how long each slide will take to go through, set the `Duration` under each Heading 2 (i.e. `##`) to an integer. | ||
The integers refer to minutes. If you set `Duration: 4` then a particular slide will take 4 minutes to complete. | ||
|
||
The total time will automatically be calculated for you and will be displayed on the codelab once you create it. | ||
|
||
<!-- ------------------------ --> | ||
## Code Snippets | ||
Duration: 3 | ||
|
||
To include code snippets you can do a few things. | ||
- Inline highlighting can be done using the tiny tick mark on your keyboard: "`" | ||
- Embedded code | ||
|
||
### JavaScript | ||
|
||
```javascript | ||
{ | ||
key1: "string", | ||
key2: integer, | ||
key3: "string" | ||
} | ||
``` | ||
|
||
### Java | ||
|
||
```java | ||
for (statement 1; statement 2; statement 3) { | ||
// code block to be executed | ||
} | ||
``` | ||
|
||
<!-- ------------------------ --> | ||
## Hyperlinking and Embedded Images | ||
Duration: 1 | ||
### Hyperlinking | ||
[Youtube - Halsey Playlists](https://www.youtube.com/user/iamhalsey/playlists) | ||
|
||
### Images | ||
![alt-text-here](assets/puppy.jpg) | ||
|
||
<!-- ------------------------ --> | ||
## Other Stuff | ||
Duration: 1 | ||
|
||
Checkout the official documentation here: [Codelab Formatting Guide](https://github.com/googlecodelabs/tools/blob/master/FORMAT-GUIDE.md) |
Submodule Android-Kotlin-Bottom-Navigation
updated
1 files
+26 −0 | codelab/Android-Kotlin-Bottom-Navigation.md |