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

Update clr banner #435

Merged
merged 3 commits into from
Sep 8, 2021
Merged
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
7 changes: 4 additions & 3 deletions src/layout/Banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ const BannerContainer = styled('div')`
`

export default function Banner() {
const startDate = '2020-12-02' // YYYY-MM-DD
const endDate = '2020-12-16' // YYYY-MM-DD
const startDate = '2021-09-07' // YYYY-MM-DD
const endDate = '2021-09-22' // YYYY-MM-DD

if (!moment().isBetween(startDate, endDate)) return false
return (
<BannerContainer>
<a href="https://gitcoin.co/grants/775/kickback">
{' '}
"Support Kickback at Gitcoin CLR Round 8 (ends on{' '}
"Support Kickback at Gitcoin CLR Round 10 (ends on{' '}
{moment(endDate).format('dddd, MMMM Do YYYY')})"
</a>
</BannerContainer>
Expand Down