diff --git a/src/components/home/Home.tsx b/src/components/home/Home.tsx index 3a213bcd..2b1328f7 100644 --- a/src/components/home/Home.tsx +++ b/src/components/home/Home.tsx @@ -14,6 +14,12 @@ import "./home.css"; import load from "./loding.png"; export default function Home() { + const scrollToFeaturedPets = () => { + const featuredPetsSection = document.getElementById("featured-pets"); + if (featuredPetsSection) { + featuredPetsSection.scrollIntoView({ behavior: "smooth" }); + } + }; return (