Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions src/components/CommonHead.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ import config from "../../gatsby-config";
export default function CommonHead({
title,
description,
keywords,
image,
linkedData,
}: {
title: string | null;
description?: string;
keywords?: string[];
image?: string;
linkedData?: WithContext<Thing>;
}) {
Expand Down Expand Up @@ -45,6 +47,16 @@ export default function CommonHead({
<meta property="og:locale" content="ja_JP" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@utokyo_code" />
<meta
name="keywords"
content={[
...(keywords ?? []),
"ソフトウェアエンジニアリング",
"プログラミング",
"東京大学",
"サークル",
].join(",")}
/>
{linkedData && (
<script type="application/ld+json">{JSON.stringify(linkedData)}</script>
)}
Expand Down
3 changes: 2 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export default function IndexPage({ data }: PageProps<Queries.IndexPageQuery>) {
<div className="prose mt-3">
<p>
ut.code(); は、2019
年設立の東京大学のソフトウェアエンジニアリングコミュニティです。
年発足の東京大学のソフトウェアエンジニアリングコミュニティ・プログラミングサークルです。
プログラミングの学習から、実社会で役立つソフトウェア製作まで、幅広い活動を行っています。
</p>
</div>
<ActionButton to="/join/" className="mt-4">
Expand Down
Loading