mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-31 07:18:59 +02:00
chore: Rename Twitter links/labels to X (#10509)
This commit is contained in:
parent
a435fbd36e
commit
95e2d469e3
95 changed files with 217 additions and 218 deletions
|
@ -11,10 +11,10 @@ import Link from '@docusaurus/Link';
|
|||
import Heading from '@theme/Heading';
|
||||
import styles from './styles.module.css';
|
||||
|
||||
function TwitterLink() {
|
||||
function XLink() {
|
||||
return (
|
||||
<Link href="https://twitter.com/docusaurus" className={styles.twitter}>
|
||||
<b>Twitter</b>
|
||||
<Link href="https://x.com/docusaurus" className={styles.x}>
|
||||
<b>X</b>
|
||||
<svg
|
||||
style={{
|
||||
fill: '#1da1f2',
|
||||
|
@ -71,11 +71,11 @@ export default function ChangelogListHeader({
|
|||
<Translate
|
||||
id="changelog.description"
|
||||
values={{
|
||||
twitterLink: <TwitterLink />,
|
||||
xLink: <XLink />,
|
||||
rssLink: <RssLink />,
|
||||
}}>
|
||||
{
|
||||
'Subscribe through {rssLink} or follow us on {twitterLink} to stay up-to-date with new releases!'
|
||||
'Subscribe through {rssLink} or follow us on {xLink} to stay up-to-date with new releases!'
|
||||
}
|
||||
</Translate>
|
||||
</p>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
color: #f26522;
|
||||
}
|
||||
|
||||
.twitter,
|
||||
.twitter:hover {
|
||||
.x,
|
||||
.x:hover {
|
||||
color: #1da1f2;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue