Skip to content

Commit

Permalink
Fix Hero padding
Browse files Browse the repository at this point in the history
  • Loading branch information
meleongg committed Dec 2, 2023
1 parent 3a3913b commit ed94e34
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion components/Hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const HeroContainer = styled.div`
background-repeat: no-repeat;
background-position: top;
background-size: contain;
padding-top: 134px;
`;

const HeroTextContainer = styled.div`
Expand Down
2 changes: 1 addition & 1 deletion components/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ const NavBar = () => {
};

const handleScroll = () => {
var lastScroll = 0;
let lastScroll = 0;
return () => {
const scroll = window.pageYOffset || document.documentElement.scrollTop;
if (scroll <= 0) {
Expand Down

0 comments on commit ed94e34

Please sign in to comment.