Skip to content

Commit a2be7b9

Browse files
Remove MDX Conf 2020 banner (#1530)
Sorry that banner for a conference in 2020 was always annoying me, I have no idea if this is the right way, but I hope so!
1 parent 0250928 commit a2be7b9

File tree

1 file changed

+0
-27
lines changed
  • packages/gatsby-theme-mdx/src/components

1 file changed

+0
-27
lines changed

packages/gatsby-theme-mdx/src/components/layout.js

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -30,32 +30,6 @@ const styles = (
3030
/>
3131
)
3232

33-
const MDXConf = () => (
34-
<div
35-
css={css({
36-
bg: '#fcb42d',
37-
boxSizing: 'border-box'
38-
})}
39-
>
40-
<Link
41-
css={css({
42-
color: 'text',
43-
textDecoration: 'none',
44-
fontWeight: 'bold',
45-
fontSize: [2, 3, 3],
46-
width: '100%',
47-
display: 'flex',
48-
p: 3
49-
})}
50-
to="/conf"
51-
>
52-
<span aria-label="tada">🎉</span>
53-
<span css={css({ml: 2})}>MDX Conf &mdash; August 24th, 2020</span>
54-
<span css={css({ml: 'auto'})}>&rarr;</span>
55-
</Link>
56-
</div>
57-
)
58-
5933
const Root = props => (
6034
<div
6135
{...props}
@@ -195,7 +169,6 @@ export default props => {
195169
<ThemeProvider theme={theme} components={components}>
196170
<SkipNavLink />
197171
{styles}
198-
<MDXConf />
199172
<Root>
200173
<Overlay open={menuOpen} onClick={closeMenu} />
201174
<Header toggleMenu={toggleMenu} dark={dark} setDark={setDark} />

0 commit comments

Comments
 (0)