30 lines
1.0 KiB
TypeScript
30 lines
1.0 KiB
TypeScript
import { PlusCircleIcon } from "@/components/Icons"
|
|
import Link from "@/components/TempDesignSystem/Link"
|
|
import Body from "@/components/TempDesignSystem/Text/Body"
|
|
import Subtitle from "@/components/TempDesignSystem/Text/Subtitle"
|
|
import { getIntl } from "@/i18n"
|
|
|
|
import styles from "./page.module.css"
|
|
|
|
export default async function CreditCardSlot() {
|
|
const { formatMessage } = await getIntl()
|
|
return (
|
|
<section className={styles.container}>
|
|
<article className={styles.content}>
|
|
<Subtitle>{formatMessage({ id: "My credit cards" })}</Subtitle>
|
|
<Body>
|
|
{formatMessage({
|
|
id: "Check out the credit cards saved to your profile. Pay with a saved card when signed in for a smoother web experience.",
|
|
})}
|
|
</Body>
|
|
</article>
|
|
<Link href="#" variant="icon">
|
|
<PlusCircleIcon color="red" />
|
|
<Body color="red" textTransform="underlined">
|
|
{formatMessage({ id: "Add new card" })}
|
|
</Body>
|
|
</Link>
|
|
</section>
|
|
)
|
|
}
|