diff --git a/_data/sponsors.yml b/_data/sponsors.yml new file mode 100644 index 00000000..98a9b648 --- /dev/null +++ b/_data/sponsors.yml @@ -0,0 +1,62 @@ +# - id: ID(スポンサーページのアンカータグになります) +# name: スポンサー名 +# logo: ロゴ画像ファイルのパス +# link: ロゴ画像をクリックした際のリンク先 +# type: スポンサー種別(platinum, gold, silver, bronze, inkind, individual) +# message: スポンサー紹介文 + +- id: cygames + name: 株式会社Cygames + logo: + link: + type: gold + message: + +- id: sakura_internet + name: さくらインターネット株式会社 + logo: + link: + type: silver + message: + +- id: sunnyside_systems + name: サニーサイドシステムズ合同会社 + logo: + link: + type: bronze + message: + +- id: dojoletter + name: DojoLetter編集部 + logo: + link: + type: bronze + message: + +- id: unique_i_net + name: ユニーク・アイネット株式会社 + logo: + link: + type: bronze + message: + +- id: ma + name: 一般社団法人MA(ProtoPedia) + logo: + link: + type: inkind + message: + +- id: nulab + name: 株式会社ヌーラボ(Backlog) + logo: + link: + type: inkind + message: + +- id: yasslab + name: YassLab 株式会社(Doorkeeper) + logo: + link: + type: inkind + message: diff --git a/_includes/top/sections/sponsor.html b/_includes/top/sections/sponsor.html index 7db440ff..435d4a70 100644 --- a/_includes/top/sections/sponsor.html +++ b/_includes/top/sections/sponsor.html @@ -1,45 +1,62 @@ +{% assign gold_sponsors = site.data.sponsors | where: "type", "gold" %} +{% assign silver_sponsors = site.data.sponsors | where: "type", "silver" %} +{% assign bronze_sponsors = site.data.sponsors | where: "type", "bronze" %} +{% assign inkind_sponsors = site.data.sponsors | where: "type", "inkind" %} +{% assign individual_sponsors = site.data.sponsors | where: "type", "individual" %} +

スポンサー SPONSOR

-

ゴールドスポンサー +

ゴールドスポンサー GOLD SPONSOR

-
- ゴールドスポンサーのロゴ +
+ {% for sponsor in gold_sponsors %} +
+ {% comment %} {{ sponsor.name | strip_html }}のロゴ {% endcomment %} +

{{ sponsor.name }}

+
+ {% endfor %}
-

シルバースポンサー +

シルバースポンサー SILVER SPONSOR

-
-
シルバースポンサーのロゴ -
-
シルバースポンサーのロゴ +
+ {% for sponsor in silver_sponsors %} +
+ {% comment %} {{ sponsor.name | strip_html }}のロゴ {% endcomment %} +

{{ sponsor.name }}

+ {% endfor %}
-

ブロンズスポンサー +

ブロンズスポンサー BRONZE SPONSOR

-
-
ブロンズスポンサーのロゴ -
-
ブロンズスポンサーのロゴ +
+ {% for sponsor in bronze_sponsors %} +
+ {% comment %} {{ sponsor.name | strip_html }}のロゴ {% endcomment %} +

{{ sponsor.name }}

+ {% endfor %}
-

インカインドスポンサー +

インカインドスポンサー IN-KIND SPONSOR

-
-
インカインドスポンサーのロゴ -
-
インカインドスポンサーのロゴ +
+ {% for sponsor in inkind_sponsors %} +
+ {% comment %} {{ sponsor.name | strip_html }}のロゴ {% endcomment %} +

{{ sponsor.name }}

+ {% endfor %}