/**
* Step 5: Complete
* Success screen with next steps
*/
import React from 'react';
import Button from '../../ui/button/Button';
import { Card } from '../../ui/card';
import {
CheckCircleIcon,
ArrowRightIcon,
BoltIcon,
FileTextIcon,
PieChartIcon,
BoxCubeIcon,
} from '../../../icons';
import type { WizardData } from '../OnboardingWizard';
interface Step5CompleteProps {
data: WizardData;
onComplete: () => void;
isLoading: boolean;
}
export default function Step5Complete({
data,
onComplete,
isLoading
}: Step5CompleteProps) {
const NEXT_STEPS = [
{
icon: ,
title: 'Run Automation',
description: 'Start your content pipeline to generate articles',
link: data.createdSiteId ? `/sites/${data.createdSiteId}/automation` : '/automation',
},
{
icon: ,
title: 'Add More Keywords',
description: 'Expand your content strategy with more target keywords',
link: '/planner/keywords',
},
{
icon: ,
title: 'View Dashboard',
description: 'Monitor your content pipeline and metrics',
link: '/dashboard',
},
{
icon: ,
title: 'Customize Settings',
description: 'Fine-tune publishing schedules and preferences',
link: data.createdSiteId ? `/sites/${data.createdSiteId}/settings` : '/account/settings',
},
];
return (
{/* Success Animation */}
You're All Set! 🎉
Your content pipeline is ready to go. IGNY8 will start processing your keywords and generating content automatically.
{/* Summary */}
What we set up:
-
Site: {data.siteName || 'Your Site'}
{data.integrationTested && (
-
WordPress integration connected
)}
{data.keywordsAdded && (
-
{data.keywordsCount} keyword{data.keywordsCount !== 1 ? 's' : ''} added to pipeline
)}
-
Auto-approval & auto-publish enabled
-
Daily automation scheduled
{/* Expected Timeline */}
📅 What to expect:
- • First content ideas: Within 24 hours
- • First articles ready: 2-3 days
- • First published to site: Based on your schedule
Run automation manually anytime to speed things up.
{/* Next Steps */}
What's next:
{NEXT_STEPS.map((step, index) => (
{step.icon}
{step.title}
{step.description}
))}
{/* CTA */}
);
}