Skip to content

Commit 2e68704

Browse files
authored
Merge pull request #103 from GoCon/feature/fix_apply_event
トップ・ヘッダーのリンクをイベント申込用のURLに変更
2 parents 4361fd8 + 6c53e41 commit 2e68704

File tree

5 files changed

+21
-13
lines changed

5 files changed

+21
-13
lines changed

src/components/Header.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ const currentLocale = Astro.currentLocale || "ja";
255255
<span>Sponsor FAQ</span>
256256
<OpenInNewIcon class="external-icon" />
257257
</a>
258+
<Button href="https://ti.to/gophers-japan/go-conference-2025" target="_blank">
259+
{currentLocale === "ja" ? "イベントに申し込む" : "Apply for the evnet"}
260+
</Button>
258261
<ul class="language-switcher">
259262
<li class="language-link">
260263
<a

src/components/MainVisual.astro

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,14 @@ const currentLocale = Astro.currentLocale || "ja";
200200
<div class="cta-button">
201201
<div class="cta-button-inner">
202202
<Button
203-
href={getRelativeLocaleUrl(currentLocale, "sponsorship")}
203+
href="https://ti.to/gophers-japan/go-conference-2025"
204+
target="_blank"
204205
size="large"
205206
>
206207
{
207208
currentLocale === "ja"
208-
? "スポンサーに申し込む"
209-
: "Apply for Sponsorship"
209+
? "イベントに申し込む"
210+
: "Apply for the event"
210211
}
211212
</Button>
212213
</div>

src/pages/en/index.astro

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
---
2-
import { getRelativeLocaleUrl } from "astro:i18n";
3-
import Button from "../../components/Button.astro";
42
import Chip from "../../components/Chip.astro";
53
import MainVisual from "../../components/MainVisual.astro";
64
import FluidLayout from "../../layouts/FluidLayout.astro";
75
import "../../styles/top-page.css";
86
import SponsorBoard from "../../components/SponsorBoard.astro";
9-
10-
const currentLocale = Astro.currentLocale || "ja";
117
---
128

139
<style>
@@ -47,7 +43,10 @@ const currentLocale = Astro.currentLocale || "ja";
4743
</tr>
4844
<tr>
4945
<th><Chip class="chip" variant="secondary">Fee</Chip></th>
50-
<td>To be determined</td>
46+
<td>
47+
<span>General:</span>5,000 yen (tax included)<br />
48+
<span>Student:</span>1,000 yen (tax included)
49+
</td>
5150
</tr>
5251
</tbody>
5352
</table>

src/pages/index.astro

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
---
2-
import { getRelativeLocaleUrl } from "astro:i18n";
3-
import Button from "../components/Button.astro";
42
import Chip from "../components/Chip.astro";
53
import MainVisual from "../components/MainVisual.astro";
64
import FluidLayout from "../layouts/FluidLayout.astro";
75
import "../styles/top-page.css";
86
import SponsorBoard from "../components/SponsorBoard.astro";
9-
10-
const currentLocale = Astro.currentLocale || "ja";
117
---
128

139
<FluidLayout>
@@ -35,7 +31,10 @@ const currentLocale = Astro.currentLocale || "ja";
3531
</tr>
3632
<tr>
3733
<th><Chip class="chip" variant="secondary">参加費</Chip></th>
38-
<td>未定</td>
34+
<td>
35+
<span>一般参加:</span>5,000円(税込)<br />
36+
<span>学生:</span>1,000円(税込)
37+
</td>
3938
</tr>
4039
</tbody>
4140
</table>

src/styles/top-page.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@
7979
width: 160px;
8080
}
8181
}
82+
83+
& td span {
84+
display: inline-block;
85+
width: 80px;
86+
text-align: left;
87+
}
8288
}
8389

8490
.sponsorship {

0 commit comments

Comments
 (0)