fix: credit tracking, voice clone TTL, avatar upload ui, asset serving fallback, OAuth encryption, free plan video renders, backlink outreach sprint

This commit is contained in:
ajaysi
2026-05-25 17:07:35 +05:30
parent 090d69761f
commit 9b3bec698b
99 changed files with 15892 additions and 1278 deletions

View File

@@ -9,7 +9,9 @@ interface BlogWriterLandingSectionProps {
currentPhase: string;
navigateToPhase: (phase: string) => void;
onResearchComplete: (research: any) => void;
onBeforeResearchSubmit?: (keywords: string, blogLength: string) => Promise<void>;
onKeywordsChange?: (kw: string) => void;
blogLengthRef?: React.MutableRefObject<string>;
startResearchRef?: React.MutableRefObject<((keywords: string, blogLength?: string) => Promise<any>) | null>;
restoreAttempted?: boolean;
}
@@ -21,12 +23,21 @@ export const BlogWriterLandingSection: React.FC<BlogWriterLandingSectionProps> =
currentPhase,
navigateToPhase,
onResearchComplete,
onBeforeResearchSubmit,
onKeywordsChange,
blogLengthRef,
startResearchRef,
restoreAttempted = false,
}) => {
if (!research) {
if (currentPhase === 'research') {
return <ManualResearchForm onResearchComplete={onResearchComplete} onBeforeResearchSubmit={onBeforeResearchSubmit} />;
return (
<ManualResearchForm
onResearchComplete={onResearchComplete}
onKeywordsChange={onKeywordsChange}
blogLengthRef={blogLengthRef}
researchRef={startResearchRef}
/>
);
}
if (currentPhase === '' || !VALID_PHASES.includes(currentPhase)) {