Skip to content

Commit 9ac011e

Browse files
committed
move intro video from / to /about
1 parent 2313721 commit 9ac011e

File tree

2 files changed

+20
-27
lines changed

2 files changed

+20
-27
lines changed

src/pages/about/index.astro

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import { Focus } from "+/schema";
1616
<StaticDocumentWrapper title="About Us" header={Header} fill="bg-gray-400">
1717
<section>
1818
<h2>団体概要</h2>
19-
2019
<ul>
2120
<li>団体名: ut.code();</li>
2221
<li>構成人数: 30 人程度</li>
@@ -34,13 +33,6 @@ import { Focus } from "+/schema";
3433
>
3534
</li>
3635
<li>Email: <span id="email-loader">読込中...</span></li>
37-
<li>
38-
紹介動画: <a
39-
target="_blank"
40-
class="link"
41-
href="https://www.youtube.com/watch?v=aUoa1AyfbMA">Youtube</a
42-
>
43-
</li>
4436
</ul>
4537
<script>
4638
document.getElementById("");
@@ -58,6 +50,16 @@ import { Focus } from "+/schema";
5850
setInterval(showEmail, 3000);
5951
</script>
6052
</section>
53+
<section>
54+
<h2>紹介動画</h2>
55+
<iframe
56+
title="ut.code(); 紹介動画"
57+
class="aspect-video w-full"
58+
src="https://www.youtube-nocookie.com/embed/aUoa1AyfbMA?rel=0"
59+
loading="lazy"
60+
allow="picture-in-picture; web-share"
61+
allow-fullscreen></iframe>
62+
</section>
6163
<section>
6264
<h2>活動内容</h2>
6365
ut.code(); には「学習」「交流」「開発」の三軸を主にして活動しています。

src/pages/index.astro

Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ articles.splice(3);
106106
</ActionButton>
107107
</div>
108108
</section>
109-
<section class="bg-black py-80 text-white">
109+
<section class="bg-black pt-60 pb-20 text-white">
110110
<div
111111
class="mx-auto block items-center justify-evenly gap-12 overflow-hidden px-8 xl:flex xl:flex-row-reverse"
112112
>
@@ -156,6 +156,15 @@ articles.splice(3);
156156
</script>
157157
</div>
158158
</section>
159+
<section class="bg-gray-50">
160+
<div class="container mx-auto px-4 py-12">
161+
<SectionHeader title="News" subtitle="最新情報" />
162+
<ArticleList truncate {articles} max-cols="3" class="mt-10" />
163+
<ActionButton to="/articles" class="mt-8 ml-auto">
164+
すべての記事
165+
</ActionButton>
166+
</div>
167+
</section>
159168
<section class="bg-gray-100/70 backdrop-blur-sm">
160169
<div class="container mx-auto py-16">
161170
<SectionHeader title="About us" subtitle="団体概要" />
@@ -192,24 +201,6 @@ articles.splice(3);
192201
</ul>
193202
</div>
194203
</section>
195-
<section class="bg-gray-50">
196-
<div class="container mx-auto px-4 py-12">
197-
<SectionHeader title="News" subtitle="最新情報" />
198-
<ArticleList truncate {articles} max-cols="3" class="mt-10" />
199-
<ActionButton to="/articles" class="mt-8 ml-auto">
200-
すべての記事
201-
</ActionButton>
202-
</div>
203-
</section>
204-
<section class="w-full bg-gray-50">
205-
<iframe
206-
title="ut.code(); 紹介動画"
207-
class="h-[300px] w-full sm:h-[400px] md:h-[500px] lg:h-[100vh]"
208-
src="https://www.youtube-nocookie.com/embed/aUoa1AyfbMA?rel=0"
209-
loading="lazy"
210-
allow="picture-in-picture; web-share"
211-
allow-fullscreen></iframe>
212-
</section>
213204
<section class="bg-gray-50 py-24">
214205
<SectionHeader title="協賛企業様" />
215206
<ul

0 commit comments

Comments
 (0)