import dayjs from 'dayjs'
import Link from 'next/link'
import { Alert, AlertDescription, AlertTitle } from 'ui'
interface Props {
awsContractEndDate: string
awsContractSettingsUrl: string
}
const AwsMarketplaceAutoRenewalWarning = ({
awsContractEndDate,
awsContractSettingsUrl,
}: Props) => {
return (
“Auto Renewal” is turned OFF for your AWS Marketplace subscription
As a result, your Briven organization will be downgraded to the Free Plan on{' '}
{dayjs(awsContractEndDate).format('MMMM DD')}. If you have more than 2 projects running,
all your projects will be paused. To ensure uninterrupted service, enable “Auto Renewal”
in your {''}
AWS Marketplace subscription settings
.