@@ -57,54 +47,19 @@ export default function IoHomeHeroAlt({
heading={heading}
headingSize={1}
description={description}
- // Temporary use custom actions implementation for experiement.
- //
- // actions={{
- // layout: 'stacked',
- // theme: brand,
- // ctas: ctas.map(
- // (cta: { title: string; href: string }, index: number) => {
- // return {
- // ...cta,
- // type: index === 0 ? 'button' : 'standalone-link',
- // }
- // }
- // ) as IntroProps['actions']['ctas'],
- // }}
+ actions={{
+ layout: 'stacked',
+ theme: brand,
+ ctas: ctas.map(
+ (cta: { title: string; href: string }, index: number) => {
+ return {
+ ...cta,
+ type: index === 0 ? 'button' : 'standalone-link',
+ }
+ }
+ ) as IntroProps['actions']['ctas'],
+ }}
/>
-
- {ctas.map((cta, index) => {
- if (index === 0) {
- return (
-