-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
febf2aa
commit f00155d
Showing
16 changed files
with
181 additions
and
94 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
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
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,28 @@ | ||
<div class="card card--announcement bg-green"> | ||
{% if announcement.data.previewImage %} | ||
<div class="card__image"> | ||
<img src="{{ announcement.data.previewImage }}" alt="{{ announcement.data.previewImageAlt }}" /> | ||
</div> | ||
{% endif %} | ||
<div class="card__content"> | ||
<h3> | ||
<a class="card__title" href="{{ announcement.url }}"> | ||
{{ announcement.data.title | safe }} | ||
</a> | ||
</h3> | ||
<div class="card__announcement-date"> | ||
{{ announcement.data.date | formatDate }} | ||
</div> | ||
<div class="card__body"> | ||
<p>{{ announcement.data.excerpt | safe }}</p> | ||
</div> | ||
{% if announcement.data.topics.length > 0 %} | ||
<div class="card__tags tags"> | ||
{% for topicId in announcement.data.topics %} | ||
{% set topic = collections['topics_' + lang] | find("data.uuid", topicId) %} | ||
<div class="tag">{{ topic.data.title }}</div> | ||
{% endfor %} | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> |
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 @@ | ||
<div class="card bg-yellow"> | ||
{% if event.data.previewImage %} | ||
<div class="card__image"> | ||
<img src="{{ event.data.previewImage }}" alt="{{ event.data.previewImageAlt }}" /> | ||
</div> | ||
{% endif %} | ||
<div class="card__content"> | ||
<h3> | ||
<a class="card__title" href="{{ event.url }}"> | ||
{{ event.data.title | safe }} | ||
</a> | ||
</h3> | ||
{% if now < event.data.date %} | ||
<div class="card__event-status"> | ||
<div class="badge">{% __ 'upcoming' %}</div> | ||
</div> | ||
{% endif %} | ||
<div class="card__date"> | ||
<p>{{ event.data.date | formatDate }}</p> | ||
</div> | ||
<div class="card__body"> | ||
<p>{{ event.data.excerpt | safe }}</p> | ||
</div> | ||
</div> | ||
</div> |
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,17 @@ | ||
<div class="card bg-{{ project.data.color }}"> | ||
{% if project.data.previewImage %} | ||
<div class="card__image"> | ||
<img src="{{ project.data.previewImage }}" alt="{{ project.data.previewImageAlt }}" /> | ||
</div> | ||
{% endif %} | ||
<div class="card__content"> | ||
<h3> | ||
<a class="card__title" href="{{ project.url }}"> | ||
{{ project.data.title | safe }} | ||
</a> | ||
</h3> | ||
<div class="card__body"> | ||
<p>{{ project.data.excerpt | safe }}</p> | ||
</div> | ||
</div> | ||
</div> |
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,29 @@ | ||
<div class="card"> | ||
<div class="card__content"> | ||
<h3> | ||
<a class="card__title" href="{{ resource.url }}"> | ||
{{ resource.data.title | safe }} | ||
</a> | ||
</h3> | ||
<div class="card__publisher"> | ||
<p>{{ resource.data.author }}{% if resource.data.author and resource.data.publisher %} | {% endif %}{{ resource.data.publisher }}</p> | ||
</div> | ||
<div class="card__body"> | ||
<p>{{ resource.templateContent | safe }}</p> | ||
</div> | ||
<div class="card__resource-type"> | ||
{% include "svg/type.svg" %} {% __ resource.data.type %} | ||
</div> | ||
<div class="card__resource-date"> | ||
{% include "svg/date.svg" %} {{ resource.data.date | formatDate }} | ||
</div> | ||
{% if resource.data.topics.length > 0 %} | ||
<div class="card__tags tags"> | ||
{% for topicId in resource.data.topics %} | ||
{% set topic = collections['topics_' + lang] | find("data.uuid", topicId) %} | ||
<div class="tag">{{ topic.data.title }}</div> | ||
{% endfor %} | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.
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,17 @@ | ||
<div class="project-panel bg-{{ project.data.color }}"> | ||
{% if project.data.previewImage %} | ||
<div class="project-panel__image"> | ||
<img src="{{ project.data.previewImage }}" alt="{{ project.data.previewImageAlt }}" /> | ||
</div> | ||
{% endif %} | ||
<div class="project-panel__content flow"> | ||
<h2> | ||
<a class="project-panel__title" href="{{ project.url }}"> | ||
{{ project.data.title | safe }} | ||
</a> | ||
</h2> | ||
<div class="project-panel__body"> | ||
<p>{{ project.data.excerpt | safe }}</p> | ||
</div> | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.