2017-07-04 06:00:32 +00:00
|
|
|
---
|
|
|
|
layout: custom
|
2017-12-19 21:14:59 +00:00
|
|
|
title: titles.merchants
|
2017-11-27 20:31:39 +00:00
|
|
|
permalink: /community/merchants/index.html
|
2017-07-04 06:00:32 +00:00
|
|
|
---
|
2018-07-05 15:04:14 +00:00
|
|
|
{% t global.lang_tag %}
|
2019-07-01 10:16:01 +00:00
|
|
|
<div class="merchants text-center container description">
|
2020-04-13 08:08:44 +00:00
|
|
|
<p>{% t merchants.intro1 %}<a href="https://github.com/monero-project/monero-site/issues"> {% t merchants.intro2 %}</a> {% t merchants.intro3 %}</p>
|
2018-05-26 22:32:58 +00:00
|
|
|
</div>
|
|
|
|
<div class="merchants">
|
2019-07-01 10:16:01 +00:00
|
|
|
|
|
|
|
{% assign itemCount = site.data.merchants | size %}
|
|
|
|
{% assign headerRow = itemCount | divided_by: 5.0 | ceil | times: 1.0 %}
|
|
|
|
{% assign itemInRow = itemCount | divided_by: headerRow | ceil %}
|
|
|
|
|
|
|
|
{% assign Item_processed = 0 %}
|
|
|
|
<div class="container full">
|
|
|
|
{% for toplevel in site.data.merchants %}
|
|
|
|
{% assign isHeader = Item_processed | modulo: itemInRow %}
|
|
|
|
{% if isHeader == 0 %}
|
|
|
|
<div class="tabPanel-merchant tabPanel-merchant{{ itemInRow }}">
|
|
|
|
{% endif %}
|
|
|
|
<h2><a href="#{{ toplevel.id }}">{{ toplevel.category }}</a></h2>
|
|
|
|
{% assign Item_processed = Item_processed | plus: 1 %}
|
|
|
|
{% assign isHeader = Item_processed | modulo: itemInRow %}
|
|
|
|
{% if isHeader == 0 %}
|
|
|
|
</div>
|
|
|
|
{% if Item_processed != itemCount %}
|
|
|
|
{% assign headerRow = itemCount | minus: Item_processed | divided_by: 5.0 | ceil | times: 1.0 %}
|
|
|
|
{% assign itemInRow = itemCount | minus: Item_processed | divided_by: headerRow | ceil %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
2018-05-26 22:32:58 +00:00
|
|
|
{% for toplevel in site.data.merchants %}
|
|
|
|
<div class="container full" id="{{toplevel.id}}">
|
|
|
|
<div class="info-block">
|
|
|
|
<h2>{{toplevel.category}}</h2>
|
|
|
|
<div class="row">
|
|
|
|
{% assign sortedMerchants = toplevel.merchants | sort: 'name' %}
|
|
|
|
{% for merchants in sortedMerchants %}
|
2019-01-19 03:18:55 +00:00
|
|
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<p><a href="{{merchants.url}}">{{merchants.name}}</a></p>
|
2018-05-26 22:32:58 +00:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{%endfor%}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="text-center container description">
|
|
|
|
<p>
|
|
|
|
<em>{% t merchants.disclaimer %}</em>
|
|
|
|
</p>
|
|
|
|
</div>
|