Skip to content

Commit b9e3d02

Browse files
authored
Merge pull request #116 from PecanProject/allgandalf-patch-1
Rename 'Twitter' label to '𝕏'
2 parents c7b4775 + b3eeeb6 commit b9e3d02

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ module.exports = {
8585
className: "footer-slack-link",
8686
},
8787
{
88-
label: "Twitter",
89-
href: "https://twitter.com/pecanproject",
90-
className: "footer-twitter-link",
88+
label: "𝕏 (formerly Twitter)",
89+
href: "https://x.com/pecanproject",
90+
className: "footer-x-link",
9191
},
9292
],
9393
},

src/css/custom.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@ html[data-theme="dark"] .footer-slack-link::before {
123123
background-size: contain;
124124
}
125125

126-
.footer-twitter-link {
126+
.footer-x-link {
127127
display: flex;
128128
align-items: center;
129129
gap: 8px;
130130
color: var(--ifm-footer-link-color);
131131
}
132132

133-
.footer-twitter-link::before {
133+
.footer-x-link::before {
134134
content: "";
135135
width: 24px;
136136
height: 24px;
@@ -139,7 +139,7 @@ html[data-theme="dark"] .footer-slack-link::before {
139139
background-size: contain;
140140
}
141141

142-
html[data-theme="dark"] .footer-twitter-link::before {
142+
html[data-theme="dark"] .footer-x-link::before {
143143
background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.053,7.988l5.631,8.024h-1.497L8.566,7.988H10.053z M21,21H3V3h18V21z M17.538,17l-4.186-5.99L16.774,7h-1.311l-2.704,3.16L10.552,7H6.702l3.941,5.633L6.906,17h1.333l3.001-3.516L13.698,17H17.538z'/%3E%3C/svg%3E") no-repeat center;
144144
background-size: contain;
145145
}

0 commit comments

Comments
 (0)