Add Frame Extractor card to Dashboard
This commit is contained in:
parent
71c960339d
commit
0a9d444249
1 changed files with 8 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ import {
|
|||
TrendingUp,
|
||||
Clock,
|
||||
CheckCircle,
|
||||
Crop,
|
||||
} from 'lucide-react';
|
||||
import { useRouter } from 'next/navigation';
|
||||
import { toast } from 'react-hot-toast';
|
||||
|
|
@ -58,6 +59,12 @@ const modules = [
|
|||
icon: Captions,
|
||||
href: '/video/subtitles',
|
||||
},
|
||||
{
|
||||
title: 'Frame Extractor',
|
||||
description: 'Extract high-quality frames from videos',
|
||||
icon: Crop,
|
||||
href: '/video/extract',
|
||||
},
|
||||
{
|
||||
title: 'Text to Speech',
|
||||
description: 'Convert text to natural speech with ElevenLabs',
|
||||
|
|
@ -123,6 +130,7 @@ export default function Dashboard() {
|
|||
if (href === '/video/upscale') return mimeType.startsWith('video/');
|
||||
if (href === '/video/subtitles') return mimeType.startsWith('video/');
|
||||
if (href === '/video/generate') return mimeType.startsWith('image/'); // Image to Video
|
||||
if (href === '/video/extract') return mimeType.startsWith('video/');
|
||||
if (href === '/text/alt-text') return mimeType.startsWith('image/');
|
||||
if (href === '/audio/voice-to-text') return mimeType.startsWith('audio/') || mimeType.startsWith('video/');
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue