Bob AI: Add another button to the hero section with a learn more tha

This commit is contained in:
kudinDmitriyUp
2026-06-13 20:36:37 +00:00
parent ef28f59a65
commit 669b812d45

View File

@@ -16,6 +16,10 @@ const primaryButton = {
avatarSrc: "https://storage.googleapis.com/webild/default/templates/creative-portfolio/avatar.webp",
avatarLabel: "You"
};
const heroSecondaryButton = {
text: "Learn more",
href: "#services"
};
const items = [
{
title: "HydroFlow Product Launch",
@@ -69,6 +73,7 @@ const HeroInline = () => {
const card2Ref = useRef<HTMLDivElement>(null);
const card3Ref = useRef<HTMLDivElement>(null);
const handlePrimaryClick = useButtonClick(primaryButton.href);
const handleHeroSecondaryClick = useButtonClick(heroSecondaryButton.href);
const handleSecondaryClick = useButtonClick(secondaryButton?.href || "#");
useEffect(() => {