Skip to content

Commit a3fdaea

Browse files
authoredJun 17, 2024··
update X/Twitter logo (#1454)
Update font-awesome link to a newer version that includes a newer X/Twitter logo. Something changed about the way the CSS is structured, such that loading just the brands.min.css file is not sufficient to apply the proper font-family setting, so tweak custom.css to fix this.
1 parent bf616f3 commit a3fdaea

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
 

‎docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ const config = {
233233
},
234234
stylesheets: [
235235
'https://fonts.googleapis.com/icon?family=Material+Icons',
236-
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/brands.min.css',
236+
'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/brands.min.css',
237237
],
238238
plugins: [
239239
[

‎src/css/custom.css

+4
Original file line numberDiff line numberDiff line change
@@ -242,3 +242,7 @@ td > .theme-code-block:last-child {
242242
.tabs-container .tabs {
243243
margin: -12px -12px 0;
244244
}
245+
246+
.fa-brands, .fab {
247+
font-family: "Font Awesome 6 Brands";
248+
}

‎src/theme/Footer/Links/MultiColumn/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default function FooterLinksMultiColumn({columns}) {
6464
<IconButton
6565
color="primary"
6666
onClick={() => window.open('https://twitter.com/pomerium_io')}>
67-
<span className="fa-brands fa-twitter" />
67+
<span className="fa-brands fa-x-twitter" />
6868
</IconButton>
6969
</li>
7070
<li style={{display: 'inline-block'}}>

0 commit comments

Comments
 (0)
Please sign in to comment.