Bob AI: swap the order of buttons in hero section

This commit is contained in:
2026-02-09 16:12:56 +02:00
parent 49fe7b6e9d
commit 74fff80102

View File

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