diff --git a/RestroHub-FrontEnd/src/pages/public/Landing.jsx b/RestroHub-FrontEnd/src/pages/public/Landing.jsx index 85004210..9815930b 100644 --- a/RestroHub-FrontEnd/src/pages/public/Landing.jsx +++ b/RestroHub-FrontEnd/src/pages/public/Landing.jsx @@ -109,6 +109,17 @@ const Landing = () => { return () => obs.disconnect(); }, []); + const handleWatchDemoClick = () => { + const testimonialsSection = document.getElementById('testimonials'); + if (!testimonialsSection) return; + + setActiveLink('#testimonials'); + testimonialsSection.scrollIntoView({ + behavior: 'smooth', + block: 'start', + }); + }; + const features = [ { icon: QrCode, @@ -508,8 +519,12 @@ const [contactForm, setContactForm] = useState({ Start Free Trial - @@ -997,4 +1012,4 @@ const [contactForm, setContactForm] = useState({ ); }; -export default Landing; \ No newline at end of file +export default Landing;