{/* Setup Progress (shown during onboarding) */}
{/* Original onboarding banner (shown after setup when no content generated yet) */}
{/* Error Banner */}
{error && (
{t('Failed to load dashboard data. Please try refreshing.')}
)}
{/* Stats Grid */}
}
color="primary"
subtitle={t('Custom post types')}
helpText={t('Number of custom post types detected on your site, including posts, pages, and custom types from JetEngine or ACF.')}
/>
}
color="accent"
subtitle={t('Total AI-generated posts')}
helpText={t('Total posts created by BoostMedia AI Content Generator so far.')}
/>
}
color="warning"
subtitle={t('Awaiting approval')}
helpText={t('Posts that were created but not yet published. They are waiting for your review and approval.')}
/>
}
color={stats?.total_errors && stats.total_errors > 0 ? 'error' : 'success'}
subtitle={
stats?.total_errors && stats.total_errors > 0
? t('Needs attention')
: t('All good')
}
helpText={t('Errors that occurred during content creation or publishing. Check Logs for details.')}
/>
{/* Main Grid */}
{/* Left Column */}
{/* Right Column */}
{/* Welcome Card */}
{t('Welcome! 🎉')}
{t('BoostMedia AI Content Generator lets you create quality content in your site\'s style using AI. Start by scanning your site to identify content types.')}
{t('✨ AI Content Creation')}{t('📊 Style Analysis')}{t('⏰ Scheduled Publishing')}
{/* Footer Info */}
BoostMedia AI Content Generator v{window.bmaiSettings?.version || '?'} •
Boost Media LTD
• Made with ❤️ in Israel