mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 23:08:54 +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 (
|
||||
<Layout title={tagline} description={description}>
|
||||
<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 />
|
||||
<MigrationAnnouncement />
|
||||
<div className={styles.section}>
|
||||
|
|
|
@ -49,6 +49,15 @@
|
|||
max-width: 768px;
|
||||
}
|
||||
|
||||
.banner {
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
padding: 20px;
|
||||
max-width: 768px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.hero {
|
||||
background-color: #2b3137;
|
||||
padding: 48px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue