Skip to content

Commit

Permalink
Testing out anti-side scrolling
Browse files Browse the repository at this point in the history
  • Loading branch information
ArushYadlapati committed Aug 19, 2024
1 parent fa8d699 commit 6554cf7
Show file tree
Hide file tree
Showing 4 changed files with 152 additions and 10 deletions.
8 changes: 8 additions & 0 deletions antiScroll.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
html, body {
overflow-x: hidden;
width: 100%;
}

body {
position: relative;
}
1 change: 1 addition & 0 deletions app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Experience from "./components/homepage/experience";
import HeroSection from "./components/homepage/hero-section";
import Projects from "./components/homepage/projects";
import Skills from "./components/homepage/skills";
import '../antiScroll.css';

export default async function Home() {

Expand Down
150 changes: 141 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"react-fast-marquee": "^1.6.2",
"react-google-recaptcha": "^3.1.0",
"react-icons": "^4.11.0",
"react-toastify": "^10.0.4"
"react-toastify": "^10.0.4",
"styled-components": "^6.1.12"
},
"devDependencies": {
"autoprefixer": "latest",
Expand Down

0 comments on commit 6554cf7

Please sign in to comment.