Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add standalone link to buildings page #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 22 additions & 11 deletions app/templates/buildings.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,28 @@
</AuContent>
<ul class="au-o-grid au-o-grid--tiny">
{{#each this.model as |building|}}
<li class="au-o-grid__item">
<article class="au-c-card">
<AuToolbar @border="bottom" @size="small">
<AuToolbarGroup>
<AuHeading @level="2" @skin="4">
<a href={{building.url}} class="au-c-link" target="_blank">{{building.title}}</a>
</AuHeading>
</AuToolbarGroup>
</AuToolbar>
</article>
</li>
<li class="au-o-grid__item">
<article class="au-c-card">
<AuToolbar @border="bottom" @size="small">
<AuToolbarGroup>
<AuHeading @level="2" @skin="4">
{{building.title}}
</AuHeading>
</AuToolbarGroup>
</AuToolbar>
<div class="au-c-card__content au-o-box au-o-box--small">
<ul class="au-c-list-horizontal">
<li class="au-c-list-horizontal__item">
<a href={{building.url}} class="au-c-link" target="_blank" rel="noopener noreferrer">Website <span class="au-u-hidden-visually">{{building.title}}</span><AuIcon @alignment="right" @icon="link-external" /></a>
</li>
<li class="au-c-list-horizontal__item">
{{!-- @TODO: add standalone link --}}
<a href="#!" class="au-c-link" target="_blank" rel="noopener noreferrer">Standalone widget <span class="au-u-hidden-visually">{{building.title}}</span><AuIcon @alignment="right" @icon="link-external" /></a>
</li>
</ul>
</div>
</article>
</li>
{{/each}}
</ul>
<AuContent id="content" class="au-u-margin-bottom-small au-u-margin-top">
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"scripts": {
"build": "ember build --environment=production",
"design": "ember serve --proxy=http://qa.toevla.org/",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel 'lint:!(fix)'",
"lint:fix": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*:fix",
"lint:hbs": "ember-template-lint .",
Expand Down