Skip to content

Commit b1ede2b

Browse files
authored
Merge pull request #148 from GoCon/add/tool-sponsor
ツールスポンサーを追加
2 parents ede094f + 0cef178 commit b1ede2b

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

src/assets/sponsors/TS001.jpg

588 KB
Loading

src/components/SponsorBoard.astro

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ const currentLocale = Astro.currentLocale || "ja";
133133
.platinum-gold-sponsor-list,
134134
.gold-sponsor-list,
135135
.silver-sponsor-list,
136+
.wifi-sponsor-list,
136137
.tool-sponsor-list {
137138
display: flex;
138139
flex-wrap: wrap;
@@ -165,6 +166,7 @@ const currentLocale = Astro.currentLocale || "ja";
165166
.silver-sponsor-list li,
166167
.bronze-sponsor-list li,
167168
.gopher-sponsor-list li,
169+
.wifi-sponsor-list li,
168170
.tool-sponsor-list li {
169171
max-width: 100%;
170172
}
@@ -180,6 +182,7 @@ const currentLocale = Astro.currentLocale || "ja";
180182
.silver-sponsor-list li,
181183
.bronze-sponsor-list li,
182184
.gopher-sponsor-list li,
185+
.wifi-sponsor-list li,
183186
.tool-sponsor-list li {
184187
padding: 6px;
185188
}
@@ -385,4 +388,24 @@ const currentLocale = Astro.currentLocale || "ja";
385388
}
386389
</ul>
387390
</div>
391+
392+
<div>
393+
<h3>{currentLocale === "ja" ? "WiFiスポンサー" : "WiFi Sponsor"}</h3>
394+
<ul class="wifi-sponsor-list">
395+
{
396+
(
397+
<li>
398+
<Image
399+
src={constants.sponsors.wifiSponsor.imageSrc}
400+
alt={constants.sponsors.wifiSponsor.name}
401+
width={constants.sponsors.wifiSponsor.width}
402+
height={constants.sponsors.wifiSponsor.height}
403+
loading="lazy"
404+
priority
405+
/>
406+
</li>
407+
)
408+
}
409+
</ul>
410+
</div>
388411
</div>

src/constants/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,9 @@ import S461JobLogo from "../assets/sponsors/S461-jb.png";
157157
import S462JobLogo from "../assets/sponsors/S462-jb.png";
158158
import S463JobLogo from "../assets/sponsors/S463-jb.png";
159159

160+
// wifi sponsor
161+
import InternetLabo from "../assets/sponsors/TS001.jpg";
162+
160163
const venueSponsorImageSize = {
161164
height: 242,
162165
width: 448,
@@ -1215,6 +1218,12 @@ export const constants = {
12151218
height: toolSponsorImageSize.height,
12161219
width: toolSponsorImageSize.width,
12171220
},
1221+
wifiSponsor: {
1222+
name: "インターネットラボ",
1223+
imageSrc: InternetLabo,
1224+
height: toolSponsorImageSize.height,
1225+
width: toolSponsorImageSize.width,
1226+
},
12181227
},
12191228
} as const;
12201229

0 commit comments

Comments
 (0)