import Image from "@/components/Image" import Button from "@/components/TempDesignSystem/Button" import Link from "@/components/TempDesignSystem/Link" import Title from "@/components/TempDesignSystem/Text/Title" import { getIntl } from "@/i18n" import Contact from "./Contact" import styles from "./joinLoyalty.module.css" import type { JoinLoyaltyContactProps } from "@/types/components/loyalty/sidebar" export default async function JoinLoyaltyContact({ block, }: JoinLoyaltyContactProps) { const { formatMessage } = await getIntl() return (
{block.title} Scandic Friends {block.preamble &&

{block.preamble}

}
{formatMessage({ id: "Already a friend?" })}
{formatMessage({ id: "Click here to log in" })}
{block.contact && }
) }