Skip to content

Commit

Permalink
Revert "feat: SP1 banner"
Browse files Browse the repository at this point in the history
This reverts commit fc070d9.
  • Loading branch information
onobc committed Apr 30, 2024
1 parent ff718e2 commit d7cc504
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 44 deletions.
9 changes: 0 additions & 9 deletions src/components/common/layout/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,6 @@ import Header from './Header'
const Layout = ({ children, version, className }) => (
<>
<div className={className}>
<div className='springone-banner'>
<div>
SpringOne Call for papers is open—
<a href='https://springone.io' target='_blank'>
Submit your talk
</a>{' '}
by May 3!
</div>
</div>
<Header version={version} />
<main>{children}</main>
<Footer />
Expand Down
35 changes: 0 additions & 35 deletions src/styles/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -911,38 +911,3 @@ button.button {
padding: $spring-8points * 2 0;
}
}

.springone-banner {
$h: 36px;
position: relative;
height: $h;
div {
color: rgba(255, 255, 255, 0.9);
position: absolute;
top: 0;
left: 0;
right: 0;
display: block;
background-color: $spring-primary-color;
z-index: 99;
height: $h;
line-height: $h + 4px;
font-size: 1rem;
text-align: center;
a {
color: #fff;
font-weight: bold;
text-decoration: underline;
&:hover {
color: white;
}
}
}
}

// Endpoint Small
@media (max-width: 800px) {
.springone-banner {
display: none;
}
}

0 comments on commit d7cc504

Please sign in to comment.