32 lines
1.1 KiB
TypeScript
32 lines
1.1 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 color="black">
|
|
{formatMessage({ id: "My credit cards" })}
|
|
</Subtitle>
|
|
<Body color="black">
|
|
{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="burgundy" />
|
|
<Body color="burgundy" textTransform="underlined">
|
|
{formatMessage({ id: "Add new card" })}
|
|
</Body>
|
|
</Link>
|
|
</section>
|
|
)
|
|
}
|