mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 02:08:55 +02:00
docs: add homepage banner in support of Ukraine (#6811)
* Adding social banner in support of Ukraine * Adding flag to the banner * Updating donation URL * Updating URL for the fundraiser
This commit is contained in:
parent
cfdd120dc4
commit
1ac41132e3
2 changed files with 18 additions and 0 deletions
|
@ -238,6 +238,15 @@ export default function Home(): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<Layout title={tagline} description={description}>
|
<Layout title={tagline} description={description}>
|
||||||
<main>
|
<main>
|
||||||
|
<div>
|
||||||
|
<div className={styles.banner}>
|
||||||
|
Support Ukraine 🇺🇦{' '}
|
||||||
|
<Link to="https://opensource.facebook.com/support-ukraine">
|
||||||
|
Help Provide Humanitarian Aid to Ukraine
|
||||||
|
</Link>
|
||||||
|
.
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<HeroBanner />
|
<HeroBanner />
|
||||||
<MigrationAnnouncement />
|
<MigrationAnnouncement />
|
||||||
<div className={styles.section}>
|
<div className={styles.section}>
|
||||||
|
|
|
@ -49,6 +49,15 @@
|
||||||
max-width: 768px;
|
max-width: 768px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.banner {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 20px;
|
||||||
|
padding: 20px;
|
||||||
|
max-width: 768px;
|
||||||
|
margin: 0 auto;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.hero {
|
.hero {
|
||||||
background-color: #2b3137;
|
background-color: #2b3137;
|
||||||
padding: 48px;
|
padding: 48px;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue