Skip to content

Commit b7d982a

Browse files
committed
restore: ブロンズ/Gohper スポンサー向けにページのコンテンツを戻しました
1 parent 329590c commit b7d982a

File tree

5 files changed

+62
-5
lines changed

5 files changed

+62
-5
lines changed

src/components/Footer.astro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ const currentLocale = Astro.currentLocale || "ja";
1717
<a href={getRelativeLocaleUrl(currentLocale)} class="text-link"
1818
>Home</a
1919
>
20+
<a
21+
href={getRelativeLocaleUrl(currentLocale, "sponsorship")}
22+
class="text-link">Sponsorship</a
23+
>
2024
<a
2125
href="https://docs.google.com/document/d/1LxjzxHK23aTAFvGZeR-BpHf8sC6RKAqbImtnUtxQ3Yo/edit?tab=t.0#heading=h.n5j5dks9hlev"
2226
class="text-link external-link"

src/components/Header.astro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,11 @@ const currentLocale = Astro.currentLocale || "ja";
241241
<div class="navigation">
242242
<ul class="navigation-menu">
243243
<li><a href={getRelativeLocaleUrl(currentLocale)}>Home</a></li>
244+
<li>
245+
<a href={getRelativeLocaleUrl(currentLocale, "sponsorship")}>
246+
Sponsorship
247+
</a>
248+
</li>
244249
</ul>
245250
<a
246251
href="https://docs.google.com/document/d/1LxjzxHK23aTAFvGZeR-BpHf8sC6RKAqbImtnUtxQ3Yo/edit?tab=t.0#heading=h.n5j5dks9hlev"

src/constants/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export const constants = {
77
"Go Conference is a conference for Go programming language users.",
88
sponsorship: {
99
start: new Date(Date.UTC(2025, 4, 31, 15, 0, 0)), // 2025/06/01 00:00:00 JST
10-
end: new Date(Date.UTC(2025, 5, 30, 14, 59, 59)), // 2024/06/30 23:59:59 JST
10+
end: new Date(Date.UTC(2025, 7, 31, 14, 59, 59)), // 2025/08/31 23:59:59 JST
1111
},
1212
proposal: {
1313
start: new Date(Date.UTC(2025, 4, 13, 3, 0, 0)), // 2025/05/13 12:00:00 JST

src/pages/en/sponsorship.astro

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,40 @@
11
---
2+
import Button from "../../components/Button.astro";
3+
import Chip from "../../components/Chip.astro";
4+
import { constants } from "../../constants";
25
import Layout from "../../layouts/Layout.astro";
36
import "../../styles/sub-page.css";
7+
import { formatDate } from "../../utils/dateFormat";
48
59
const currentLocale = Astro.currentLocale || "ja";
610
---
711

812
<Layout title="スポンサー" titleEn="Sponsorship">
913
<h2 class="section-title">Call for Sponsors</h2>
1014
<div class="contents">
11-
<p>The call for sponsors has ended.</p>
12-
<p>Thank you for all the submissions we received.</p>
15+
<p>Go Conference is looking for sponsors.</p>
16+
<strong>
17+
The call for Platinum, Gold, and Silver sponsors for Go Conference 2025
18+
has ended.
19+
</strong>
20+
<div class="summary">
21+
<h3 class="sponsorship-title">
22+
<Chip variant="secondary">Application Period</Chip>
23+
</h3>
24+
<div class="sponsorship-date">
25+
<p class="inner">
26+
<span>{formatDate(constants.sponsorship.start, currentLocale)}</span>
27+
<span>~</span>
28+
<span>{formatDate(constants.sponsorship.end, currentLocale)}</span>
29+
</p>
30+
</div>
31+
</div>
32+
<p>
33+
<Button
34+
href="https://forms.gle/M2XAgH53HKiHJTGE9"
35+
target="_blank"
36+
size="large">Apply Here</Button
37+
>
38+
</p>
1339
</div>
1440
</Layout>

src/pages/sponsorship.astro

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,29 @@ import { formatDate } from "../utils/dateFormat";
1010
<Layout title="スポンサー" titleEn="Sponsorship">
1111
<h2 class="section-title">スポンサーの募集について</h2>
1212
<div class="contents">
13-
<p>スポンサーの募集は終了いたしました。</p>
14-
<p>たくさんのご応募をいただき、ありがとうございました。</p>
13+
<p>Go Conferenceではスポンサーを募集します。</p>
14+
<strong>
15+
Go Conference 2025 の プラチナGoルド / Goルド / シルバー
16+
スポンサーの募集は終了しました。
17+
</strong>
18+
<div class="summary">
19+
<h3 class="sponsorship-title">
20+
<Chip variant="secondary">募集期間</Chip>
21+
</h3>
22+
<div class="sponsorship-date">
23+
<p class="inner">
24+
<span>{formatDate(constants.sponsorship.start)}</span>
25+
<span>~</span>
26+
<span>{formatDate(constants.sponsorship.end)}</span>
27+
</p>
28+
</div>
29+
</div>
30+
<p>
31+
<Button
32+
href="https://forms.gle/M2XAgH53HKiHJTGE9"
33+
target="_blank"
34+
size="large">申し込みはこちら</Button
35+
>
36+
</p>
1537
</div>
1638
</Layout>

0 commit comments

Comments
 (0)