diff --git a/components/HeroSection.tsx b/components/HeroSection.tsx
index 5ff2869..94c81e8 100644
--- a/components/HeroSection.tsx
+++ b/components/HeroSection.tsx
@@ -2,6 +2,15 @@ import GradientText from './GradientText'
import Button from './Button'
import Link from './Link'
+function scrollToId(id: string) {
+ const element = document.getElementById(id)
+ const y = element.getBoundingClientRect().top + window.scrollY
+ window.scroll({
+ top: y,
+ behavior: 'smooth',
+ })
+}
+
const HeroSection = () => {
return (