@@ -14,11 +14,25 @@ <h3 class="text-2xl mt-20 mx-8 text-center mb-4">ゴールドスポンサー
14
14
</ h3 >
15
15
< div class ="flex justify-center flex-wrap gap-x-8 px-8 max-w-3xl w-full mx-auto ">
16
16
{% for sponsor in gold_sponsors %}
17
- < div class ="w-full flex flex-col mb-5 ">
18
- < div class ="flex-grow w-full flex items-center justify-center ">
19
- < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name | strip_html }}のロゴ ">
17
+ {% if sponsor.link %}
18
+ < a
19
+ class ="w-full flex flex-col mb-5 transition-all duration-200 hover:opacity-70 hover:scale-105 cursor-pointer "
20
+ style ="transform-style: preserve-3d; "
21
+ href ="{{ sponsor.link }} "
22
+ target ="_blank "
23
+ rel ="noopener noreferrer "
24
+ >
25
+ < div class ="flex-grow w-full flex items-center justify-center ">
26
+ < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name | strip_html }}のロゴ ">
27
+ </ div >
28
+ </ a >
29
+ {% else %}
30
+ < div class ="w-full flex flex-col mb-5 ">
31
+ < div class ="flex-grow w-full flex items-center justify-center ">
32
+ < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name | strip_html }}のロゴ ">
33
+ </ div >
20
34
</ div >
21
- </ div >
35
+ {% endif %}
22
36
{% endfor %}
23
37
</ div >
24
38
@@ -28,11 +42,25 @@ <h3 class="text-2xl mt-20 mx-8 text-center mb-4">シルバースポンサー
28
42
29
43
< div class ="flex justify-center flex-wrap gap-x-8 px-8 max-w-3xl mx-auto ">
30
44
{% for sponsor in silver_sponsors %}
31
- < div class ="max-w-[{{500 | times:sponsor.logo_scale | round}}px] w-full flex flex-col mb-5 ">
32
- < div class ="flex-grow w-full flex items-center justify-center ">
33
- < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name | strip_html }}のロゴ ">
34
- </ div >
35
- </ div >
45
+ {% if sponsor.link %}
46
+ < a
47
+ class ="max-w-[{{500 | times:sponsor.logo_scale | round}}px] w-full flex flex-col mb-5 transition-all duration-200 hover:opacity-70 hover:scale-105 cursor-pointer "
48
+ style ="transform-style: preserve-3d; "
49
+ href ="{{ sponsor.link }} "
50
+ target ="_blank "
51
+ rel ="noopener noreferrer "
52
+ >
53
+ < div class ="flex-grow w-full flex items-center justify-center ">
54
+ < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name | strip_html }}のロゴ ">
55
+ </ div >
56
+ </ a >
57
+ {% else %}
58
+ < div class ="max-w-[{{500 | times:sponsor.logo_scale | round}}px] w-full flex flex-col mb-5 ">
59
+ < div class ="flex-grow w-full flex items-center justify-center ">
60
+ < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name | strip_html }}のロゴ ">
61
+ </ div >
62
+ </ div >
63
+ {% endif %}
36
64
{% endfor %}
37
65
</ div >
38
66
@@ -42,11 +70,25 @@ <h3 class="text-2xl mt-20 mx-8 text-center mb-4">ブロンズスポンサー
42
70
43
71
< div class ="flex justify-center flex-wrap gap-x-8 px-8 max-w-3xl mx-auto ">
44
72
{% for sponsor in bronze_sponsors %}
45
- < div class ="max-w-[{{300 | times:sponsor.logo_scale | round}}px] w-full flex flex-col mb-5 ">
46
- < div class ="flex-grow w-full flex items-center justify-center ">
47
- < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name | strip_html }}のロゴ ">
48
- </ div >
49
- </ div >
73
+ {% if sponsor.link %}
74
+ < a
75
+ class ="max-w-[{{300 | times:sponsor.logo_scale | round}}px] w-full flex flex-col mb-5 transition-all duration-200 hover:opacity-70 hover:scale-105 cursor-pointer "
76
+ style ="transform-style: preserve-3d; "
77
+ href ="{{ sponsor.link }} "
78
+ target ="_blank "
79
+ rel ="noopener noreferrer "
80
+ >
81
+ < div class ="flex-grow w-full flex items-center justify-center ">
82
+ < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name | strip_html }}のロゴ ">
83
+ </ div >
84
+ </ a >
85
+ {% else %}
86
+ < div class ="max-w-[{{300 | times:sponsor.logo_scale | round}}px] w-full flex flex-col mb-5 ">
87
+ < div class ="flex-grow w-full flex items-center justify-center ">
88
+ < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name | strip_html }}のロゴ ">
89
+ </ div >
90
+ </ div >
91
+ {% endif %}
50
92
{% endfor %}
51
93
</ div >
52
94
@@ -56,12 +98,29 @@ <h3 class="text-2xl mt-20 mx-8 text-center mb-4">インカインドスポンサ
56
98
57
99
< div class ="flex justify-center flex-wrap gap-x-8 gap-y-10 px-8 max-w-3xl mx-auto ">
58
100
{% for sponsor in inkind_sponsors %}
59
- < div class ="max-w-[{{270 | times:sponsor.logo_scale | round}}px] w-full flex flex-col ">
60
- < div class ="flex-grow w-full flex items-center justify-center ">
61
- < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name + "( "+ sponsor.tool +")" | strip_html }}のロゴ">
62
- </ div >
63
- < p class ="w-full text-center break-keep "> {{ sponsor.tool }}< wbr > のご提供</ p >
64
- </ div >
101
+ {% if sponsor.link %}
102
+ < a
103
+ class ="max-w-[{{270 | times:sponsor.logo_scale | round}}px] w-full flex flex-col transition-all duration-200 hover:opacity-70 hover:scale-105 cursor-pointer "
104
+ style ="transform-style: preserve-3d; "
105
+ href ="{{ sponsor.link }} "
106
+ target ="_blank " rel ="noopener noreferrer "
107
+ >
108
+ < div class ="flex-grow w-full flex items-center justify-center ">
109
+ < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name | append: "( " | append: sponsor.tool | append:")" | strip_html }}のロゴ">
110
+ </ div >
111
+ < p class ="w-full text-center break-keep "> {{ sponsor.tool }}< wbr > のご提供</ p >
112
+ </ a >
113
+ {% else %}
114
+ < div class ="max-w-[{{270 | times:sponsor.logo_scale | round}}px] w-full flex flex-col ">
115
+ < div class ="flex-grow w-full flex items-center justify-center ">
116
+ < img class ="w-full mx-auto mb-3 " src ="{{ sponsor.logo }} " alt ="{{ sponsor.name | append: "( " | append: sponsor.tool | append:")" | strip_html }}のロゴ">
117
+ </ div >
118
+ < p class ="w-full text-center break-keep "> {{ sponsor.tool }}< wbr > のご提供</ p >
119
+ </ div >
120
+ {% endif %}
65
121
{% endfor %}
66
122
</ div >
67
123
124
+ < div class ="max-w-5xl mx-auto px-8 mb-8 ">
125
+ {% include button.html href="/sponsorship/list/" label="スポンサー一覧はこちら" %}
126
+ </ div >
0 commit comments