Spaces:
Running

simoia / index.html
SIMOHAMR's picture
Add 3 files
e28e786 verified
Raw History Blame Contribute Delete
51 kB
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ScriptToVideo AI Pro - Vidéos Longues</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.chapter-marker {
position: absolute;
top: 0;
height: 100%;
width: 2px;
background-color: #6366f1;
}
.chapter-marker::after {
content: attr(data-chapter);
position: absolute;
top: 10px;
left: 10px;
background-color: #6366f1;
color: white;
padding: 2px 6px;
border-radius: 4px;
font-size: 10px;
transform: translateX(-50%);
}
.memory-badge {
position: absolute;
bottom: 5px;
right: 5px;
background-color: rgba(0,0,0,0.7);
color: white;
padding: 2px 4px;
border-radius: 4px;
font-size: 10px;
}
.timeline-chapter {
background-color: rgba(99, 102, 241, 0.2);
position: absolute;
height: 100%;
}
.asset-reused {
border: 2px solid #10b981;
}
.animate-float {
animation: float 6s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
.waveform-container {
background: linear-gradient(to right, #e0e7ff, #c7d2fe, #a5b4fc);
}
.editor-line-numbers {
counter-reset: line;
}
.editor-line-numbers div::before {
counter-increment: line;
content: counter(line);
display: inline-block;
width: 2em;
padding-right: 1em;
margin-right: 1em;
color: #9ca3af;
text-align: right;
border-right: 1px solid #e5e7eb;
}
</style>
</head>
<body class="bg-gray-50 font-sans text-gray-800">
<!-- Header with Pro Badge -->
<header class="bg-gradient-to-r from-indigo-700 to-purple-800 text-white">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<div class="flex items-center space-x-3">
<i class="fas fa-film text-2xl"></i>
<div>
<h1 class="text-xl font-bold">ScriptToVideo AI <span class="text-xs bg-yellow-400 text-indigo-900 px-2 py-1 rounded-full ml-2">PRO</span></h1>
<p class="text-xs opacity-80">Optimisé pour les vidéos longues (15-30 min)</p>
</div>
</div>
<div class="flex items-center space-x-4">
<button class="bg-white/10 hover:bg-white/20 px-4 py-2 rounded-lg flex items-center">
<i class="fas fa-rocket mr-2"></i>
Mode Performance
</button>
<div class="h-8 w-px bg-white/30"></div>
<button class="bg-white text-indigo-700 hover:bg-gray-100 px-4 py-2 rounded-lg font-medium">
<i class="fas fa-download mr-1"></i>
Exporter
</button>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-8">
<div class="grid grid-cols-1 lg:grid-cols-4 gap-8">
<!-- Left Sidebar - Enhanced for Long Videos -->
<div class="lg:col-span-1 space-y-6">
<!-- Project Memory -->
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-lg font-semibold mb-3 flex items-center">
<i class="fas fa-brain mr-2 text-purple-600"></i>
Mémoire du Projet
</h2>
<div class="space-y-3">
<div class="p-3 bg-indigo-50 rounded-lg border border-indigo-100">
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center mr-2">
<i class="fas fa-palette text-indigo-600 text-sm"></i>
</div>
<div>
<h4 class="text-sm font-medium">Style Visuel</h4>
<p class="text-xs text-gray-500">Corporate Moderne - Bleu dominant</p>
</div>
</div>
</div>
<div class="p-3 bg-purple-50 rounded-lg border border-purple-100">
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-purple-100 flex items-center justify-center mr-2">
<i class="fas fa-user-tie text-purple-600 text-sm"></i>
</div>
<div>
<h4 class="text-sm font-medium">Personnage Principal</h4>
<p class="text-xs text-gray-500">Paul, 35 ans, costume bleu</p>
</div>
</div>
</div>
<div class="p-3 bg-blue-50 rounded-lg border border-blue-100">
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-blue-100 flex items-center justify-center mr-2">
<i class="fas fa-microphone text-blue-600 text-sm"></i>
</div>
<div>
<h4 class="text-sm font-medium">Voix Off</h4>
<p class="text-xs text-gray-500">Français - Thomas - Ton professionnel</p>
</div>
</div>
</div>
</div>
<button class="w-full mt-3 bg-white border border-gray-300 hover:bg-gray-50 py-1 rounded-lg text-xs">
<i class="fas fa-plus mr-1"></i>
Ajouter un élément
</button>
</div>
<!-- Chapter Navigator -->
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-lg font-semibold mb-3 flex items-center">
<i class="fas fa-list-ol mr-2 text-blue-600"></i>
Navigateur de Chapitres
</h2>
<div class="space-y-2 max-h-60 overflow-y-auto">
<div class="flex items-center p-2 bg-blue-50 rounded-lg">
<div class="w-6 h-6 rounded-full bg-blue-100 text-blue-800 flex items-center justify-center mr-2 text-xs font-bold">1</div>
<div class="flex-1">
<p class="text-sm font-medium">Introduction</p>
<p class="text-xs text-gray-500">0:00 - 2:30</p>
</div>
<button class="text-blue-600 hover:text-blue-800 p-1">
<i class="fas fa-play text-xs"></i>
</button>
</div>
<div class="flex items-center p-2 hover:bg-gray-50 rounded-lg">
<div class="w-6 h-6 rounded-full bg-gray-100 text-gray-800 flex items-center justify-center mr-2 text-xs font-bold">2</div>
<div class="flex-1">
<p class="text-sm font-medium">Problématique</p>
<p class="text-xs text-gray-500">2:30 - 8:15</p>
</div>
<button class="text-gray-600 hover:text-gray-800 p-1">
<i class="fas fa-play text-xs"></i>
</button>
</div>
<div class="flex items-center p-2 hover:bg-gray-50 rounded-lg">
<div class="w-6 h-6 rounded-full bg-gray-100 text-gray-800 flex items-center justify-center mr-2 text-xs font-bold">3</div>
<div class="flex-1">
<p class="text-sm font-medium">Solution</p>
<p class="text-xs text-gray-500">8:15 - 15:00</p>
</div>
<button class="text-gray-600 hover:text-gray-800 p-1">
<i class="fas fa-play text-xs"></i>
</button>
</div>
<div class="flex items-center p-2 hover:bg-gray-50 rounded-lg">
<div class="w-6 h-6 rounded-full bg-gray-100 text-gray-800 flex items-center justify-center mr-2 text-xs font-bold">4</div>
<div class="flex-1">
<p class="text-sm font-medium">Cas d'usage</p>
<p class="text-xs text-gray-500">15:00 - 22:45</p>
</div>
<button class="text-gray-600 hover:text-gray-800 p-1">
<i class="fas fa-play text-xs"></i>
</button>
</div>
<div class="flex items-center p-2 hover:bg-gray-50 rounded-lg">
<div class="w-6 h-6 rounded-full bg-gray-100 text-gray-800 flex items-center justify-center mr-2 text-xs font-bold">5</div>
<div class="flex-1">
<p class="text-sm font-medium">Conclusion</p>
<p class="text-xs text-gray-500">22:45 - 25:30</p>
</div>
<button class="text-gray-600 hover:text-gray-800 p-1">
<i class="fas fa-play text-xs"></i>
</button>
</div>
</div>
<button class="w-full mt-3 bg-indigo-600 hover:bg-indigo-700 text-white py-2 rounded-lg text-xs font-medium">
<i class="fas fa-plus mr-1"></i>
Ajouter un chapitre
</button>
</div>
<!-- Performance Optimizer -->
<div class="bg-white rounded-xl shadow-md p-6">
<h2 class="text-lg font-semibold mb-3 flex items-center">
<i class="fas fa-tachometer-alt mr-2 text-green-600"></i>
Optimisation
</h2>
<div class="space-y-4">
<div>
<label class="flex items-center justify-between mb-1">
<span class="text-sm font-medium">Mode Rapide</span>
<div class="relative inline-block w-10 mr-2 align-middle select-none">
<input type="checkbox" id="fast-mode" class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer"/>
<label for="fast-mode" class="toggle-label block overflow-hidden h-6 rounded-full bg-gray-300 cursor-pointer"></label>
</div>
</label>
<p class="text-xs text-gray-500">Réduit la qualité pour accélérer le rendu (25% plus rapide)</p>
</div>
<div>
<label class="flex items-center justify-between mb-1">
<span class="text-sm font-medium">Cache des Assets</span>
<div class="relative inline-block w-10 mr-2 align-middle select-none">
<input type="checkbox" id="asset-cache" checked class="toggle-checkbox absolute block w-6 h-6 rounded-full bg-white border-4 appearance-none cursor-pointer"/>
<label for="asset-cache" class="toggle-label block overflow-hidden h-6 rounded-full bg-green-300 cursor-pointer"></label>
</div>
</label>
<p class="text-xs text-gray-500">Réutilise les éléments similaires pour économiser des crédits</p>
</div>
<div>
<label class="block text-sm font-medium mb-1">Qualité/Rapidité</label>
<input type="range" min="0" max="100" value="70" class="w-full">
<div class="flex justify-between text-xs text-gray-500 mt-1">
<span>Rapide</span>
<span>Équilibré</span>
<span>Qualité</span>
</div>
</div>
</div>
<div class="mt-4 pt-3 border-t border-gray-200">
<div class="flex justify-between items-center text-sm">
<span>Temps estimé:</span>
<span class="font-medium">18 minutes</span>
</div>
<div class="flex justify-between items-center text-sm">
<span>Crédits estimés:</span>
<span class="font-medium">1,250</span>
</div>
</div>
</div>
</div>
<!-- Main Editor Area -->
<div class="lg:col-span-3 space-y-6">
<!-- Enhanced Video Preview with Chapter Markers -->
<div class="bg-white rounded-xl shadow-md p-6">
<div class="flex justify-between items-center mb-4">
<h2 class="text-xl font-semibold flex items-center">
<i class="fas fa-play-circle mr-2 text-indigo-600"></i>
Aperçu - 25:30
</h2>
<div class="flex space-x-2">
<button class="bg-gray-100 hover:bg-gray-200 p-2 rounded-lg">
<i class="fas fa-chart-line"></i>
Analyse
</button>
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg">
<i class="fas fa-sync-alt mr-2"></i>
Optimiser
</button>
</div>
</div>
<div class="relative aspect-video bg-gradient-to-br from-gray-100 to-gray-200 rounded-lg mb-4 overflow-hidden">
<!-- Current Scene Preview -->
<div class="absolute inset-0 flex items-center justify-center">
<div class="text-center p-6 max-w-md">
<div class="animate-float inline-block mb-4">
<i class="fas fa-video text-5xl text-indigo-600"></i>
</div>
<h3 class="text-lg font-medium text-gray-700">Formation Complète</h3>
<p class="text-gray-500 mt-1">25 minutes - 5 chapitres - 18 scènes</p>
<div class="mt-4 bg-white/90 backdrop-blur-sm rounded-lg p-3 shadow-sm">
<p class="text-sm font-medium">Scène actuelle: <span class="text-indigo-600">Démonstration Produit</span></p>
<p class="text-xs text-gray-500 mt-1">Chapitre 3 - 10:15 à 12:30</p>
</div>
</div>
</div>
<!-- Chapter Markers -->
<div class="chapter-marker" style="left: 10%" data-chapter="1"></div>
<div class="chapter-marker" style="left: 33%" data-chapter="2"></div>
<div class="chapter-marker" style="left: 59%" data-chapter="3"></div>
<div class="chapter-marker" style="left: 85%" data-chapter="4"></div>
<!-- Memory Badge -->
<div class="memory-badge">
<i class="fas fa-brain mr-1"></i>
Mémoire active
</div>
</div>
<!-- Enhanced Timeline with Chapters -->
<div class="mt-4">
<div class="flex justify-between text-xs text-gray-500 mb-1">
<span>0:00</span>
<span>5:00</span>
<span>10:00</span>
<span>15:00</span>
<span>20:00</span>
<span>25:30</span>
</div>
<div class="relative h-2 bg-gray-200 rounded-full w-full">
<!-- Chapter Backgrounds -->
<div class="timeline-chapter rounded-l-full" style="left: 0%; width: 10%"></div>
<div class="timeline-chapter" style="left: 10%; width: 23%"></div>
<div class="timeline-chapter" style="left: 33%; width: 26%"></div>
<div class="timeline-chapter" style="left: 59%; width: 26%"></div>
<div class="timeline-chapter rounded-r-full" style="left: 85%; width: 15%"></div>
<!-- Scene Progress -->
<div class="absolute inset-y-0 left-0 bg-indigo-600 rounded-l-full" style="width: 72%"></div>
<!-- Current Position -->
<div class="absolute top-1/2 h-4 w-4 bg-indigo-700 rounded-full transform -translate-y-1/2 -translate-x-1/2" style="left: 72%">
<div class="absolute top-full mt-1 left-1/2 transform -translate-x-1/2 text-xs font-medium">12:18</div>
</div>
</div>
</div>
<!-- Scene Thumbnails with Reused Assets -->
<div class="mt-4 flex space-x-2 overflow-x-auto pb-2">
<div class="flex-shrink-0 w-24">
<div class="relative aspect-video bg-indigo-100 rounded-lg mb-1">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-image text-gray-400"></i>
</div>
<div class="memory-badge">
<i class="fas fa-redo mr-1"></i>
3x
</div>
</div>
<p class="text-xs text-center truncate">Intro</p>
</div>
<div class="flex-shrink-0 w-24">
<div class="relative aspect-video bg-blue-100 rounded-lg mb-1 asset-reused">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-user-tie text-gray-400"></i>
</div>
</div>
<p class="text-xs text-center truncate">Présentation</p>
</div>
<div class="flex-shrink-0 w-24">
<div class="relative aspect-video bg-purple-100 rounded-lg mb-1">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-chart-bar text-gray-400"></i>
</div>
</div>
<p class="text-xs text-center truncate">Stats</p>
</div>
<div class="flex-shrink-0 w-24">
<div class="relative aspect-video bg-pink-100 rounded-lg mb-1 asset-reused">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-user-tie text-gray-400"></i>
</div>
</div>
<p class="text-xs text-center truncate">Démo</p>
</div>
<div class="flex-shrink-0 w-24">
<div class="relative aspect-video bg-yellow-100 rounded-lg mb-1">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-question text-gray-400"></i>
</div>
</div>
<p class="text-xs text-center truncate">FAQ</p>
</div>
<div class="flex-shrink-0 w-24">
<div class="relative aspect-video bg-green-100 rounded-lg mb-1 asset-reused">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-user-tie text-gray-400"></i>
</div>
</div>
<p class="text-xs text-center truncate">Conclusion</p>
</div>
</div>
</div>
<!-- Enhanced Script Editor with Semantic Analysis -->
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="border-b border-gray-200 p-4 bg-gray-50 flex justify-between items-center">
<h2 class="text-xl font-semibold flex items-center">
<i class="fas fa-align-left mr-2 text-indigo-600"></i>
Éditeur de Script Intelligent
<span class="ml-2 bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Analyse: 92%</span>
</h2>
<div class="flex space-x-2">
<button class="bg-indigo-600 text-white p-2 rounded-lg">
<i class="fas fa-magic"></i>
</button>
<button class="bg-gray-100 hover:bg-gray-200 p-2 rounded-lg">
<i class="fas fa-robot"></i>
</button>
<button class="bg-gray-100 hover:bg-gray-200 p-2 rounded-lg">
<i class="fas fa-history"></i>
</button>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-3">
<!-- Script Structure -->
<div class="p-4 border-r border-gray-200">
<h3 class="font-medium mb-3 flex items-center">
<i class="fas fa-project-diagram mr-2 text-blue-600"></i>
Structure du Script
</h3>
<div class="space-y-2">
<div class="p-3 bg-blue-50 rounded-lg">
<div class="flex items-center">
<div class="w-6 h-6 rounded-full bg-blue-100 text-blue-800 flex items-center justify-center mr-2">
<i class="fas fa-play text-xs"></i>
</div>
<div>
<p class="text-sm font-medium">Introduction</p>
<p class="text-xs text-gray-500">2:30 - 3 scènes</p>
</div>
</div>
</div>
<div class="p-3 bg-purple-50 rounded-lg">
<div class="flex items-center">
<div class="w-6 h-6 rounded-full bg-purple-100 text-purple-800 flex items-center justify-center mr-2">
<i class="fas fa-question text-xs"></i>
</div>
<div>
<p class="text-sm font-medium">Problématique</p>
<p class="text-xs text-gray-500">5:45 - 5 scènes</p>
</div>
</div>
</div>
<div class="p-3 bg-green-50 rounded-lg">
<div class="flex items-center">
<div class="w-6 h-6 rounded-full bg-green-100 text-green-800 flex items-center justify-center mr-2">
<i class="fas fa-lightbulb text-xs"></i>
</div>
<div>
<p class="text-sm font-medium">Solution</p>
<p class="text-xs text-gray-500">6:45 - 4 scènes</p>
</div>
</div>
</div>
<div class="p-3 bg-yellow-50 rounded-lg">
<div class="flex items-center">
<div class="w-6 h-6 rounded-full bg-yellow-100 text-yellow-800 flex items-center justify-center mr-2">
<i class="fas fa-chart-line text-xs"></i>
</div>
<div>
<p class="text-sm font-medium">Cas d'usage</p>
<p class="text-xs text-gray-500">7:45 - 5 scènes</p>
</div>
</div>
</div>
<div class="p-3 bg-red-50 rounded-lg">
<div class="flex items-center">
<div class="w-6 h-6 rounded-full bg-red-100 text-red-800 flex items-center justify-center mr-2">
<i class="fas fa-flag text-xs"></i>
</div>
<div>
<p class="text-sm font-medium">Conclusion</p>
<p class="text-xs text-gray-500">2:45 - 1 scène</p>
</div>
</div>
</div>
</div>
<div class="mt-4 pt-3 border-t border-gray-200">
<button class="w-full bg-white border border-gray-300 hover:bg-gray-50 py-2 rounded-lg text-sm">
<i class="fas fa-balance-scale-left mr-1"></i>
Analyser le rythme
</button>
</div>
</div>
<!-- Text Editor with Line Numbers -->
<div class="p-4 border-r border-gray-200 md:col-span-2">
<div class="editor-line-numbers h-96 border border-gray-300 rounded-lg overflow-auto font-mono text-sm bg-white">
<div class="p-2 whitespace-pre"><span class="text-purple-600 font-medium">[CHAPITRE: Introduction]</span>
<span class="text-blue-600">[STYLE: Cohérent]</span>
<span class="text-gray-500">[Image: Bureau moderne avec ordinateur]</span>
Narrateur: "Bienvenue dans cette formation complète sur notre solution révolutionnaire..."
<span class="text-gray-500">[Animation: Zoom sur l'écran]</span>
Narrateur: "Au cours des 25 prochaines minutes, nous allons explorer..."
<span class="text-purple-600 font-medium">[CHAPITRE: Problématique]</span>
<span class="text-gray-500">[Image: Graphique montrant des problèmes]</span>
Narrateur: "De nombreuses entreprises rencontrent des difficultés avec..."
<span class="text-gray-500">[Infographie: Statistiques clés]</span>
Narrateur: "Comme le montre cette étude, 78% des utilisateurs..."
<span class="text-purple-600 font-medium">[CHAPITRE: Solution]</span>
<span class="text-blue-600">[STYLE: Cohérent]</span>
<span class="text-gray-500">[Image: Notre interface produit]</span>
Narrateur: "Notre solution apporte une réponse simple et efficace..."
<span class="text-gray-500">[Video: Démonstration produit]</span>
Narrateur: "Voyons comment cela fonctionne en pratique..."
<span class="text-purple-600 font-medium">[CHAPITRE: Cas d'usage]</span>
<span class="text-gray-500">[Image: Équipe en réunion]</span>
Narrateur: "Plusieurs entreprises ont déjà adopté notre solution..."
<span class="text-purple-600 font-medium">[CHAPITRE: Conclusion]</span>
<span class="text-blue-600">[STYLE: Cohérent]</span>
<span class="text-gray-500">[Image: Bureau moderne - Même décor qu'intro]</span>
Narrateur: "Pour conclure, cette solution transformera votre façon de travailler..."</div>
</div>
<div class="mt-4 flex justify-between">
<div class="flex space-x-2">
<button class="bg-gray-100 hover:bg-gray-200 px-3 py-1 rounded-lg text-sm">
<i class="fas fa-spell-check mr-1"></i>
Vérifier
</button>
<button class="bg-gray-100 hover:bg-gray-200 px-3 py-1 rounded-lg text-sm">
<i class="fas fa-clock mr-1"></i>
Timing
</button>
</div>
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg text-sm font-medium">
<i class="fas fa-check mr-1"></i>
Valider les modifications
</button>
</div>
</div>
</div>
</div>
<!-- Enhanced Asset Library with Reuse Tracking -->
<div class="bg-white rounded-xl shadow-md overflow-hidden">
<div class="border-b border-gray-200 p-4 bg-gray-50">
<h2 class="text-xl font-semibold flex items-center">
<i class="fas fa-cube mr-2 text-indigo-600"></i>
Bibliothèque d'Assets
<span class="ml-2 bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">12 réutilisés</span>
</h2>
</div>
<div class="p-4">
<!-- Tabs -->
<div class="flex border-b border-gray-200 mb-4">
<button class="px-4 py-2 border-b-2 border-indigo-500 text-indigo-600 font-medium">Tous</button>
<button class="px-4 py-2 text-gray-500 hover:text-gray-700">Visuels (24)</button>
<button class="px-4 py-2 text-gray-500 hover:text-gray-700">Voix (5)</button>
<button class="px-4 py-2 text-gray-500 hover:text-gray-700">Musiques (8)</button>
<button class="px-4 py-2 text-gray-500 hover:text-gray-700">Réutilisés (12)</button>
</div>
<!-- Asset Grid -->
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
<!-- Asset with Reuse Badge -->
<div class="border border-gray-200 rounded-lg overflow-hidden asset-reused">
<div class="relative pt-[56.25%] bg-gray-100">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-user-tie text-3xl text-gray-400"></i>
</div>
<div class="absolute top-2 left-2 bg-green-500 text-white text-xs px-1 rounded">
<i class="fas fa-redo mr-1"></i> 3x
</div>
</div>
<div class="p-2 bg-white">
<p class="text-sm font-medium truncate">Personnage Principal</p>
<div class="flex justify-between items-center mt-1">
<span class="text-xs text-gray-500">0:45, 5:30, 18:20</span>
<button class="text-gray-400 hover:text-gray-600">
<i class="fas fa-link text-xs"></i>
</button>
</div>
</div>
</div>
<!-- Audio Asset -->
<div class="border border-gray-200 rounded-lg overflow-hidden">
<div class="relative pt-[56.25%] bg-indigo-100">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-wave-square text-3xl text-indigo-400"></i>
</div>
<div class="waveform-container absolute bottom-0 left-0 right-0 h-6">
<!-- Waveform would be here -->
</div>
</div>
<div class="p-2 bg-white">
<p class="text-sm font-medium truncate">Voix Off - Thomas</p>
<div class="flex justify-between items-center mt-1">
<span class="text-xs text-gray-500">Tout le projet</span>
<button class="text-gray-400 hover:text-gray-600">
<i class="fas fa-play text-xs"></i>
</button>
</div>
</div>
</div>
<!-- Reused Background -->
<div class="border border-gray-200 rounded-lg overflow-hidden asset-reused">
<div class="relative pt-[56.25%] bg-blue-100">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-building text-3xl text-blue-400"></i>
</div>
<div class="absolute top-2 left-2 bg-green-500 text-white text-xs px-1 rounded">
<i class="fas fa-redo mr-1"></i> 2x
</div>
</div>
<div class="p-2 bg-white">
<p class="text-sm font-medium truncate">Bureau Moderne</p>
<div class="flex justify-between items-center mt-1">
<span class="text-xs text-gray-500">0:00, 22:45</span>
<button class="text-gray-400 hover:text-gray-600">
<i class="fas fa-eye text-xs"></i>
</button>
</div>
</div>
</div>
<!-- Music Track -->
<div class="border border-gray-200 rounded-lg overflow-hidden">
<div class="relative pt-[56.25%] bg-purple-100">
<div class="absolute inset-0 flex items-center justify-center">
<i class="fas fa-music text-3xl text-purple-400"></i>
</div>
</div>
<div class="p-2 bg-white">
<p class="text-sm font-medium truncate">Musique Corporate</p>
<div class="flex justify-between items-center mt-1">
<span class="text-xs text-gray-500">Fond sonore</span>
<button class="text-gray-400 hover:text-gray-600">
<i class="fas fa-volume-up text-xs"></i>
</button>
</div>
</div>
</div>
<!-- Add Asset Button -->
<div class="border-2 border-dashed border-gray-300 rounded-lg flex items-center justify-center hover:border-gray-400 cursor-pointer">
<button class="text-gray-400 hover:text-gray-600 p-4 text-center">
<i class="fas fa-plus text-2xl block mb-1"></i>
<span class="text-xs">Ajouter un asset</span>
</button>
</div>
</div>
<!-- Asset Reuse Statistics -->
<div class="mt-6 bg-gray-50 rounded-lg p-4">
<h4 class="font-medium mb-2 flex items-center">
<i class="fas fa-chart-pie mr-2 text-indigo-600"></i>
Statistiques de Réutilisation
</h4>
<div class="grid grid-cols-3 gap-4 text-center">
<div class="bg-white p-3 rounded-lg shadow-sm">
<div class="text-2xl font-bold text-indigo-600">12</div>
<div class="text-xs text-gray-500">Assets réutilisés</div>
</div>
<div class="bg-white p-3 rounded-lg shadow-sm">
<div class="text-2xl font-bold text-green-600">42%</div>
<div class="text-xs text-gray-500">Économie crédits</div>
</div>
<div class="bg-white p-3 rounded-lg shadow-sm">
<div class="text-2xl font-bold text-blue-600">8:30</div>
<div class="text-xs text-gray-500">Gain de temps</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Enhanced Export Panel -->
<div class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 shadow-lg">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-3">
<div class="relative">
<div class="w-8 h-8 rounded-full bg-indigo-100 flex items-center justify-center">
<i class="fas fa-video text-indigo-600"></i>
</div>
<div class="absolute -bottom-1 -right-1 bg-green-500 text-white text-xs w-4 h-4 rounded-full flex items-center justify-center">
<i class="fas fa-check"></i>
</div>
</div>
<div>
<p class="text-sm font-medium">Formation Complète</p>
<p class="text-xs text-gray-500">25:30 • 5 chapitres • 18 scènes • <span class="text-green-600">12 assets réutilisés</span></p>
</div>
</div>
<div class="flex space-x-3">
<button class="bg-white border border-gray-300 hover:bg-gray-50 px-4 py-2 rounded-lg flex items-center">
<i class="fas fa-cut mr-2"></i>
Découper
</button>
<div class="relative inline-block">
<button class="bg-indigo-600 hover:bg-indigo-700 text-white px-4 py-2 rounded-lg flex items-center">
<i class="fas fa-file-export mr-2"></i>
Exporter
<i class="fas fa-chevron-down ml-2 text-sm"></i>
</button>
<div class="absolute bottom-full right-0 mb-2 w-64 bg-white rounded-lg shadow-xl z-10 border border-gray-200 hidden">
<div class="p-2">
<h5 class="text-xs font-medium text-gray-500 px-2 py-1">Export complet</h5>
<a href="#" class="flex items-center px-3 py-2 text-sm hover:bg-gray-100 rounded">
<i class="fas fa-file-video mr-2 text-indigo-600"></i>
Vidéo unique (25:30)
</a>
<h5 class="text-xs font-medium text-gray-500 px-2 py-1 mt-1">Découpage automatique</h5>
<a href="#" class="flex items-center px-3 py-2 text-sm hover:bg-gray-100 rounded">
<i class="fas fa-film mr-2 text-blue-600"></i>
Par chapitres (5 vidéos)
</a>
<a href="#" class="flex items-center px-3 py-2 text-sm hover:bg-gray-100 rounded">
<i class="fas fa-clock mr-2 text-purple-600"></i>
Segments de 5 minutes (6 vidéos)
</a>
<h5 class="text-xs font-medium text-gray-500 px-2 py-1 mt-1">Autres formats</h5>
<a href="#" class="flex items-center px-3 py-2 text-sm hover:bg-gray-100 rounded">
<i class="fas fa-file-audio mr-2 text-green-600"></i>
Audio uniquement
</a>
<a href="#" class="flex items-center px-3 py-2 text-sm hover:bg-gray-100 rounded">
<i class="fas fa-images mr-2 text-yellow-600"></i>
Storyboard PDF
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Script for Enhanced Functionality -->
<script>
// Toggle dropdown menus
document.querySelectorAll('[class*="relative"] button').forEach(button => {
button.addEventListener('click', function() {
const dropdown = this.parentElement.querySelector('div');
dropdown.classList.toggle('hidden');
});
});
// Close dropdowns when clicking outside
document.addEventListener('click', function(e) {
document.querySelectorAll('.relative').forEach(div => {
if (!div.contains(e.target)) {
const dropdown = div.querySelector('div');
if (dropdown) dropdown.classList.add('hidden');
}
});
});
// Toggle switches
document.querySelectorAll('.toggle-checkbox').forEach(checkbox => {
checkbox.addEventListener('change', function() {
const label = this.parentElement.querySelector('.toggle-label');
if (this.checked) {
label.classList.remove('bg-gray-300');
label.classList.add('bg-green-400');
} else {
label.classList.remove('bg-green-400');
label.classList.add('bg-gray-300');
}
});
});
// Simulate asset reuse
document.querySelectorAll('.asset-reused').forEach(asset => {
asset.addEventListener('mouseenter', function() {
const tooltip = document.createElement('div');
tooltip.className = 'absolute z-10 bg-black text-white text-xs px-2 py-1 rounded';
tooltip.textContent = 'Cet asset est réutilisé plusieurs fois';
tooltip.style.top = '-30px';
tooltip.style.left = '50%';
tooltip.style.transform = 'translateX(-50%)';
this.appendChild(tooltip);
// Add arrow
const arrow = document.createElement('div');
arrow.className = 'absolute w-0 h-0 border-l-4 border-r-4 border-l-transparent border-r-transparent border-t-4 border-t-black';
arrow.style.bottom = '-4px';
arrow.style.left = '50%';
arrow.style.transform = 'translateX(-50%)';
tooltip.appendChild(arrow);
this.style.transform = 'scale(1.05)';
this.style.zIndex = '10';
this.style.transition = 'all 0.2s ease';
});
asset.addEventListener('mouseleave', function() {
const tooltip = this.querySelector('div.absolute');
if (tooltip) this.removeChild(tooltip);
this.style.transform = '';
this.style.zIndex = '';
});
});
// Chapter navigation
document.querySelectorAll('[class*="timeline-chapter"]').forEach(chapter => {
chapter.addEventListener('click', function() {
// Highlight the clicked chapter
document.querySelectorAll('[class*="timeline-chapter"]').forEach(c => {
c.classList.remove('bg-indigo-200');
});
this.classList.add('bg-indigo-200');
// Update preview (simulated)
const preview = document.querySelector('.video-preview');
const chapterNum = this.style.left === '0%' ? 1 :
this.style.left === '10%' ? 2 :
this.style.left === '33%' ? 3 :
this.style.left === '59%' ? 4 : 5;
const chapterNames = ['Introduction', 'Problématique', 'Solution', 'Cas d\'usage', 'Conclusion'];
preview.innerHTML = `
<div class="text-center p-6 max-w-md">
<div class="animate-float inline-block mb-4">
<i class="fas fa-video text-5xl text-indigo-600"></i>
</div>
<h3 class="text-lg font-medium text-gray-700">${chapterNames[chapterNum-1]}</h3>
<div class="mt-4 bg-white/90 backdrop-blur-sm rounded-lg p-3 shadow-sm">
<p class="text-sm font-medium">Chapitre ${chapterNum}</p>
<p class="text-xs text-gray-500 mt-1">${chapterNames[chapterNum-1]}</p>
</div>
</div>
`;
});
});
// Memory system simulation
const memoryBadge = document.querySelector('.memory-badge');
setInterval(() => {
memoryBadge.style.opacity = memoryBadge.style.opacity === '0.5' ? '1' : '0.5';
}, 3000);
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=SIMOHAMR/simoia" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>