Bob AI: add a third button to hero section with text 'Watc...
This commit is contained in:
@@ -29,7 +29,6 @@ type HeroLogoBillboardSplitBackgroundProps = Extract<
|
|||||||
| { variant: "rotated-rays-static" }
|
| { variant: "rotated-rays-static" }
|
||||||
| { variant: "rotated-rays-static-grid" }
|
| { variant: "rotated-rays-static-grid" }
|
||||||
| { variant: "sparkles-gradient" }
|
| { variant: "sparkles-gradient" }
|
||||||
| { text: "Learn More" }
|
|
||||||
>;
|
>;
|
||||||
|
|
||||||
interface HeroLogoBillboardSplitProps {
|
interface HeroLogoBillboardSplitProps {
|
||||||
@@ -109,10 +108,8 @@ const HeroLogoBillboardSplit = ({
|
|||||||
</div>
|
</div>
|
||||||
<div className={cls("flex flex-wrap gap-4", buttonContainerClassName)}>
|
<div className={cls("flex flex-wrap gap-4", buttonContainerClassName)}>
|
||||||
{buttons.slice(0, 5).map((button, index) => (
|
{buttons.slice(0, 5).map((button, index) => (
|
||||||
<Button key={`${button.text}-${index}`} {...getButtonProps(buttons[buttons.length - 1 - index], index, theme.defaultButtonVariant, buttonClassName, buttonTextClassName)} />
|
<Button key={`${button.text}-${index}`} {...getButtonProps(button, index, theme.defaultButtonVariant, buttonClassName, buttonTextClassName)} />
|
||||||
))}
|
))}
|
||||||
<Button key="watch-demo-2" {...getButtonProps({ text: 'Watch Demo', href: '#' }, buttons.length, theme.defaultButtonVariant, buttonClassName, buttonTextClassName)} />
|
|
||||||
<Button key="learn-more" {...getButtonProps({ text: 'Learn More', href: '#' }, buttons.length, theme.defaultButtonVariant, buttonClassName, buttonTextClassName)} />
|
|
||||||
<Button key="watch-demo" {...getButtonProps({ text: 'Watch Demo', href: '#' }, buttons.length, theme.defaultButtonVariant, buttonClassName, buttonTextClassName)} />
|
<Button key="watch-demo" {...getButtonProps({ text: 'Watch Demo', href: '#' }, buttons.length, theme.defaultButtonVariant, buttonClassName, buttonTextClassName)} />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user