added variable for sorting out all types of promo content

This commit is contained in:
VitaliyTr 2017-01-25 17:49:58 +07:00
parent a1e8deecc0
commit 60e3ec20a8
16 changed files with 90 additions and 15 deletions

View file

@ -16,19 +16,77 @@
url: dash_logo_f.png
- type: logo
img-link: dash_logo_s.png
img-link: dash_icon_s.png
format: png
links:
-
label: Small
url: "https://www.dash.org/binaries/dash-0.12.0.58-win32.zip"
url: dash_icon_s.png
-
label: Medium
url: "https://github.com/dashpay/dash/releases/download/v0.12.0.58/SHA256SUMS.asc"
url: dash_icon_m.png
-
label: Large
url: "https://www.dash.org/binaries/dash-0.12.0.58-win32.zip.asc"
url: dash_icon_l.png
-
label: Full
url: "https://www.dash.org/binaries/dash-0.12.0.58-win32.zip.asc"
url: dash_icon_f.png
- type: logo
img-link: dash_circle_normal.png
format: png
links:
-
label: Normal
url: dash_circle_normal.png
-
label: Hi-Res
url: dash_circle_highres.png
- type: logo
img-link: dash_heart_normal.png
format: png
links:
-
label: Normal
url: dash_heart_normal.png
-
label: Hi-Res
url: dash_heart_highres.png
- type: logo
img-link: instantx_logo_normal.png
format: png
links:
-
label: Normal
url: instantx_logo_normal.png
-
label: Hi-Res
url: instantx_logo_highres.png
- type: logo
img-link: x11_logo_s.png
format: png
links:
-
label: Small
url: x11_logo_s.png
-
label: Medium
url: x11_logo_m.png
-
label: Large
url: x11_logo_l.png
- type: merchants
img-link: accepted_here_beveled_normal.png
format: png
links:
-
label: Normal
url: accepted_here_beveled_normal.png
-
label: Hi-Res
url: accepted_here_beveled_highres.png

View file

@ -14,13 +14,16 @@
<!-- Hero content -->
<div class="hero__content">
<div class="row">
<div class="col-xs-12 col-md-7">
<h1 class="hero__title">{% t pages.graphics.hero-heading %}</h1>
<p class="hero__lead">{% t pages.graphics.hero-text %}</p>
<p class="hero__lead">
{% t pages.graphics.licence %}
<a href="{% t pages.graphics.licence-link %}">{% t pages.graphics.licence-link-text %}</a>
</p>
</div>
</div>
</div>
<!-- Hero stripe -->

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 822 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 177 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View file

@ -5,16 +5,30 @@ description: pages.graphics.description
---
{% include hero/graphics.html %}
<div class="page page--wallets">
{% assign logos = site.data.graphics-collection | where:"type","logo" %}
{% assign merchants = site.data.graphics-collection | where:"type","merchants" %}
<div class="page">
<section class="section">
<div class="section__content">
<h2>{% t pages.graphics.logos-header %}</h2>
<div class="row">
{% for graphic in site.data.graphics-collection %}
{% for graphic in logos %}
{% include graphics-tile.html %}
{% endfor %}
</div>
</div>
</section>
<section class="section">
<div class="section__content">
<h2>{% t pages.graphics.merchants-header %}</h2>
<div class="row">
{% for graphic in merchants %}
{% include graphics-tile.html %}
{% endfor %}
</div>
</div>
</section>
</div>