Files
GearBox/src/client/components/onboarding/OnboardingDone.tsx
Jean-Luc Makiola 8d7a668da4
All checks were successful
CI / ci (push) Successful in 1m23s
CI / e2e (push) Has been skipped
CI / deploy (push) Successful in 1m20s
fix: resolve lint errors from phase 32/33/34 execution
Auto-fixed formatting issues and removed unused imports introduced
by background execution agents across currency, i18n, and sharing code.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 18:32:32 +02:00

39 lines
997 B
TypeScript

import { useTranslation } from "react-i18next";
import { LucideIcon } from "../../lib/iconData";
interface OnboardingDoneProps {
itemsCreated: number;
onFinish: () => void;
}
export function OnboardingDone({
itemsCreated: _itemsCreated,
onFinish,
}: OnboardingDoneProps) {
const { t } = useTranslation("onboarding");
return (
<div className="flex flex-col items-center justify-center min-h-screen px-8">
<div className="max-w-2xl text-center">
<div className="mb-6">
<LucideIcon
name="check-circle"
size={48}
className="text-gray-400 mx-auto"
/>
</div>
<h1 className="text-3xl font-bold text-gray-900 mb-2">
{t("done.title")}
</h1>
<p className="text-base text-gray-500 mb-8">{t("done.subtitle")}</p>
<button
type="button"
onClick={onFinish}
className="px-8 py-3 bg-gray-700 hover:bg-gray-800 text-white font-medium rounded-lg transition-colors"
>
{t("done.cta")}
</button>
</div>
</div>
);
}