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

Remove and comment out code related to banner #182

Merged
merged 3 commits into from
Dec 2, 2023
Merged

Conversation

meleongg
Copy link
Member

@meleongg meleongg commented Dec 1, 2023

Description

  • removed/commented out banner code
  • also added Oliver's link on footer

Other considerations

Copy link

github-actions bot commented Dec 1, 2023

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

https://nwplus-io--pr182-remove-banner-6enbld32.web.app

(expires Sat, 09 Dec 2023 18:52:38 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: a778397fecec2eb8f19e28d7b9fa723113d13f3d

@@ -13,7 +13,7 @@ const HeroContainer = styled.div`
padding-bottom: 69%;
background: url(/assets/hero_illustration.svg);
background-repeat: no-repeat;
background-position: center;
background-position: top;
background-size: contain;
padding-top: 134px;
Copy link
Contributor

@sidyakinian sidyakinian Dec 2, 2023

Choose a reason for hiding this comment

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

Would recommend removing padding-top as well. This was added to shift down the hero, but now without the banner it's shifted down too much (e. g. nwPlus text is a bit low and might be way too low on smaller screens)

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch, I didn't notice that

@@ -233,25 +232,22 @@ const NavBar = () => {
};

const handleScroll = () => {
let lastScroll = 0
var lastScroll = 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wanted to double-check if var is really needed here – seems like lastScroll is only used within scope. Correct me if I'm wrong though!

Copy link
Member Author

Choose a reason for hiding this comment

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

var is outdated - I'll change it to let

Copy link
Contributor

@sidyakinian sidyakinian left a comment

Choose a reason for hiding this comment

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

Left a couple comments

@meleongg meleongg merged commit d562824 into main Dec 2, 2023
2 checks passed
@meleongg meleongg deleted the remove-banner branch December 2, 2023 18:59
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