Skip to content

Commit 661b811

Browse files
committed
page: update /about, and some perf changes
1 parent a325e7e commit 661b811

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

src/layouts/GlobalLayout.astro

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
---
2+
import "+/global.css";
3+
24
import { ClientRouter } from "astro:transitions";
35
import Footer from "+/components/Footer.astro";
46
import Header from "+/components/Header.astro";
@@ -18,12 +20,9 @@ const { title, description, focus, image } = Astro.props;
1820
<html lang="ja" class="bg-gray-50 text-gray-800" data-theme="light">
1921
<Meta {title} {description} image={image} />
2022
<body class="min-h-full w-full">
21-
<style is:global>
22-
@import "+/global.css";
23-
</style>
23+
<ClientRouter />
2424
<Header {focus} />
2525
<slot />
2626
<Footer />
27-
<ClientRouter />
2827
</body>
2928
</html>

src/pages/about/index.astro

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ import { Focus } from "+/schema";
2020
<li>団体名: ut.code();</li>
2121
<li>構成人数: 30 人程度</li>
2222
<li>発足: 2019 年</li>
23+
<li>部室: 駒場学生会館 313B</li>
24+
<li>所属: 東京大学工学部丁友会 (2025年度)</li>
2325
<li>
2426
X: <a class="link" target="_blank" href="https://x.com/utokyo_code"
2527
>utokyo_code</a
@@ -43,6 +45,7 @@ import { Focus } from "+/schema";
4345
if (!elem) return;
4446
const addr = `contact${String.fromCharCode(64)}utcode.net`;
4547
if (elem.innerText !== addr) {
48+
console.log("loaded email");
4649
elem.outerHTML = `<a class="link" href="mailto:${addr}">${addr}</a>`;
4750
}
4851
}
@@ -93,7 +96,7 @@ import { Focus } from "+/schema";
9396
</article>
9497
<article>
9598
<h3>Q: 東京大学ではないです・一年生ではありません・文系です</h3>
96-
A: 全く問題ありません! ut.code(); は大学名・学年による制限は設けていません
99+
A: 全く問題ありません! ut.code(); は大学名・学年・文理による制限は設けていません
97100
</article>
98101
</section>
99102
<section>
@@ -102,7 +105,7 @@ import { Focus } from "+/schema";
102105
具体的な使用技術はプロジェクトによって異なります。
103106
</aside>
104107
<ul>
105-
<li>言語: JavaScript, TypeScript など</li>
108+
<li>言語: TypeScript など</li>
106109
<li>フレームワーク: React・Next.js, Svelte(Kit) など</li>
107110
<li>UI: MUI, Tailwind, DaisyUI など</li>
108111
<li>バックエンド: Hono, Express, Prisma, Drizzle など</li>

src/pages/index.astro

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,8 @@ articles.splice(3);
172172
{
173173
[
174174
{ title: "団体名", content: "ut.code();" },
175-
{ title: "構成人数", content: "20 名程度 (アクティブ)" },
176-
{ title: "発足", content: "2019 年" },
175+
{ title: "部員", content: "30 名程度" },
176+
{ title: "所属", content: "東京大学工学部丁友会 (2025 年度)" },
177177
{ title: "部室", content: "駒場キャンパス学生会館 313B 教室" },
178178
{
179179
title: "X",
@@ -182,9 +182,13 @@ articles.splice(3);
182182
},
183183
{
184184
title: "活動場所",
185-
content: "オンライン, 部室, KOMAD, その他施設",
185+
content: "オンライン, 部室, 本郷図書館プロジェクトボックス等",
186+
},
187+
{
188+
title: "GitHub",
189+
content: "ut-code",
190+
link: "https://github.com/ut-code",
186191
},
187-
{ title: "所属", content: "東京大学工学部丁友会 (2022 年度)" },
188192
].map(({ title, content, link }) => (
189193
<li class="flex gap-4 border-b border-gray-400 px-6 py-3">
190194
<div class="w-24">{title}</div>

0 commit comments

Comments
 (0)