Skip to content

Commit

Permalink
add brick layout link to dummy app
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Whitton committed Apr 10, 2017
1 parent 8820574 commit e5bcf06
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
3 changes: 3 additions & 0 deletions tests/dummy/app/templates/application.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
<li>
{{link-to 'nypr-multi-card' 'multi-card'}}
</li>
<li>
{{link-to 'nypr-brick-layout' 'brick'}}
</li>
</ul>
{{outlet}}
</div>
3 changes: 3 additions & 0 deletions tests/dummy/app/templates/card.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{{md-text text="
# `nypr-card`
"}}
<h2>basic usage</h2>
{{code-snippet name="basic.hbs"}}

Expand Down
6 changes: 3 additions & 3 deletions tests/dummy/app/templates/multi-card.hbs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{{md-text
text="
## Multi card
# `nypr-multi-card`
The `nypr-multi-card` component can be used to create simple links between cards by using the yielded `panel` component. At minimum, each `panel` takes a `to` attribute, which points to another panel by its index in the DOM tree.
### Basic Usage
## Basic Usage
Use the exposed `button` property on the yielded `panel` to place the button that will switch to another panel.
```htmlbars
{{#nypr-multi-card as |m|}}
Expand Down Expand Up @@ -38,7 +38,7 @@ Use the exposed `button` property on the yielded `panel` to place the button tha
{{md-text
text="
### Advanced
## Advanced
`panels` are actually just `nypr-card` components under the hood, and they expose the same API on the `header` property, so you can open up `panel.header` to add a title or even pu the control button in there.
"
Expand Down

0 comments on commit e5bcf06

Please sign in to comment.