|
| 1 | +{% assign platinum_sponsors = site.data.sponsors | where: "type", "platinum" %} |
| 2 | +{% assign gold_sponsors = site.data.sponsors | where: "type", "gold" %} |
| 3 | +{% assign silver_sponsors = site.data.sponsors | where: "type", "silver" %} |
| 4 | +{% assign bronze_sponsors = site.data.sponsors | where: "type", "bronze" %} |
| 5 | +{% assign inkind_sponsors = site.data.sponsors | where: "type", "inkind" %} |
| 6 | +{% assign individual_sponsors = site.data.sponsors | where: "type", "individual" %} |
| 7 | + |
1 | 8 | <h2 class="text-4xl text-center"> |
2 | 9 | スポンサー |
3 | 10 | <span class="block mt-5 text-2xl">SPONSOR</span> |
4 | 11 | </h2> |
5 | 12 |
|
6 | | -<h3 class="text-2xl mt-22 mx-8 text-center mb-4">ゴールドスポンサー |
| 13 | +<h3 class="text-2xl mt-10 mx-8 text-center mb-4">ゴールドスポンサー |
7 | 14 | <span class="block text-base mt-1">GOLD SPONSOR</span> |
8 | 15 | </h3> |
9 | 16 |
|
10 | | -<div class="flex gap-x-8 px-8 max-w-3xl mx-auto"> |
11 | | - <img class="w-full max-w-3xl mx-auto mb-8" src="https://placehold.jp/1920x1080.png" alt="ゴールドスポンサーのロゴ"> |
| 17 | +<div class="flex justify-center flex-wrap gap-x-8 px-8 max-w-3xl w-full mx-auto"> |
| 18 | + {% for sponsor in gold_sponsors %} |
| 19 | + <div class="w-full mb-5"> |
| 20 | + <img class="w-full mx-auto mb-3" src="{{ sponsor.logo }}" alt="{{ sponsor.name | strip_html }}のロゴ"> |
| 21 | + <p class="w-full text-center break-keep">{{ sponsor.name }}</p> |
| 22 | + </div> |
| 23 | + {% endfor %} |
12 | 24 | </div> |
13 | 25 |
|
14 | | -<h3 class="text-2xl mt-22 mx-8 text-center mb-4">シルバースポンサー |
| 26 | +<h3 class="text-2xl mt-10 mx-8 text-center mb-4">シルバースポンサー |
15 | 27 | <span class="block text-base mt-1">SILVER SPONSOR</span> |
16 | 28 | </h3> |
17 | 29 |
|
18 | | -<div class="flex gap-x-8 px-8 max-w-3xl mx-auto"> |
19 | | - <div><img class="w-full mx-auto mb-8" src="https://placehold.jp/1920x1080.png" alt="シルバースポンサーのロゴ"> |
20 | | - </div> |
21 | | - <div><img class="w-full mx-auto mb-8" src="https://placehold.jp/1920x1080.png" alt="シルバースポンサーのロゴ"> |
| 30 | +<div class="flex justify-center flex-wrap gap-x-8 px-8 max-w-3xl mx-auto"> |
| 31 | + {% for sponsor in silver_sponsors %} |
| 32 | + <div class="max-w-[500px] w-full mb-5"> |
| 33 | + <img class="w-full mx-auto mb-3" src="{{ sponsor.logo }}" alt="{{ sponsor.name | strip_html }}のロゴ"> |
| 34 | + <p class="w-full text-center break-keep">{{ sponsor.name }}</p> |
22 | 35 | </div> |
| 36 | + {% endfor %} |
23 | 37 | </div> |
24 | 38 |
|
25 | | -<h3 class="text-2xl mt-22 mx-8 text-center mb-4">ブロンズスポンサー |
| 39 | +<h3 class="text-2xl mt-10 mx-8 text-center mb-4">ブロンズスポンサー |
26 | 40 | <span class="block text-base mt-1">BRONZE SPONSOR</span> |
27 | 41 | </h3> |
28 | 42 |
|
29 | | -<div class="flex gap-x-8 px-8 max-w-3xl mx-auto"> |
30 | | - <div><img class="w-full mx-auto mb-8" src="https://placehold.jp/1920x1080.png" alt="ブロンズスポンサーのロゴ"> |
31 | | - </div> |
32 | | - <div><img class="w-full mx-auto mb-8" src="https://placehold.jp/1920x1080.png" alt="ブロンズスポンサーのロゴ"> |
| 43 | +<div class="flex justify-center flex-wrap gap-x-8 px-8 max-w-3xl mx-auto"> |
| 44 | + {% for sponsor in bronze_sponsors %} |
| 45 | + <div class="max-w-[300px] w-full mb-5"> |
| 46 | + <img class="w-full mx-auto mb-3" src="{{ sponsor.logo }}" alt="{{ sponsor.name | strip_html }}のロゴ"> |
| 47 | + <p class="text-center break-keep">{{ sponsor.name }}</p> |
33 | 48 | </div> |
| 49 | + {% endfor %} |
34 | 50 | </div> |
35 | 51 |
|
36 | | -<h3 class="text-2xl mt-22 mx-8 text-center mb-4">インカインドスポンサー |
| 52 | +<h3 class="text-2xl mt-10 mx-8 text-center mb-4">インカインドスポンサー |
37 | 53 | <span class="block text-base mt-1">IN-KIND SPONSOR</span> |
38 | 54 | </h3> |
39 | 55 |
|
40 | | -<div class="flex gap-x-8 px-8 max-w-3xl mx-auto"> |
41 | | - <div><img class="w-full mx-auto mb-8" src="https://placehold.jp/1920x1080.png" alt="インカインドスポンサーのロゴ"> |
42 | | - </div> |
43 | | - <div><img class="w-full mx-auto mb-8" src="https://placehold.jp/1920x1080.png" alt="インカインドスポンサーのロゴ"> |
| 56 | +<div class="flex justify-center flex-wrap gap-x-8 px-8 max-w-3xl mx-auto"> |
| 57 | + {% for sponsor in inkind_sponsors %} |
| 58 | + <div class="max-w-[270px] w-full mb-5"> |
| 59 | + <img class="w-full mx-auto mb-3" src="{{ sponsor.logo }}" alt="{{ sponsor.name | strip_html }}のロゴ"> |
| 60 | + <p class="w-full text-center break-keep">{{ sponsor.name }}</p> |
44 | 61 | </div> |
| 62 | + {% endfor %} |
45 | 63 | </div> |
0 commit comments