Skip to content

Commit 4e0ecd9

Browse files
committed
reorder headers and fix article image not fitting properly
1 parent 661b811 commit 4e0ecd9

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

contents/doc/members.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
| `nameEn` || 英語名。 |
1414
| `joinYear` || ut.code(); に入会した年。ソートに使用しています。 |
1515
| `description` || 今の自分を表す一言。 |
16-
| `faceImage` || 顔写真。縦横比は 1:1。顔を中央に配置し、顔の横幅がおよそ写真の横幅の 1/2 になるようにトリミングしてください。 |
17-
| `upperBodyImage` || バストショット。縦横比は 1:1。 |
16+
| `faceImage` || 顔写真。縦横比は 1:1。顔を中央に配置してください。 |
17+
| `upperBodyImage` || バストショット。縦横比は 1:1。顔が端になることは避けてください。 |
1818
| `github` | | GitHub の**アカウント名** |
1919
| `twitter` | | X (旧 Twitter) の **ID**|
2020
| `website` | | 個人のウェブサイトの URL。 |

src/components/Header.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import banner from "+contents/banner.ts";
77
import Logo from "./Logo.astro";
88
99
const links = [
10-
{ title: "About", href: "/about", focus: Focus.about },
1110
{ title: "プロジェクト", href: "/projects", focus: Focus.projects },
1211
{ title: "記事", href: "/articles", focus: Focus.articles },
1312
{ title: "メンバー", href: "/members", focus: Focus.members },
1413
{ title: "参加", href: "/join", focus: Focus.join },
14+
{ title: "About", href: "/about", focus: Focus.about },
1515
];
1616
1717
interface Props {

src/pages/articles/[...id].astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ const author = article.data.author && (await getMember(article.data.author.id));
5757
formats={["avif", "webp"]}
5858
width="64"
5959
height="64"
60+
fit="cover"
6061
src={author.data.faceImage}
6162
class="overflow-clip rounded-full bg-gray-200"
6263
/>

0 commit comments

Comments
 (0)