@@ -186,19 +186,31 @@ export default function IndexPage({ data }: PageProps<Queries.IndexPageQuery>) {
186186 { title : "団体名" , content : "ut.code();" } ,
187187 { title : "構成人数" , content : "20 名程度 (アクティブ)" } ,
188188 { title : "部室" , content : "駒場キャンパス学生会館 313B 教室" } ,
189- { title : "X (旧 Twitter)" , content : "@utokyo_code" } ,
189+ {
190+ title : "𝕏" ,
191+ content : "@utokyo_code" ,
192+ link : "https://x.com/utokyo_code" ,
193+ } ,
190194 {
191195 title : "活動場所" ,
192196 content : "オンライン, 部室, KOMAD, その他施設" ,
193197 } ,
194198 { title : "所属" , content : "東京大学工学部丁友会 (2022 年度)" } ,
195- ] . map ( ( { title, content } ) => (
196- < li
197- key = { title }
198- className = "flex gap-4 border-b border-gray-400 px-6 py-3"
199- >
199+ ] . map ( ( { title, content, link } ) => (
200+ < li className = "flex gap-4 border-b border-gray-400 px-6 py-3" >
200201 < div className = "w-24" > { title } </ div >
201- < div className = "flex-1" > { content } </ div >
202+ { link ? (
203+ < a
204+ href = { link }
205+ target = "_blank"
206+ rel = "noreferrer"
207+ className = "flex-1 text-blue-500 underline"
208+ >
209+ { content }
210+ </ a >
211+ ) : (
212+ < div className = "flex-1" > { content } </ div >
213+ ) }
202214 </ li >
203215 ) ) }
204216 </ ul >
0 commit comments