Skip to content

Commit

Permalink
Revert "Add a temporary BLACKFRIDAY banner"
Browse files Browse the repository at this point in the history
This reverts commit 81cc745.
  • Loading branch information
pimterry committed Nov 28, 2023
1 parent 765b1c8 commit 052c80e
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions src/components/layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,32 +26,6 @@ import "prismjs/themes/prism-tomorrow.css";
import { LinkButton } from './form';
import { getVisibilityProps } from './modal';

import { FullWidthSection } from './full-width-section';

const BlackFridayHeader = styled(FullWidthSection)`
min-height: 40px;
background-color: #202020;
color: #fafafa
${p => p.theme.fontSizeText};
padding: 10px;
display: flex;
flex-direction: vertical;
align-items: center;
justify-content: center;
flex-wrap: wrap;
text-align: center;
p {
margin: 3px 3px;
}
a {
color: #fff;
}
`;

const Main = styled.main`
font-family: Lato, Helvetica, Arial, sans-serif;
Expand Down Expand Up @@ -315,12 +289,6 @@ export class Layout extends React.Component {
</Nav>
</Header>

<BlackFridayHeader>
<p>
Use code <strong>BLACKFRIDAY</strong> before Tuesday for <strong>50% off annual purchases</strong> of <a href="/get-pro/">HTTP Toolkit Pro</a>!
</p>
</BlackFridayHeader>

{this.props.children}

<Footer {...visibilityProps}>
Expand Down

0 comments on commit 052c80e

Please sign in to comment.