@@ -11,7 +11,7 @@ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@
1111import { Progress } from "@repo/ui/progress" ;
1212import { Tabs , TabsContent , TabsList , TabsTrigger } from "@repo/ui/tabs" ;
1313import { Tooltip , TooltipContent , TooltipProvider , TooltipTrigger } from "@repo/ui/tooltip" ;
14- import { Loader2 , Play , Download , UploadCloud , RefreshCw , ArrowLeft , CheckCircle2 } from "lucide-react" ;
14+ import { Loader2 , Play , Download , UploadCloud , RefreshCw , ArrowLeft , CheckCircle2 , Clock } from "lucide-react" ;
1515import { useDubbing } from "@/hooks/useDubbing" ;
1616import { supportedLanguages } from "@repo/validation" ;
1717import { downloadFile } from "@/lib/download" ;
@@ -36,6 +36,8 @@ export default function NewDubbing() {
3636
3737 const [ activeTab , setActiveTab ] = useState ( "create" ) ;
3838
39+ const isComingSoon = true ;
40+
3941 // Auto-switch to preview tab when dubbing completes
4042 useEffect ( ( ) => {
4143 if ( dubbedResult && progress . state === "completed" ) {
@@ -69,7 +71,7 @@ export default function NewDubbing() {
6971 } , [ dubbedResult , isVideo ] ) ;
7072
7173 return (
72- < div className = "container py-8 max-w-full mx-auto" >
74+ < div className = "container py-8 max-w-full mx-auto relative " >
7375 < div className = "mb-8 flex flex-col items-start gap-4 sm:flex-row sm:justify-between sm:items-center" >
7476 < div >
7577 < h1 className = "text-3xl font-bold tracking-tight" > New Dubbing</ h1 >
@@ -270,6 +272,28 @@ export default function NewDubbing() {
270272 ) }
271273 </ TabsContent >
272274 </ Tabs >
275+
276+ { isComingSoon && (
277+ < div className = "absolute inset-0 bg-slate-100/80 dark:bg-slate-900/80 backdrop-blur-sm flex items-center justify-center z-50" >
278+ < div className = "text-center space-y-4 px-4 max-w-md" >
279+ < Clock className = "h-12 w-12 mx-auto text-slate-500 dark:text-slate-400" />
280+ < h2 className = "text-2xl font-bold text-slate-900 dark:text-slate-100" >
281+ Coming Soon
282+ </ h2 >
283+ < p className = "text-slate-600 dark:text-slate-400" >
284+ AI-powered audio & video dubbing is under preparation.< br />
285+ Stay tuned, launching very soon!
286+ </ p >
287+ < Button
288+ variant = "outline"
289+ onClick = { ( ) => router . push ( "/dashboard" ) }
290+ className = "bg-slate-950 hover:bg-slate-900 text-white"
291+ >
292+ Back to Dashboard
293+ </ Button >
294+ </ div >
295+ </ div >
296+ ) }
273297 </ div >
274298 ) ;
275299}
0 commit comments