Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Cards #1

Open
6 tasks
cyk opened this issue Jun 17, 2017 · 0 comments
Open
6 tasks

Cards #1

cyk opened this issue Jun 17, 2017 · 0 comments

Comments

@cyk
Copy link
Owner

cyk commented Jun 17, 2017

  • Card
  • Primary Section
  • Title
  • Subtitle
  • Media Item
  • Action

Example:

<gm::card as |card|>
    {{#card.primary}}
        {{#card.title large=true}}Title goes here{{/card.title}}
        {{#card.subtitle}}Subtitle goes here{{/card.subtitle}}
    {{/card.primary}}
    {{card.media-item size="1x" src="image.jpg"}}
    {{#card.actions}}
        {{#card.action compact=true}}Action 1{{/card.action}}
        {{#card.action compact=true}}Action 2{{/card.action}}
    {{/card.actions}}
</gm::card>

Reference:
https://material.io/components/web/catalog/cards/

Blocked by:

cyk added a commit that referenced this issue Jun 24, 2017
* Start work on gm-card, yield BEM subcomponent classes stop-gap until contextual components are ready
* Add hash template helper
* Card demo
cyk added a commit that referenced this issue Jun 25, 2017
* Start work on gm-card, yield BEM subcomponent classes stop-gap until contextual components are ready
* Add hash template helper
* Card demo
cyk added a commit that referenced this issue Jun 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant