Skip to content

Commit 9253322

Browse files
committed
メンバーを追加
1 parent 401fa58 commit 9253322

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

_data/staff.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- name: 杉山美鈴
2-
site:
2+
site: https://unit.link/sugimisu
33
img: 杉山美鈴.webp
44
dojo: 久留米
55
- name: 岸川拓磨
@@ -9,11 +9,11 @@
99
- name: KP
1010
site: https://github.com/kp54/
1111
img: KP.webp
12-
dojo: 福岡, 久留米
12+
dojo: 福岡久留米
1313
- name: おごもり たかし
14-
site:
15-
img:
16-
dojo:
14+
site: https://github.com/ogom/
15+
img: おごもり たかし.webp
16+
dojo: なかもず、大阪狭山
1717
- name: 柴尾 哲也
1818
site: https://my.prairie.cards/u/midnight480
1919
img: 柴尾 哲也.webp
@@ -75,7 +75,7 @@
7575
img: たくさん.webp
7676
dojo: こだいら
7777
- name: いかけん
78-
site:
78+
site: https://coderdojo-mito.com/
7979
img: いかけん.webp
8080
dojo: 水戸
8181
- name: 田代

_includes/top/sections/staff.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ <h2 class="text-4xl text-center pt-20 xl:pt-30">
88
<ul class="staff flex flex-wrap justify-center gap-x-36">
99
{% for member in site.data.staff %}
1010
<li class="-mt-[74px]">
11+
{% if member.site %}
12+
<a href="{{ member.site }}" target="_blank">
13+
{% endif %}
14+
1115
<div class="relative aspect-[1/cos(30deg)] w-50 overflow-hidden flex items-center justify-center"
1216
style="clip-path: polygon(50% -50%,100% 50%,50% 150%,0 50%);">
1317

@@ -20,6 +24,10 @@ <h2 class="text-4xl text-center pt-20 xl:pt-30">
2024
</div>
2125
<img class="w-full" src="/img/staff/{{ member.img }}" alt="{{ member.name }}">
2226
</div>
27+
28+
{% if member.site %}
29+
</a>
30+
{% endif %}
2331
</li>
2432
{% endfor %}
2533
</ul>
@@ -30,6 +38,10 @@ <h2 class="text-4xl text-center pt-20 xl:pt-30">
3038
<ul class="flex flex-wrap justify-center gap-x-2 gap-y-6 mx-[2%]">
3139
{% for member in site.data.staff %}
3240
<li class="flex flex-col items-center gap-y-2">
41+
{% if member.site %}
42+
<a href="{{ member.site }}" target="_blank">
43+
{% endif %}
44+
3345
<div class="relative aspect-[1/cos(30deg)] w-24 sm:w-30 overflow-hidden flex items-center justify-center"
3446
style="clip-path: polygon(50% -50%,100% 50%,50% 150%,0 50%);">
3547
<img class="w-full" src="/img/staff/{{ member.img }}" alt="{{ member.name }}">
@@ -40,6 +52,10 @@ <h2 class="text-4xl text-center pt-20 xl:pt-30">
4052
{{ member.name }}
4153
<span class="text-xs">{{ member.dojo }}</span>
4254
</p>
55+
56+
{% if member.site %}
57+
</a>
58+
{% endif %}
4359
</li>
4460
{% endfor %}
4561
</ul>

img/staff/おごもり たかし.webp

15.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)