Skip to content

Commit 51532b7

Browse files
authored
colored projects (#242)
1 parent 8dd8a97 commit 51532b7

34 files changed

+346
-109
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# 記事ページ
23

34
## frontmatter
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
# メンバーページ
23

34
[`[member].astro`](/src/pages/members/[member].astro) によってレンダリングされるメンバー詳細ページです。
@@ -10,10 +11,11 @@
1011
| ---------------- | ---- | ------------------------------------------------------------------------------------------------------------- |
1112
| `nameJa` || 名前。 |
1213
| `nameEn` || 英語名。 |
13-
| `joinYear` || ut.code(); に入会した年。ソートに使用しています。 |
14+
| `joinYear` || ut.code(); に入会した年。ソートに使用しています。 |
1415
| `description` || 今の自分を表す一言。 |
1516
| `faceImage` || 顔写真。縦横比は 1:1。顔を中央に配置し、顔の横幅がおよそ写真の横幅の 1/2 になるようにトリミングしてください。 |
1617
| `upperBodyImage` || バストショット。縦横比は 1:1。 |
1718
| `github` | | GitHub の**アカウント名** |
1819
| `twitter` | | X (旧 Twitter) の **ID**|
1920
| `website` | | 個人のウェブサイトの URL。 |
21+

contents/doc/projects.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# プロジェクトページ
2+
3+
`src/pages/projects/[...id].astro` によってレンダリングされるプロジェクト詳細ページです。
4+
5+
プロジェクトには 3 種類あります。
6+
7+
- 長期プロジェクト
8+
- 学園祭プロジェクト
9+
- ハッカソン
10+
11+
歴史的な経緯で長期プロジェクトは `contents/projects` 直下にありますが、学園祭プロジェクトとハッカソンは `contents/projects/{festival,hackathon}`にいれるようにしています。
12+
13+
## frontmatter
14+
15+
| キー | 必須 | 説明 |
16+
| ------------- | ---- | ------------------------------------------------------------------------------ |
17+
| `title` || プロジェクト名 |
18+
| `order` | | 表示順。指定されなかった場合は `date` 降順でソートされます。 |
19+
| `date` || プロジェクトの開始日。現状ソートのみで利用しています。 |
20+
| `image` || イメージ画像に関するデータ。 |
21+
| `image.src` || イメージファイルへの markdown からの相対パス。 |
22+
| `image.fit` | | イメージのクロップ方法。 default = "cover"。 |
23+
| `image.bg` | | イメージの背景色。ロード中と `crop` = "contain" のときの背景に使われています。 |
24+
| `description` || 短い説明。 |
25+
| `tags` | | 使用されている技術など。現状タグごとのフィルタリング機能等は提供していません。 |
26+
| `github` | | プロジェクトの GitHub 上での URL。 |
27+
| `youtube` | | プロジェクトの YouTube 上での URL。 |
28+
| `website` | | プロジェクトのウェブサイトの URL。 |
29+
30+
## body について
31+
32+
長期プロジェクトの body は各長期プロジェクトのページに使用されています。
33+
それ以外は必要ありません。

contents/project-kinds.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
export const kinds = [
2+
{
3+
frontmatter: "long-term",
4+
path: undefined,
5+
title: "長期プロジェクト",
6+
description:
7+
"ut.code(); で長期間にわたって開発を行っているプロジェクトです",
8+
tabTitle: "長期プロジェクト",
9+
},
10+
{
11+
frontmatter: "festival",
12+
path: "festival",
13+
title: "学園祭プロジェクト",
14+
description:
15+
"ut.code(); が毎年参加している、学園祭に展示するプロジェクトです",
16+
tabTitle: "学園祭",
17+
},
18+
{
19+
frontmatter: "hackathon",
20+
path: "hackathon",
21+
title: "ハッカソンプロジェクト",
22+
description: "ut.code(); で短期間で開発したハッカソンのプロジェクトです",
23+
tabTitle: "ハッカソン",
24+
},
25+
] as const;

contents/projects/README.md

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: Call Paper
3+
date: 2023-08-17
4+
kind: hackathon
5+
status: finished
6+
image:
7+
src: ./call-paper.png
8+
description: 論文の引用関係を可視化できるアプリ
9+
github: https://github.com/ut-code/call-paper
10+
website: https://call-paper.pages.dev
11+
---
119 KB
Loading
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: Denigma
3+
date: 2023-08-17
4+
kind: hackathon
5+
status: dead
6+
image:
7+
src: ./denigma.png
8+
description: "暗号解読ゲーム。シーザー暗号やRSA暗号など、基本的な暗号に触れてみよう!"
9+
github: https://github.com/ut-code/denigma
10+
website: https://utcode-denigma.onrender.com/
11+
---
39.2 KB
Loading
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: music-app
3+
date: 2023-08-17
4+
kind: hackathon
5+
status: finished
6+
image:
7+
src: ./music-app.png
8+
description: その日の気分にあった作業用BGMを生成してくれるアプリ
9+
github: https://github.com/ut-code/music-app
10+
website: https://ut-code.github.io/music-app
11+
---

0 commit comments

Comments
 (0)