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

Add nwHacks registrations temporarily closed banner #177

Merged
merged 4 commits into from
Nov 14, 2023
Merged

Add nwHacks registrations temporarily closed banner #177

merged 4 commits into from
Nov 14, 2023

Conversation

sidyakinian
Copy link
Contributor

Description

Adds banner to top of website saying nwHacks registrations are temporarily closed.

Other considerations

Might be nice to align the text in another PR, for now just copied design component.

Screenshot 2023-11-14 at 00 22 52

Copy link

github-actions bot commented Nov 14, 2023

Visit the preview URL for this PR (updated for commit beaf213):

https://nwplus-io--pr177-banner-2jod83vq.web.app

(expires Tue, 21 Nov 2023 21:13:07 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a778397fecec2eb8f19e28d7b9fa723113d13f3d

@meleongg
Copy link
Member

I'm getting some sidescroll in the preview
image

@sidyakinian
Copy link
Contributor Author

@meleongg Sorry how can I reproduce this?

position: absolute;
z-index: 1;
height: 134px;
width: 100vw;
Copy link
Member

@meleongg meleongg Nov 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect the sidescroll may be coming from the width

@meleongg
Copy link
Member

side scroll is fixed, but the banner covers a bit of the background on mobile - using iPhone 12 Pro

image


const BannerContainer = styled.div`
background: linear-gradient(92.58deg, #0defe1 0%, #78ff96 100%);
position: absolute;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering if it's possible to shift the hero down such that the banner isn't covering it? or do you think it looks good enough already haha

  • removing position: absolute; looks to fix it on mobile but I haven't thoroughly checked this

image

Copy link
Member

@meleongg meleongg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great now!

@meleongg meleongg merged commit 1a2dbe6 into main Nov 14, 2023
2 checks passed
@meleongg meleongg deleted the banner branch November 14, 2023 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants