File tree Expand file tree Collapse file tree 2 files changed +0
-28
lines changed
Expand file tree Collapse file tree 2 files changed +0
-28
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import TranslationBanner from "./TranslationBanner"
1010import TranslationBannerLegal from "./TranslationBannerLegal"
1111import FeedbackWidget from "./FeedbackWidget"
1212import { SkipLink } from "./SkipLink"
13- import TranslatathonBanner from "./Banners/TranslatathonBanner"
1413
1514import { lightTheme as oldTheme } from "../theme"
1615
@@ -76,10 +75,6 @@ const Layout: React.FC<IProps> = ({
7675 ! isTranslationBannerIgnored
7776
7877 const strippedPathname = path . replace ( / ^ \/ [ a - z ] { 2 , 3 } ( - [ a - z ] { 2 } ) ? \/ / , "/" )
79- const shouldShowTranslatathonBanner =
80- strippedPathname === "/community/get-involved/" ||
81- strippedPathname === "/" ||
82- strippedPathname === "/contributing/translation-program/"
8378
8479 return (
8580 < ApolloProvider client = { client } >
@@ -107,7 +102,6 @@ const Layout: React.FC<IProps> = ({
107102 >
108103 < Nav path = { path } />
109104 { shouldShowSideNav && < SideNavMobile path = { path } /> }
110- { shouldShowTranslatathonBanner && < TranslatathonBanner /> }
111105 < Flex
112106 flexDirection = { { base : "column" , lg : "row" } }
113107 id = "main-content"
You can’t perform that action at this time.
0 commit comments