import Image from "@/components/Image" import Button from "@/components/TempDesignSystem/Button" import Link from "@/components/TempDesignSystem/Link" import BiroScript from "@/components/TempDesignSystem/Text/BiroScript" import Preamble from "@/components/TempDesignSystem/Text/Preamble" import Title from "@/components/TempDesignSystem/Text/Title" import styles from "./fullWidthCampaign.module.css" import type { FullWidthCampaign } from "@/types/trpc/routers/contentstack/startPage" interface FullWidthCampaignProps { content: FullWidthCampaign } export default function FullWidthCampaign({ content }: FullWidthCampaignProps) { const { background_image, primary_button, secondary_button } = content return (
{background_image ? ( {background_image.meta.alt ) : null}
{content.scripted_top_title}
{content.heading} {content.body_text}
{content.has_primary_button ? ( ) : null} {content.has_secondary_button ? ( ) : null}
) }