mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-30 10:48:05 +02:00
docs(website): Announce v3.2 on website/homepage (#10004)
This commit is contained in:
parent
70415a4cef
commit
26e0bd928c
2 changed files with 7 additions and 5 deletions
|
@ -504,9 +504,9 @@ export default async function createConfigAsync() {
|
||||||
respectPrefersColorScheme: true,
|
respectPrefersColorScheme: true,
|
||||||
},
|
},
|
||||||
announcementBar: {
|
announcementBar: {
|
||||||
id: 'announcementBar-3', // Increment on change
|
id: 'announcementBar-v3.2', // Increment on change
|
||||||
// content: `⭐️ If you like Docusaurus, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/facebook/docusaurus">GitHub</a> and follow us on <a target="_blank" rel="noopener noreferrer" href="https://twitter.com/docusaurus">Twitter ${TwitterSvg}</a>`,
|
// content: `⭐️ If you like Docusaurus, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/facebook/docusaurus">GitHub</a> and follow us on <a target="_blank" rel="noopener noreferrer" href="https://twitter.com/docusaurus">Twitter ${TwitterSvg}</a>`,
|
||||||
content: `🎉️ <b><a target="_blank" href="https://docusaurus.io/blog/releases/3.0">Docusaurus v3.0</a> is now out!</b> 🥳️`,
|
content: `🎉️ <b><a target="_blank" href="https://docusaurus.io/blog/releases/3.2">Docusaurus v3.2</a> is out!</b> 🥳️`,
|
||||||
},
|
},
|
||||||
prism: {
|
prism: {
|
||||||
additionalLanguages: [
|
additionalLanguages: [
|
||||||
|
|
|
@ -222,9 +222,11 @@ function TopBanner() {
|
||||||
<div className={styles.topBanner}>
|
<div className={styles.topBanner}>
|
||||||
<div className={styles.topBannerTitle}>
|
<div className={styles.topBannerTitle}>
|
||||||
{'🎉\xa0'}
|
{'🎉\xa0'}
|
||||||
<Link to="/blog/releases/3.0" className={styles.topBannerTitleText}>
|
<Link to="/blog/releases/3.2" className={styles.topBannerTitleText}>
|
||||||
<Translate id="homepage.banner.launch.3.0">
|
<Translate
|
||||||
{'Docusaurus\xa03.0 is\xa0out!️'}
|
id="homepage.banner.launch.newVersion"
|
||||||
|
values={{newVersion: '3.2'}}>
|
||||||
|
{'Docusaurus\xa0{newVersion} is\xa0out!️'}
|
||||||
</Translate>
|
</Translate>
|
||||||
</Link>
|
</Link>
|
||||||
{'\xa0🥳'}
|
{'\xa0🥳'}
|
||||||
|
|
Loading…
Add table
Reference in a new issue