File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed
Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 11import clsx from "clsx" ;
22import React from "react" ;
33import { Link } from "gatsby" ;
4+ import { FaXTwitter } from "react-icons/fa6" ;
45import ActionButton from "./ActionButton" ;
56import Logo from "./Logo" ;
67
@@ -9,7 +10,7 @@ function FooterSection({
910 links,
1011} : {
1112 title : string ;
12- links : { title : string ; to : string } [ ] ;
13+ links : { title : string | JSX . Element ; to : string } [ ] ;
1314} ) {
1415 return (
1516 < div >
@@ -74,7 +75,7 @@ export default function GlobalFooter({ className }: { className?: string }) {
7475 to : "https://first-programming.utcode.net/" ,
7576 } ,
7677 { title : "GitHub" , to : "https://github.com/ut-code" } ,
77- { title : "𝕏" , to : "https://twitter.com/utokyo_code" } ,
78+ { title : < FaXTwitter /> , to : "https://twitter.com/utokyo_code" } ,
7879 ] }
7980 />
8081 </ div >
Original file line number Diff line number Diff line change 11import React , { useEffect , useState } from "react" ;
22import { StaticImage } from "gatsby-plugin-image" ;
3+ import { FaXTwitter } from "react-icons/fa6" ;
34import GlobalFooter from "../components/GlobalFooter" ;
45import GlobalHeader from "../components/GlobalHeader" ;
56import CommonHead from "../components/CommonHead" ;
@@ -34,7 +35,7 @@ export default function ContactPage() {
3435 < p > ut.code(); へのお問い合わせは、各種 SNS をご利用ください。</ p >
3536 < p className = "not-prose flex gap-4" >
3637 < ActionButton to = "https://twitter.com/utokyo_code" >
37- 𝕏 (旧 Twitter)
38+ < FaXTwitter /> (旧 Twitter)
3839 </ ActionButton >
3940 < ActionButton to = "https://line.me/ti/p/%40nlr3843e" >
4041 LINE
Original file line number Diff line number Diff line change 66 FiBox ,
77 FiMessageSquare ,
88} from "react-icons/fi" ;
9+ import { FaXTwitter } from "react-icons/fa6" ;
910import { StaticImage } from "gatsby-plugin-image" ;
1011import GlobalHeader from "../components/GlobalHeader" ;
1112import ActionButton from "../components/ActionButton" ;
@@ -188,7 +189,7 @@ export default function IndexPage({ data }: PageProps<Queries.IndexPageQuery>) {
188189 { title : "構成人数" , content : "20 名程度 (アクティブ)" } ,
189190 { title : "部室" , content : "駒場キャンパス学生会館 313B 教室" } ,
190191 {
191- title : "𝕏" ,
192+ title : < FaXTwitter /> ,
192193 content : "@utokyo_code" ,
193194 link : "https://x.com/utokyo_code" ,
194195 } ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import nullthrows from "nullthrows";
55import Color from "color" ;
66import clsx from "clsx" ;
77import { FiGithub , FiGlobe } from "react-icons/fi" ;
8+ import { FaXTwitter } from "react-icons/fa6" ;
89import GlobalHeader from "../components/GlobalHeader" ;
910import GlobalFooter from "../components/GlobalFooter" ;
1011import CommonHead from "../components/CommonHead" ;
@@ -66,9 +67,9 @@ export default function MemberPage({
6667 target = "_blank"
6768 className = { socialButtonClassName }
6869 rel = "noreferrer"
69- aria-label = "𝕏 (旧 Twitter) を見る"
70+ aria-label = "X (旧 Twitter) を見る"
7071 >
71- 𝕏
72+ < FaXTwitter />
7273 </ a >
7374 ) }
7475 { data . mdx ?. frontmatter ?. website && (
You can’t perform that action at this time.
0 commit comments