added first data for graphic page

This commit is contained in:
VitaliyTr 2017-01-25 16:54:01 +07:00
parent dd6790b207
commit a1e8deecc0
6 changed files with 57 additions and 21 deletions

34
_data/graphics-collection.yml Executable file
View file

@ -0,0 +1,34 @@
- type: logo
img-link: dash_logo_s.png
format: png
links:
-
label: Small
url: dash_logo_s.png
-
label: Medium
url: dash_logo_m.png
-
label: Large
url: dash_logo_l.png
-
label: Full
url: dash_logo_f.png
- type: logo
img-link: dash_logo_s.png
format: png
links:
-
label: Small
url: "https://www.dash.org/binaries/dash-0.12.0.58-win32.zip"
-
label: Medium
url: "https://github.com/dashpay/dash/releases/download/v0.12.0.58/SHA256SUMS.asc"
-
label: Large
url: "https://www.dash.org/binaries/dash-0.12.0.58-win32.zip.asc"
-
label: Full
url: "https://www.dash.org/binaries/dash-0.12.0.58-win32.zip.asc"

19
_includes/graphics-tile.html Executable file
View file

@ -0,0 +1,19 @@
<div class="col-xs-12 col-md-3">
<div class="b-graphic-tile">
<div class="thumbnail">
<div class="logo-container">
<img src="/assets/img/graphics/{{ graphic.img-link }}"/>
</div>
<div class="caption">
<h4>{{ graphic.format }}</h4>
</div>
<div class="wallet-links-container">
{% for link in graphic.links %}
<div class="link">
<a href="/assets/img/graphics/{{link.url}}" target="_blank">{{link.label}} </a>
</div>
{% endfor %}
</div>
</div>
</div>
</div>

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

View file

@ -5,32 +5,15 @@ description: pages.graphics.description
---
{% include hero/graphics.html %}
<div class="page page--wallets">
<section class="section">
<div class="section__content">
<h2>{% t pages.graphics.logos-header %}</h2>
<div class="row">
<div class="col-xs-12 col-md-3">
<div class="b-graphic-tile">
<div class="thumbnail">
<div class="logo-container">
<img src="/assets/img/graphics/dash_logo_s.png"/>
</div>
<div class="caption">
<h4>{{ wallet.logo_url }}</h4>
<div class="fine-print">
png
</div>
</div>
<div class="wallet-links-container">
<div class="link">
<a href="{{link.url}}" target="_blank">123123 </a>
</div>
</div>
</div>
</div>
</div>
{% for graphic in site.data.graphics-collection %}
{% include graphics-tile.html %}
{% endfor %}
</div>
</div>
</section>