import { memo, FC } from 'react'
import Image from 'next/image'
import { CardHeader } from '@app/components/stateless/card/header'
import { Link } from '../link'
import dynamic from 'next/dynamic'
import { EmptyDialogButton } from '../empty-dialog'
const FormDialog = dynamic(
() => import('../form-dialog').then((mod) => mod.FormDialog),
{
ssr: false,
loading: () => (
),
}
)
const infoDetails = [
{
title: 'Detailed Fixes',
subTitle:
'Get spot on details on how to improve your website in various areas. Stay up to date on the latest guidelines and more as they come out.',
},
{
title: 'Safe Guard',
subTitle: `Include your custom CDN at no cost and make sure issues are fixed upfront. Sometimes accidents happens thats why we got your back.`,
},
{
title: 'Alerts',
subTitle:
'Get alerted when your page encounters new issues at any frequency.',
},
]
interface EmptyWebsiteProps {
emptyHeaderTitle?: string
emptyHeaderSubTitle?: string
hasWebsite?: boolean
goToPayments?: boolean
}
const EmptyWebsiteFormComponent: FC = ({
emptyHeaderTitle = 'Empty',
emptyHeaderSubTitle = 'Add your website below',
hasWebsite = false,
goToPayments = false,
}) => {
const goToHref = goToPayments ? '/payments' : '/'
return (
{hasWebsite ? (
Go to {goToPayments ? 'Payments' : 'Dashboard'}
) : (
)}