From cfaea09837ada019c046f04a6232ed0ed11f4222 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 21 May 2026 18:32:55 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index bf1995f..8144be9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -53,12 +53,25 @@ export default function LandingPage() { title="Modern Websites. Built Fast. Designed to Convert." description="I design and rebuild websites for businesses that want a clean, professional online presence — fast, simple, and stress-free." buttons={[ - { - text: "Get a Website", href: "#contact"}, - { - text: "View Work", href: "#portfolio"}, + { + text: "Get a Website", + href: "#contact", + onClick: () => { + const el = document.getElementById('contact'); + el?.scrollIntoView({ behavior: 'smooth' }); + } + }, + { + text: "View Work", + href: "#portfolio", onClick: () => { + const el = document.getElementById('portfolio'); + el?.scrollIntoView({ behavior: 'smooth' }); + } + }, ]} imageSrc="https://img.b2bpic.net/free-photo/view-futuristic-holographic-ui-with-data-graphs_23-2149520999.jpg" + imageClassName="hover:scale-105 transition-transform duration-700 ease-out" + buttonClassName="hover:scale-110 transition-transform duration-300 ease-in-out" /> -- 2.49.1