-
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.
- Loading branch information
1 parent
77e2fe7
commit 5f59a7c
Showing
8 changed files
with
47 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
import { LinkTo } from '@ember/routing'; | ||
import IconSvg from './icon-svg'; | ||
|
||
<template> | ||
<div class="blog-item"> | ||
<h2> | ||
<h1> | ||
<LinkTo class="post-link" | ||
@route="blog.article" | ||
@model={{@article}}> | ||
{{@article.title}} | ||
</LinkTo> | ||
</h2> | ||
<p class="meta"><i>{{@article.date}}</i></p> | ||
</h1> | ||
<p class="meta"><IconSvg @name="calendar" /> <i>{{@article.date}}</i></p> | ||
<p class="meta">{{{@article.description}}}</p> | ||
</div> | ||
</template> |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<a ...attributes class="icon-button" href={{@href}} title={{@title}}> | ||
{{svg-jar (concat 'icon-' @icon) width='22px'}} | ||
<IconSvg @name={{@icon}} /> | ||
</a> |
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 @@ | ||
{{svg-jar (concat 'icon-' @name) width='22px' style="position: relative; top: 4px;"}} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.