Skip to content

Commit cfe4ad8

Browse files
committed
feat: ja/en用のページを調整
1 parent e043c69 commit cfe4ad8

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

2025/src/pages/en.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
---
22
import Layout from '../layouts/Layout.astro';
3+
import LanguagePicker from '../components/LanguagePicker.astro'
34
---
45

56
<Layout>
67
<header class="hero">
8+
<LanguagePicker />
79
<div class="container">
810
<h1>VimConf <wbr />2025</h1>
911
</div>
@@ -100,9 +102,8 @@ h3 {
100102

101103
/* Hero Section */
102104
.hero {
103-
background: linear-gradient(60deg, #9ebd13 0%, #069700 100%);
105+
background: linear-gradient(110deg, #9ebd13 0%, #069700 100%);
104106
color: #fff;
105-
padding: 100px 0;
106107
text-align: center;
107108

108109
h1 {

2025/src/pages/index.astro renamed to 2025/src/pages/ja.astro

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
11
---
22
import Layout from '../layouts/Layout.astro';
3+
import LanguagePicker from '../components/LanguagePicker.astro'
34
---
45

56
<Layout>
67
<header class="hero">
8+
<LanguagePicker />
79
<div class="container">
810
<h1>VimConf <wbr />2025</h1>
911
</div>
1012
</header>
1113

1214
<section>
1315
<div class="container">
14-
<h2 id="VimConf 2025 とは?" class="section-title"><a href="#VimConf 2025 とは?">VimConf 2025 とは?</a></h2>
16+
<h2 id="what-is-vimconf-2025" class="section-title"><a href="#what-is-vimconf-2025">VimConf 2025 とは?</a></h2>
1517
<p>VimConf は、世界初かつ世界で唯一のコミュニティによって定期運営されているVimの国際カンファレンスです。</p>
1618
<h3>概要</h3>
1719
<table>
1820
<tr>
19-
<th style="word-break::keep-all;">開催日<wbr />(予定)</th>
21+
<th style="word-break:keep-all;">開催日<wbr />(予定)</th>
2022
<td>2025-11-02(日)</td>
2123
</tr>
2224
<tr>
@@ -90,24 +92,22 @@ import Layout from '../layouts/Layout.astro';
9092
</Layout>
9193

9294
<style>
93-
9495
h3 {
9596
font-size: 1.2rem;
9697
}
9798

98-
/* コンテナ */
99+
/* Container */
99100
.container {
100101
width: 90%;
101102
max-width: 960px;
102103
margin: auto;
103104
padding: 24px 0;
104105
}
105106

106-
/* ヒーローセクション */
107+
/* Hero Section */
107108
.hero {
108-
background: linear-gradient(60deg, #9ebd13 0%, #069700 100%);
109+
background: linear-gradient(110deg, #9ebd13 0%, #069700 100%);
109110
color: #fff;
110-
padding: 100px 0;
111111
text-align: center;
112112

113113
h1 {
@@ -119,7 +119,7 @@ h3 {
119119
}
120120
}
121121

122-
/* セクションタイトル */
122+
/* Section Title */
123123
.section-title {
124124
font-size: 2.4rem;
125125
border-bottom: 2px solid #ccc;
@@ -130,21 +130,21 @@ h3 {
130130
}
131131
}
132132

133-
/* セクション共通 */
133+
/* Common Section Styles */
134134
section {
135135
padding: 50px 0;
136136
background-color: #fff;
137137

138138
&:nth-of-type(even) {
139139
background: #f1f9f1;
140140
}
141-
141+
}
142142

143143
section + section {
144144
margin-top: 16px;
145145
}
146146

147-
/* お問い合わせボタン */
147+
/* Contact Button */
148148
.btn {
149149
display: inline-block;
150150
background-color: #069700;
@@ -171,7 +171,7 @@ table th {
171171
font-weight: bold;
172172
}
173173

174-
/* レスポンシブ調整 */
174+
/* Responsive Adjustments */
175175
@media (max-width: 600px) {
176176
.hero h1 {
177177
font-size: 3rem;
@@ -181,4 +181,5 @@ table th {
181181
font-size: 1.6rem;
182182
}
183183
}
184+
184185
</style>

0 commit comments

Comments
 (0)