import Button from "@/components/TempDesignSystem/Button" import Divider from "@/components/TempDesignSystem/Divider" import Link from "@/components/TempDesignSystem/Link" import Title from "@/components/TempDesignSystem/Text/Title" import { cardVariants } from "./variants" import styles from "./card.module.css" import type { ButtonProps } from "@/components/TempDesignSystem/Button/button" import type { CardProps } from "./card" export default function Card({ primaryButton, secondaryButton, scriptedTopTitle, heading, bodyText, className, theme, }: CardProps) { let buttonTheme: ButtonProps["theme"] = "primaryLight" switch (theme) { case "one": buttonTheme = "primaryLight" break case "two": buttonTheme = "secondaryLight" break case "three": buttonTheme = "tertiaryLight" break } return (
{scriptedTopTitle ? (
{scriptedTopTitle}
) : null} {heading} {bodyText ?

{bodyText}

: null}
{primaryButton ? ( ) : null} {secondaryButton ? ( ) : null}
) }