Skip to content

Commit 5898ba6

Browse files
committed
個人スポンサーの表示を追加
1 parent cbd8d7f commit 5898ba6

File tree

3 files changed

+53
-0
lines changed

3 files changed

+53
-0
lines changed

_data/sponsors.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,21 @@
9292
logo: /img/sponsors/stellalink.png
9393
link: https://www.stellalink.co.jp/
9494
type: inkind
95+
96+
# 個人スポンサー
97+
- name: 宮野 慧
98+
link: https://miyacorata.net
99+
type: individual
100+
101+
- name: Katz Ueno
102+
link: https://coderdojoowari.org
103+
type: individual
104+
105+
- name: 高田悠
106+
link: https://coderdojo-iwata.connpass.com/
107+
type: individual
108+
109+
- name: 田代 拓也
110+
link: https://peatix.com/group/10488940
111+
type: individual
112+

_includes/top/sections/sponsor.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,23 @@ <h3 class="text-2xl mt-20 text-center mb-4">インカインドスポンサー
122122
{% endfor %}
123123
</div>
124124

125+
<h3 class="text-2xl mt-20 text-center mb-4">個人スポンサー
126+
<span class="block text-base mt-1">INDIVIDUAL SPONSOR</span>
127+
</h3>
128+
<div class="grid grid-cols-1 sm:grid-cols-2 gap-6 max-w-xl mx-auto mb-16">
129+
{% for sponsor in individual_sponsors %}
130+
<div class="flex items-center justify-center">
131+
{% if sponsor.link %}
132+
<a href="{{ sponsor.link }}" target="_blank" rel="noopener noreferrer"
133+
class="block text-2xl font-bold text-center transition-transform duration-200 hover:scale-110 cursor-pointer">
134+
{{ sponsor.name }}
135+
</a>
136+
{% else %}
137+
<span class="block text-2xl font-bold text-center">{{ sponsor.name }}</span>
138+
{% endif %}
139+
</div>
140+
{% endfor %}
141+
</div>
125142
<div class="mx-auto mb-8">
126143
{% include button.html href="/sponsorship/list/" label="スポンサーの紹介を見る" %}
127144
</div>

_pages/sponsors.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,21 @@ title: スポンサーのご紹介
130130
</div>
131131
{% endfor %}
132132
</div>
133+
134+
<h3 class="text-2xl mt-15 mx-8 text-center mb-4">個人スポンサー
135+
<span class="block text-base mt-1">INDIVIDUAL SPONSOR</span>
136+
</h3>
137+
<div class="grid grid-cols-1 sm:grid-cols-2 gap-6 max-w-xl mx-auto mb-16">
138+
{% for sponsor in individual_sponsors %}
139+
<div class="flex items-center justify-center">
140+
{% if sponsor.link %}
141+
<a href="{{ sponsor.link }}" target="_blank" rel="noopener noreferrer"
142+
class="block text-2xl font-bold text-center transition-transform duration-200 hover:scale-110 cursor-pointer">
143+
{{ sponsor.name }}
144+
</a>
145+
{% else %}
146+
<span class="block text-2xl font-bold text-center">{{ sponsor.name }}</span>
147+
{% endif %}
148+
</div>
149+
{% endfor %}
150+
</div>

0 commit comments

Comments
 (0)