import * as React from 'react' import Image from 'next/image' import Button from '@hashicorp/react-button' import { Products } from '@hashicorp/platform-product-meta' import { IoCardProps } from 'components/io-card' import IoCardContainer from 'components/io-card-container' import s from './style.module.css' interface IoHomeInPracticeProps { brand: Products pattern: string heading: string description: string cards: Array cta: { heading: string description: string link: string image: { url: string alt: string width: number height: number } } } export default function IoHomeInPractice({ brand, pattern, heading, description, cards, cta, }: IoHomeInPracticeProps) { return (
{cta.heading ? (

{cta.heading}

{cta.description ? (

{cta.description}

) : null} {cta.link ? (
{cta.image?.url ? (
{cta.image.alt}
) : null}
) : null}
) }