feat(smooth-scroll): implement smooth scrolling functionality with Lenis integration

This commit is contained in:
2026-03-12 19:08:44 +01:00
parent 8f6a242273
commit ef9b277396
6 changed files with 160 additions and 1 deletions

View File

@@ -62,6 +62,23 @@ body::before {
will-change: transform;
}
html.lenis,
html.lenis body {
height: auto;
}
.lenis.lenis-smooth {
scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
overscroll-behavior: contain;
}
.lenis.lenis-stopped {
overflow: hidden;
}
.font-heading {
font-family: "Space Grotesk", "Manrope", "Segoe UI", sans-serif;
}