import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Image from "@/components/Image" import Link from "@/components/TempDesignSystem/Link" import Body from "@/components/TempDesignSystem/Text/Body" import Title from "@/components/TempDesignSystem/Text/Title" import { loyaltyCardVariants } from "./variants" import styles from "./loyaltyCard.module.css" import type { LoyaltyCardProps } from "./loyaltyCard" export default function LoyaltyCard({ link, image, heading, bodyText, theme = "white", className, }: LoyaltyCardProps) { return (
{image ? ( {image.meta.alt ) : null} {heading} {bodyText ? {bodyText} : null}
{link ? ( {link.title} ) : null}
) }