Skip to content

Commit 629ffce

Browse files
authored
Merge pull request #28 from coderdojo-japan/improve-navigation-flow
トップページ/ヘッダーの各種導線の整理
2 parents 070f6a1 + 2a76931 commit 629ffce

File tree

5 files changed

+40
-24
lines changed

5 files changed

+40
-24
lines changed

_includes/faq.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<section id="faq">
2-
<div class="text-center mb-16 pt-12">
3-
<h1 class="text-5xl sm:text-6xl font-bold uppercase tracking-wider border-b-10 border-teal-500 inline-block" style="font-family: 'League Gothic', sans-serif; color: #221C35;">FAQ</h1>
4-
<p class="text-xl mt-2" style="color: #444444;">よくある質問と回答</p>
2+
<div class="text-center pt-24 mb-16">
3+
<a href="#faq" style="text-decoration: none;">
4+
<h1 class="text-5xl sm:text-6xl font-bold uppercase tracking-wider border-b-10 border-teal-500 inline-block" style="font-family: 'League Gothic', sans-serif; color: #221C35;">FAQ</h1>
5+
<p class="text-xl mt-2" style="color: #444444;">よくある質問と回答</p>
6+
</a>
57
</div>
68
<div class="qanda">
79
{% for faq in site.data.faq %}
@@ -19,4 +21,4 @@ <h1 class="text-5xl sm:text-6xl font-bold uppercase tracking-wider border-b-10 b
1921
{% endif %}
2022
{% endfor %}
2123
</div>
22-
</section>
24+
</section>

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<a href="/">ホーム</a>
77
<a href="/about">開催概要</a>
88
<a href="/sponsors">スポンサー</a>
9-
<a href="/news">お知らせ</a>
9+
<a href="/#news">お知らせ</a>
1010
<a href="/register">来場応募する</a>
1111
<a href="/staff">運営に参加する</a>
1212
<a href="/faq">よくある質問</a>

_includes/header.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
<li>
2121
<a class="header-txt" href="/about"> 開催概要 </a>
2222
</li>
23+
<li>
24+
<a class="header-txt" href="/#news"> お知らせ </a>
25+
</li>
2326
<li>
2427
<a class="header-txt" href="/sponsors"> スポンサー </a>
2528
</li>

_layouts/post.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ <h1 class="hero-title">お知らせ</h1>
4848
<div class="max-w-4xl mx-auto">
4949
<!-- 戻るボタン -->
5050
<div class="mb-8">
51-
<a href="/news" class="inline-flex items-center text-black hover:text-gray-700 font-bold">
51+
<a href="/#news" class="inline-flex items-center text-black hover:text-gray-700 font-bold">
5252
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5 mr-2" fill="none" viewBox="0 0 24 24" stroke="currentColor">
5353
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7" />
5454
</svg>
55-
一覧に戻る
55+
お知らせ一覧に戻る
5656
</a>
5757
</div>
5858

index.md

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,19 @@ layout: plain
110110
<p class="mt-5 text-xl sm:text-2xl">Coolest Projectsは、18歳以下の子どもたちのための世界的な作品展示イベントです。プログラミングやテクノロジーを使って作った独自のアイデアや作品を、コミュニティ全体で称賛し合います。順位を競うコンテストではありません。あなたの情熱、創造性、そして技術的な挑戦を世界中の仲間と共有する場所です。</p>
111111
</div>
112112
</div>
113+
114+
<div class="text-center mt-12">
115+
<a class="button-push" href="/about">開催概要を見る</a>
116+
</div>
113117
</div>
114-
<div class="mt-24">
118+
119+
<div class="pt-36" id="categories">
115120
<div class="text-center mb-8">
116-
<h1 class='text-5xl sm:text-6xl font-bold uppercase tracking-wider border-b-10 border-teal-500 inline-block'
117-
style="font-family: 'League Gothic', sans-serif; color: #221C35;">CATEGORIES</h1>
118-
<p class="text-xl mt-2" style="color: #444444;">カテゴリー</p>
121+
<a href="#categories" style="text-decoration: none;">
122+
<h1 class='text-5xl sm:text-6xl font-bold uppercase tracking-wider border-b-10 border-teal-500 inline-block'
123+
style="font-family: 'League Gothic', sans-serif; color: #221C35;">CATEGORIES</h1>
124+
<p class="text-xl mt-2" style="color: #444444;">カテゴリー</p>
125+
</a>
119126
</div>
120127
<!-- カテゴリーカード -->
121128
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6 mt-8">
@@ -192,12 +199,15 @@ layout: plain
192199
</div>
193200
</div>
194201
</div>
202+
195203
<!-- NEWS セクション -->
196-
<div class="mt-24">
204+
<div class="pt-36" id="news">
197205
<div class="text-center mb-16">
198-
<h1 class='text-5xl sm:text-6xl font-bold uppercase tracking-wider border-b-10 border-teal-500 inline-block'
199-
style="font-family: 'League Gothic', sans-serif; color: #221C35;">NEWS</h1>
200-
<p class="text-xl mt-2" style="color: #444444;">お知らせ</p>
206+
<a href="#news" style="text-decoration: none;">
207+
<h1 class='text-5xl sm:text-6xl font-bold uppercase tracking-wider border-b-10 border-teal-500 inline-block'
208+
style="font-family: 'League Gothic', sans-serif; color: #221C35;">NEWS</h1>
209+
<p class="text-xl mt-2" style="color: #444444;">お知らせ</p>
210+
</a>
201211
</div>
202212
<!-- お知らせ一覧(最新3件) -->
203213
{% assign latest_news = site.posts | where: "categories", "news" | sort: "date" | reverse | limit: 3 %}
@@ -206,16 +216,17 @@ layout: plain
206216
{% include news_card.html post=post %}
207217
{% endfor %}
208218
</div>
209-
<!-- もっと見るボタン -->
210-
<div class="text-center mt-8">
211-
<a class="button-push" href="/news"> もっと見る </a>
212-
</div>
219+
220+
<!-- もっと見るボタン is temporarily disabled until we have more news posts: <div class="text-center mt-8"><a class="button-push" href="/news"> もっと見る </a></div>-->
213221
</div>
214-
<div class="mt-24">
222+
223+
<div class="pt-36" id="sponsors">
215224
<div class="text-center mb-16">
216-
<h1 class='text-5xl sm:text-6xl font-bold uppercase tracking-wider border-b-10 border-teal-500 inline-block'
217-
style="font-family: 'League Gothic', sans-serif; color: #221C35;">SPONSORS</h1>
218-
<p class="text-xl mt-2" style="color: #444444;">スポンサー</p>
225+
<a href="#sponsors" style="text-decoration: none;">
226+
<h1 class='text-5xl sm:text-6xl font-bold uppercase tracking-wider border-b-10 border-teal-500 inline-block'
227+
style="font-family: 'League Gothic', sans-serif; color: #221C35;">SPONSORS</h1>
228+
<p class="text-xl mt-2" style="color: #444444;">スポンサー</p>
229+
</a>
219230
</div>
220231
<div class="text-center mb-16">
221232
<p class="text-xl mb-12" style="color: #444444;">Coolest Projects Japanはスポンサーのご協力により開催されています。協賛くださいました、皆様ありがとうございます。</p>
@@ -313,7 +324,7 @@ layout: plain
313324
</section>
314325
</div>
315326
-->
316-
<a href="/sponsors" class="button-push"> スポンサーページを見る </a>
327+
<a href="/sponsors" class="button-push"> スポンサー募集のご案内を見る </a>
317328
</div>
318329
</div>
319330
</div>

0 commit comments

Comments
 (0)