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"
10
10
import TranslationBannerLegal from "./TranslationBannerLegal"
11
11
import FeedbackWidget from "./FeedbackWidget"
12
12
import { SkipLink } from "./SkipLink"
13
- import TranslatathonBanner from "./Banners/TranslatathonBanner"
14
13
15
14
import { lightTheme as oldTheme } from "../theme"
16
15
@@ -76,10 +75,6 @@ const Layout: React.FC<IProps> = ({
76
75
! isTranslationBannerIgnored
77
76
78
77
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/"
83
78
84
79
return (
85
80
< ApolloProvider client = { client } >
@@ -107,7 +102,6 @@ const Layout: React.FC<IProps> = ({
107
102
>
108
103
< Nav path = { path } />
109
104
{ shouldShowSideNav && < SideNavMobile path = { path } /> }
110
- { shouldShowTranslatathonBanner && < TranslatathonBanner /> }
111
105
< Flex
112
106
flexDirection = { { base : "column" , lg : "row" } }
113
107
id = "main-content"
You can’t perform that action at this time.
0 commit comments