Bob AI: Add another button to the hero section with a learn more tha
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user