From ec2c4d6c291d19c94ab4024ffed3e82b8631e87e Mon Sep 17 00:00:00 2001 From: andyfreer Date: Sun, 6 Nov 2016 18:42:12 +0000 Subject: [PATCH] Add: Merchant spage (initial skeleton, no content / styles) --- _data/merchants-stores.yml | 25 +++++++++++++++++++++++ _i18n/cn.yml | 1 + _i18n/en.yml | 2 ++ _i18n/es.yml | 1 + _i18n/it.yml | 1 + _i18n/pt.yml | 1 + _i18n/ru.yml | 1 + _includes/hero/merchants.html | 25 +++++++++++++++++++++++ _includes/merchant-list.html | 22 +++++++++++++++++++++ _includes/nav-desktop.html | 5 +++-- _includes/nav-mobile.html | 1 + assets/img/hero/merchants.png | Bin 0 -> 376031 bytes index.html | 4 ++-- merchants/index.html | 36 ++++++++++++++++++++++++++++++++++ 14 files changed, 121 insertions(+), 4 deletions(-) create mode 100644 _data/merchants-stores.yml create mode 100644 _includes/hero/merchants.html create mode 100644 _includes/merchant-list.html create mode 100644 assets/img/hero/merchants.png create mode 100644 merchants/index.html diff --git a/_data/merchants-stores.yml b/_data/merchants-stores.yml new file mode 100644 index 0000000..779302f --- /dev/null +++ b/_data/merchants-stores.yml @@ -0,0 +1,25 @@ + +- name: ShakePay + title: Debit Card + image: evan.png + url: https://shakepay.co + +- name: SpectroCoin + title: Quality Assurance, Automation, Testing + image: evan.png + url: https://spectrocoin.com/ + +- name: Card1 + title: Debit Card + image: evan.png + url: https://shakepay.co + +- name: Card2 + title: Debit Card + image: evan.png + url: https://shakepay.co + +- name: Card3 + title: Debit Card + image: evan.png + url: https://shakepay.co diff --git a/_i18n/cn.yml b/_i18n/cn.yml index 5d910dc..f23e229 100644 --- a/_i18n/cn.yml +++ b/_i18n/cn.yml @@ -204,6 +204,7 @@ pages: nav: what-is-dash: 什么是达世币 get-dash: 获得达世币 + merchants: Merchants download: 下载钱包 buy: 购买达世币 shop: 支持达世币的商户 diff --git a/_i18n/en.yml b/_i18n/en.yml index ac1f599..0d48d76 100644 --- a/_i18n/en.yml +++ b/_i18n/en.yml @@ -129,6 +129,8 @@ pages: hero-map-btn: Merchants Map hero-integrate-btn: Integrate Dash hero-getlisted-btn: Get Listed + debit-cards-heading: Debit Cards + stores-heading: Web Stores participate: title: Join the Dash Network diff --git a/_i18n/es.yml b/_i18n/es.yml index 5de3da3..7bf4c7e 100644 --- a/_i18n/es.yml +++ b/_i18n/es.yml @@ -206,6 +206,7 @@ pages: nav: what-is-dash: ¿Qué es Dash? get-dash: Obtén Dash + merchants: Merchants download: Descarga el monedero buy: Compra Dash shop: Compra con Dash diff --git a/_i18n/it.yml b/_i18n/it.yml index 99312d4..0903100 100644 --- a/_i18n/it.yml +++ b/_i18n/it.yml @@ -209,6 +209,7 @@ pages: nav: what-is-dash: Cos'è Dash get-dash: Ottieni Dash + merchants: Merchants download: Scarica il portafoglio buy: Acquista Dash shop: Acquista con Dash diff --git a/_i18n/pt.yml b/_i18n/pt.yml index b0d4a11..8e90d71 100644 --- a/_i18n/pt.yml +++ b/_i18n/pt.yml @@ -207,6 +207,7 @@ pages: nav: what-is-dash: O que é Dash get-dash: Obter Dash + merchants: Merchants download: Download da Carteira buy: Compre Dash shop: Loja com Dash diff --git a/_i18n/ru.yml b/_i18n/ru.yml index 3be627c..9d6c557 100644 --- a/_i18n/ru.yml +++ b/_i18n/ru.yml @@ -208,6 +208,7 @@ pages: nav: what-is-dash: Что такое Dash get-dash: Получить Dash + merchants: Merchants download: Скачать Кошелёк buy: Купить Dash shop: Потратить Dash diff --git a/_includes/hero/merchants.html b/_includes/hero/merchants.html new file mode 100644 index 0000000..44d7ea2 --- /dev/null +++ b/_includes/hero/merchants.html @@ -0,0 +1,25 @@ +
+
+ + + +
+ + + {% include nav-desktop.html %} + + +
+

{% t pages.merchants.hero-heading %}

+

{% t pages.merchants.hero-text %}

+ + +
+ + +
+
diff --git a/_includes/merchant-list.html b/_includes/merchant-list.html new file mode 100644 index 0000000..feba4e3 --- /dev/null +++ b/_includes/merchant-list.html @@ -0,0 +1,22 @@ +
  • + +
    + {% if merchant.image %} +
    + {{ merchant.name }} +
    + {% else %} +
    + {{ merchant.name }} +
    + {% endif %} +
    + +
    {{ merchant.name }}
    +
    {{ merchant.title }}
    + + {% if merchant.url %} + + {% endif %} + +
  • diff --git a/_includes/nav-desktop.html b/_includes/nav-desktop.html index 14f952c..a190b36 100644 --- a/_includes/nav-desktop.html +++ b/_includes/nav-desktop.html @@ -18,10 +18,11 @@