Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Black Friday 2023 #26

Merged
merged 1 commit into from
Nov 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions src/components/Bf2023/Bf2023.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import React, { Component } from 'react'

import styles from './styles.module.css'

export class Bf2023 extends Component {
render() {
return (
<div className={styles.banner}>
BLACK FRIDAY:{' '}
<strong>
<u>20% off everything</u>
</strong>{' '}
for first 3 months. Code:{' '}
<strong>
BLACKFRIDAY2023 &nbsp;&nbsp;&nbsp;
<a href='https://app.reacher.email?utm_campaign=BLACKFRIDAY2023'>
Sign up now →
</a>
</strong>
.
</div>
)
}
}
16 changes: 16 additions & 0 deletions src/components/Bf2023/styles.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.banner {
background-color: black;
height: 32px;
left: 0;
line-height: 32px;
text-align: center;
position: sticky;
top: 78px;
width: 100%;
z-index: 20;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.banner a {
color: #EA4293
}
1 change: 1 addition & 0 deletions src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export {
Loading
}

export * from './Bf2023'
export * from './HeroSection'
export * from './DemoSection'
export * from './FeaturesSection'
Expand Down
2 changes: 2 additions & 0 deletions src/pages/HomePage/HomePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
} from 'components'

import styles from './styles.module.css'
import { Bf2023 } from '../../components'

@withTracker
@inject('config')
Expand All @@ -29,6 +30,7 @@ export class HomePage extends Component {
<ScrollToTopOnMount />

<NavHeader />
<Bf2023 />

<div className={theme(styles, 'main')}>
<div
Expand Down
Loading