diff --git a/contents/members/README.md b/contents/members/README.md index 69e448cf..4a6ce138 100644 --- a/contents/members/README.md +++ b/contents/members/README.md @@ -16,5 +16,5 @@ | `faceImage` | ✅ | 顔写真。縦横比は 1:1。顔を中央に配置し、顔の横幅がおよそ写真の横幅の 1/2 になるようにトリミングしてください。 | | `upperBodyImage` | ✅ | バストショット。縦横比は 4:3。顔の横幅が画像の横幅のおよそ 1/3、顔の中央が画像上部からおよそ 1/3 になるようにトリミングしてください。 | | `github` | | GitHub の**アカウント名** | -| `twitter` | | Twitter (X) の **ID**。 | +| `twitter` | | X (旧 Twitter) の **ID**。 -- TODO: キーをx_twitterに変える (理由: X だけだとなんのことかわかりにくいため) | | `website` | | 個人のウェブサイトの URL。 | diff --git a/src/components/GlobalFooter.tsx b/src/components/GlobalFooter.tsx index 7a1b007f..a98b87ba 100644 --- a/src/components/GlobalFooter.tsx +++ b/src/components/GlobalFooter.tsx @@ -74,7 +74,7 @@ export default function GlobalFooter({ className }: { className?: string }) { to: "https://first-programming.utcode.net/", }, { title: "GitHub", to: "https://github.com/ut-code" }, - { title: "Twitter", to: "https://twitter.com/utokyo_code" }, + { title: "𝕏", to: "https://twitter.com/utokyo_code" }, ]} /> diff --git a/src/pages/contact.tsx b/src/pages/contact.tsx index 741a248c..3743e454 100644 --- a/src/pages/contact.tsx +++ b/src/pages/contact.tsx @@ -34,7 +34,7 @@ export default function ContactPage() {

ut.code(); へのお問い合わせは、各種 SNS をご利用ください。

- X (Twitter) + 𝕏 (旧 Twitter) LINE @@ -53,7 +53,8 @@ export default function ContactPage() {

ご寄付・ご協賛のお願い

{/* eslint-disable prettier/prettier */} - ut.code(); では、活動を支援していただける方を募集しております。詳細につきましては、次のページをご覧ください。 + ut.code(); + では、活動を支援していただける方を募集しております。詳細につきましては、次のページをご覧ください。 {/* eslint-enable prettier/prettier */}

diff --git a/src/pages/index.tsx b/src/pages/index.tsx index d3d28fc1..b5db8b47 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -186,19 +186,31 @@ export default function IndexPage({ data }: PageProps) { { title: "団体名", content: "ut.code();" }, { title: "構成人数", content: "20 名程度 (アクティブ)" }, { title: "部室", content: "駒場キャンパス学生会館 313B 教室" }, - { title: "X (旧 Twitter)", content: "@utokyo_code" }, + { + title: "𝕏", + content: "@utokyo_code", + link: "https://x.com/utokyo_code", + }, { title: "活動場所", content: "オンライン, 部室, KOMAD, その他施設", }, { title: "所属", content: "東京大学工学部丁友会 (2022 年度)" }, - ].map(({ title, content }) => ( -

  • + ].map(({ title, content, link }) => ( +
  • {title}
    -
    {content}
    + {link ? ( + + {content} + + ) : ( +
    {content}
    + )}
  • ))} diff --git a/src/templates/member.tsx b/src/templates/member.tsx index 0b6f2519..0799b5ec 100644 --- a/src/templates/member.tsx +++ b/src/templates/member.tsx @@ -4,7 +4,7 @@ import { GatsbyImage } from "gatsby-plugin-image"; import nullthrows from "nullthrows"; import Color from "color"; import clsx from "clsx"; -import { FiTwitter, FiGithub, FiGlobe } from "react-icons/fi"; +import { FiGithub, FiGlobe } from "react-icons/fi"; import GlobalHeader from "../components/GlobalHeader"; import GlobalFooter from "../components/GlobalFooter"; import CommonHead from "../components/CommonHead"; @@ -66,9 +66,9 @@ export default function MemberPage({ target="_blank" className={socialButtonClassName} rel="noreferrer" - aria-label="Twitterを見る" + aria-label="𝕏 (旧 Twitter) を見る" > - + 𝕏 )} {data.mdx?.frontmatter?.website && (