Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

Commit

Permalink
Back out "docs: add social banner in support of Ukraine"
Browse files Browse the repository at this point in the history
Reviewed By: dmitryvinn-fb

Differential Revision: D43519381

fbshipit-source-id: 9b28466547f48930d7e755d4257f6a3a3b20101c
  • Loading branch information
Aliaksei Andreyeu authored and facebook-github-bot committed Feb 23, 2023
1 parent a7c4bc3 commit d99810a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 36 deletions.
21 changes: 0 additions & 21 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,3 @@
--ifm-color-primary-lighter: #e19c8d;
--ifm-color-primary-lightest: #e3d4d0;
}

/* Social Banner */
.SocialBannerWrapper {
padding: 0 0;
background-color: black;
}

.SocialBanner {
font-weight: bold;
font-size: 20px;
padding: 20px;
max-width: 768px;
margin: 0 auto;
color: white;
text-align: center;
}

.SocialBanner a {
text-decoration: underline;
color: white;
}
15 changes: 0 additions & 15 deletions website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,6 @@ const features = [
}
];

function SocialBanner() {
return (
<div className="SocialBannerWrapper">
<div className="SocialBanner">
Support Ukraine 🇺🇦{' '}
<a href="https://opensource.fb.com/support-ukraine">
Help Provide Humanitarian Aid to Ukraine
</a>
.
</div>
</div>
);
}

const Index = () => {
const context = useDocusaurusContext();
const { siteConfig = {} } = context;
Expand All @@ -57,7 +43,6 @@ const Index = () => {
title={`${siteConfig.title} - ${siteConfig.tagline}`}
description={siteConfig.tagline}
>
<SocialBanner />
<header className={classnames("hero hero--primary", styles.heroBanner)}>
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
Expand Down

0 comments on commit d99810a

Please sign in to comment.