From e2ed8011e26f9b5f7177ad357761ef4f90f1e481 Mon Sep 17 00:00:00 2001
From: Gabe Koscky <68292774+gkoscky@users.noreply.github.com>
Date: Tue, 26 Sep 2023 13:03:51 -0400
Subject: [PATCH] Revert "Add ETHGlobal Hackathon banner (#440)" (#445)
This reverts commit 7d4ab1d9b98901248fe4e3bd3e24e61bdb6a62d5.
---
docusaurus.config.js | 6 ------
src/scss/custom.scss | 43 +------------------------------------------
2 files changed, 1 insertion(+), 48 deletions(-)
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 9ae497105..9a600d5eb 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -57,12 +57,6 @@ const darkCodeTheme = require("prism-react-renderer/themes/dracula");
position: 'right',
},
],
- },
- announcementBar: {
- id: "ETHGlobal",
- content:
- '🍎Participate in the Flashbots hackathon track at ETHGlobal NY, Sept 22 - 24🍎',
- isCloseable: false,
}
}),
diff --git a/src/scss/custom.scss b/src/scss/custom.scss
index a8e66afef..bcd64b09a 100644
--- a/src/scss/custom.scss
+++ b/src/scss/custom.scss
@@ -114,45 +114,4 @@ h2 {
&:hover {
background-image: linear-gradient(transparent, rgba(0, 0, 0, .05) 40%, rgba(0, 0, 0, .1));
}
-}
-
-/* Top banner */
-div[role=banner] {
- min-height: 32px;
-
- > div {
- min-height: 32px;
- padding: 0px;
- border: 0px;
- display: flex;
- align-items: center;
- justify-content: center;
- column-gap: 10px;
- background-color: #f1be47;
- color: #000000;
- text-align: center;
- font-size: 100%;
-
- a {
- font-family: "CMU-Serif";
- font-size: 16px;
- text-decoration: none;
-
- &:hover {
- text-decoration: underline;
- }
- }
- }
-}
-
-@media (min-width: 341px) and (max-width: 640px) {
- div[role=banner] > div a {
- flex-basis: 280px;
- }
-}
-
-@media (max-width: 340px) {
- div[role=banner] > div a {
- flex-basis: 150px;
- }
-}
+}
\ No newline at end of file