chore: release Docusaurus 3.3.0 + 3.3.1 + 3.3.2 (#10101)

This commit is contained in:
Sébastien Lorber 2024-05-03 17:14:41 +02:00 committed by GitHub
parent 2d8281fc03
commit c125f7a272
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
146 changed files with 21297 additions and 228 deletions

View file

@ -203,29 +203,21 @@ function FeaturesContainer() {
}
function TopBanner() {
/* TODO restore Ukraine banner after launch
<Translate
id="homepage.banner"
values={{
link: (
<Link to="https://opensource.facebook.com/support-ukraine">
<Translate id="homepage.banner.link">
Help Provide Humanitarian Aid to Ukraine
</Translate>
</Link>
),
}}>
{'Support Ukraine 🇺🇦 {link}.'}
</Translate>
*/
// TODO We should be able to strongly type customFields
// Refactor to use a CustomFields interface + TS declaration merging
const announcedVersion = useDocusaurusContext().siteConfig.customFields
?.announcedVersion as string;
return (
<div className={styles.topBanner}>
<div className={styles.topBannerTitle}>
{'🎉\xa0'}
<Link to="/blog/releases/3.2" className={styles.topBannerTitleText}>
<Link
to={`/blog/releases/${announcedVersion}`}
className={styles.topBannerTitleText}>
<Translate
id="homepage.banner.launch.newVersion"
values={{newVersion: '3.2'}}>
values={{newVersion: announcedVersion}}>
{'Docusaurus\xa0{newVersion} is\xa0out!'}
</Translate>
</Link>