Bob AI: swap the order of buttons in hero section

This commit is contained in:
2026-02-09 16:26:52 +02:00
parent c331fbb612
commit 85bafa1ee4

View File

@@ -107,12 +107,12 @@ const HeroLogoBillboardSplit = ({
/>
</div>
<div className={cls("flex flex-wrap gap-4", buttonContainerClassName)}>
<Button key="watch-demo" {...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-2" {...getButtonProps({ text: 'Watch Demo', href: '#' }, buttons.length, theme.defaultButtonVariant, buttonClassName, buttonTextClassName)} />
{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="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)} />
</div>
</div>
<div className="relative w-full flex">