--- import { Icon } from 'astro-icon/components'; import Button from '~/components/ui/Button.astro'; import Headline from '~/components/ui/Headline.astro'; import WidgetWrapper from '~/components/ui/WidgetWrapper.astro'; import type { Pricing as Props } from '~/types'; const defaultCurrencyCopy = { title: 'Select payment currency', label: 'Payment currency', tip: 'The currency you choose will also be used on your invoice.', emailTip: 'After successful payment, you will receive your invoice and license by email. Please enter the correct email address on the next payment page.', businessTip: 'If you need a business invoice with your business name and tax number, please check the "I\'m purchasing as a business" checkbox on the next payment page.', sepaTip: 'Heads up: SEPA bank debit typically takes about 6 business days to clear, and in some cases can take up to 10 days. Your license will only be emailed after the bank confirms the payment. If you need it sooner, please choose a real-time payment method instead.', confirm: 'Continue to checkout', cancel: 'Cancel', } as const; const { title = '', subtitle = '', tagline = '', prices = [], currencyCopy: rawCurrencyCopy, id, isDark = false, classes = {}, bg = await Astro.slots.render('bg'), } = Astro.props; const currencyCopy = { ...defaultCurrencyCopy, ...(rawCurrencyCopy || {}) }; const defaultCurrency = 'USD'; ---