Spaces:
Running
Running
Add 1 files
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>French to English Document Translator</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>@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');body {font-family: 'Inter', sans-serif;background-color: #f8fafc;}.dropzone {border: 2px dashed #cbd5e1;transition: all 0.3s ease;}.dropzone.active {border-color: #3b82f6;background-color: #eff6ff;}.progress-bar {transition: width 0.3s ease;}.language-flag {width: 32px;height: 32px;object-fit: cover;border-radius: 50%;border: 2px solid white;box-shadow: 0 2px 4px rgba(0,0,0,0.1);}.arrow-animate {animation: bounce 2s infinite;}@keyframes bounce {0%, 100% {transform: translateX(0);}50% {transform: translateX(10px);}}.glow {box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);}</style></head><body class="min-h-screen bg-gray-50"><div class="container mx-auto px-4 py-8 max-w-4xl"><!-- Header --><header class="text-center mb-12"><h1 class="text-4xl font-bold text-gray-800 mb-2">Document Translator</h1><p class="text-lg text-gray-600">Convert your French Word documents to English effortlessly</p></header><!-- Main Card --><div class="bg-white rounded-xl shadow-lg overflow-hidden transition-all duration-300 hover:shadow-xl"><!-- Language Display --><div class="flex items-center justify-center py-6 bg-gradient-to-r from-blue-50 to-indigo-50"><div class="flex items-center bg-white px-4 py-2 rounded-full shadow"><div class="flex items-center"><img src="https://flagcdn.com/w40/fr.png" class="language-flag" alt="French flag"><span class="ml-2 font-medium text-gray-700">French</span></div><div class="mx-4 text-blue-500 arrow-animate"><i class="fas fa-arrow-right"></i></div><div class="flex items-center"><img src="https://flagcdn.com/w40/gb.png" class="language-flag" alt="English flag"><span class="ml-2 font-medium text-gray-700">English</span></div></div></div><!-- Upload Section --><div class="p-8"><div id="upload-section"><div class="dropzone rounded-lg p-12 text-center cursor-pointer mb-6" id="dropzone"><div class="flex flex-col items-center justify-center"><div class="w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mb-4"><i class="fas fa-file-word text-blue-500 text-2xl"></i></div><h3 class="text-lg font-medium text-gray-700 mb-2">Drag & drop your Word document here</h3><p class="text-gray-500 mb-4">or click to browse files</p><input type="file" id="file-input" class="hidden" accept=".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document"><button id="browse-btn" class="px-6 py-2 bg-blue-500 text-white rounded-lg hover:bg-blue-600 transition-colors">Select File</button></div></div><div class="text-center text-sm text-gray-500"><p>Supported formats: .doc, .docx (Max 10MB)</p></div></div><!-- Processing Section (Hidden by default) --><div id="processing-section" class="hidden"><div class="text-center mb-8"><div class="w-20 h-20 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-4"><i class="fas fa-cog text-blue-500 text-2xl animate-spin"></i></div><h3 class="text-lg font-medium text-gray-700 mb-2">Translating your document</h3><p class="text-gray-500" id="status-text">Extracting text from document...</p></div><div class="mb-6"><div class="flex justify-between text-sm text-gray-600 mb-1"><span>Progress</span><span id="progress-percent">0%</span></div><div class="w-full bg-gray-200 rounded-full h-2.5"><div id="progress-bar" class="progress-bar bg-blue-500 h-2.5 rounded-full" style="width: 0%"></div></div></div><div class="grid grid-cols-3 gap-4 text-center text-sm mb-6"><div class="bg-blue-50 p-3 rounded-lg"><div class="text-blue-500 font-medium mb-1">Pages</div><div id="page-count" class="text-gray-700">-</div></div><div class="bg-blue-50 p-3 rounded-lg"><div class="text-blue-500 font-medium mb-1">Words</div><div id="word-count" class="text-gray-700">-</div></div><div class="bg-blue-50 p-3 rounded-lg"><div class="text-blue-500 font-medium mb-1">Time Left</div><div id="time-left" class="text-gray-700">-</div></div></div></div><!-- Download Section (Hidden by default) --><div id="download-section" class="hidden text-center"><div class="w-20 h-20 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4 glow"><i class="fas fa-check text-green-500 text-2xl"></i></div><h3 class="text-lg font-medium text-gray-700 mb-2">Translation Complete!</h3><p class="text-gray-500 mb-6">Your document has been successfully translated to English.</p><button id="download-btn" class="px-6 py-3 bg-green-500 text-white rounded-lg hover:bg-green-600 transition-colors mb-4"><i class="fas fa-download mr-2"></i> Download English Document</button><div class="text-sm text-gray-500"><button id="new-translation-btn" class="text-blue-500 hover:text-blue-700"><i class="fas fa-redo mr-1"></i> Start New Translation</button></div></div></div></div><!-- Features Section --><div class="mt-16"><h2 class="text-2xl font-bold text-center text-gray-800 mb-8">Why Choose Our Translator</h2><div class="grid md:grid-cols-3 gap-6"><div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow"><div class="w-12 h-12 bg-blue-100 rounded-full flex items-center justify-center mb-4"><i class="fas fa-bolt text-blue-500"></i></div><h3 class="font-medium text-lg mb-2 text-gray-800">Fast Translation</h3><p class="text-gray-600">Our advanced algorithms translate documents in minutes while preserving the original formatting.</p></div><div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow"><div class="w-12 h-12 bg-indigo-100 rounded-full flex items-center justify-center mb-4"><i class="fas fa-lock text-indigo-500"></i></div><h3 class="font-medium text-lg mb-2 text-gray-800">Secure Processing</h3><p class="text-gray-600">Your documents are processed securely and never stored permanently on our servers.</p></div><div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition-shadow"><div class="w-12 h-12 bg-green-100 rounded-full flex items-center justify-center mb-4"><i class="fas fa-file-alt text-green-500"></i></div><h3 class="font-medium text-lg mb-2 text-gray-800">Format Preservation</h3><p class="text-gray-600">Maintains original document structure, fonts, tables, and layout in the translated version.</p></div></div></div><!-- Footer --><footer class="mt-16 text-center text-gray-500 text-sm pb-8"><p>© 2023 Document Translator. All rights reserved.</p><p class="mt-2">Support: support@document-translator.com</p></footer></div><script>document.addEventListener('DOMContentLoaded', function() {// DOM Elementsconst dropzone = document.getElementById('dropzone');const fileInput = document.getElementById('file-input');const browseBtn = document.getElementById('browse-btn');const uploadSection = document.getElementById('upload-section');const processingSection = document.getElementById('processing-section');const downloadSection = document.getElementById('download-section');const progressBar = document.getElementById('progress-bar');const progressPercent = document.getElementById('progress-percent');const statusText = document.getElementById('status-text');const pageCount = document.getElementById('page-count');const wordCount = document.getElementById('word-count');const timeLeft = document.getElementById('time-left');const downloadBtn = document.getElementById('download-btn');const newTranslationBtn = document.getElementById('new-translation-btn');// Event ListenersbrowseBtn.addEventListener('click', () => fileInput.click());fileInput.addEventListener('change', handleFileSelect);dropzone.addEventListener('dragover', (e) => {e.preventDefault();dropzone.classList.add('active');});dropzone.addEventListener('dragleave', () => {dropzone.classList.remove('active');});dropzone.addEventListener('drop', (e) => {e.preventDefault();dropzone.classList.remove('active');if (e.dataTransfer.files.length) {fileInput.files = e.dataTransfer.files;handleFileSelect({ target: fileInput });}});downloadBtn.addEventListener('click', downloadTranslatedFile);newTranslationBtn.addEventListener('click', resetForm);// Variables to store file datalet selectedFile = null;let translatedFileUrl = null;// Functionsfunction handleFileSelect(event) {const file = event.target.files[0];// Validate fileif (!file) return;const validTypes = ['application/msword','application/vnd.openxmlformats-officedocument.wordprocessingml.document'];if (!validTypes.includes(file.type) && !file.name.match(/\.(doc|docx)$/)) {alert('Please select a valid Word document (.doc or .docx)');return;}if (file.size > 10 * 1024 * 1024) { // 10MB limitalert('File size exceeds 10MB limit');return;}selectedFile = file;startTranslationProcess();}function startTranslationProcess() {// Show processing sectionuploadSection.classList.add('hidden');processingSection.classList.remove('hidden');// Simulate document analysissetTimeout(() => {statusText.textContent = 'Analyzing document structure...';updateProgress(15);setTimeout(() => {// Simulate finding document statsconst pages = Math.floor(Math.random() * 20) + 1;const words = Math.floor(Math.random() * 5000) + 500;pageCount.textContent = pages;wordCount.textContent = words.toLocaleString();timeLeft.textContent = '~1 minute';statusText.textContent = 'Translating content...';updateProgress(35);// Simulate translation progressconst translationInterval = setInterval(() => {const currentProgress = parseInt(progressBar.style.width) || 35;const newProgress = currentProgress + 2;if (newProgress >= 90) {clearInterval(translationInterval);finishTranslation();} else {updateProgress(newProgress);// Update time leftconst secondsLeft = Math.floor((100 - newProgress) * 0.6);timeLeft.textContent = `~${secondsLeft} seconds`;}}, 800);}, 1500);}, 1000);}function finishTranslation() {statusText.textContent = 'Finalizing document...';updateProgress(95);setTimeout(() => {updateProgress(100);setTimeout(() => {// Create a dummy download URL (in a real app, this would come from your backend)translatedFileUrl = URL.createObjectURL(new Blob(['This would be your translated document content'], { type: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' }));// Show download sectionprocessingSection.classList.add('hidden');downloadSection.classList.remove('hidden');}, 500);}, 1000);}function updateProgress(percent) {progressBar.style.width = `${percent}%`;progressPercent.textContent = `${percent}%`;}function downloadTranslatedFile() {if (!translatedFileUrl) return;const a = document.createElement('a');a.href = translatedFileUrl;a.download = selectedFile.name.replace(/\.[^/.]+$/, '') + '_translated.docx';document.body.appendChild(a);a.click();document.body.removeChild(a);}function resetForm() {// Reset UIuploadSection.classList.remove('hidden');processingSection.classList.add('hidden');downloadSection.classList.add('hidden');// Reset progressupdateProgress(0);statusText.textContent = 'Extracting text from document...';pageCount.textContent = '-';wordCount.textContent = '-';timeLeft.textContent = '-';// Reset file inputfileInput.value = '';selectedFile = null;// Clean up URL if it existsif (translatedFileUrl) {URL.revokeObjectURL(translatedFileUrl);translatedFileUrl = null;}}});</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=Mgeslin49/document-translate" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654<!DOCTYPE html><html lang="fr"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>IA Enterprise Hub - Centre de ressources pour l'intégration de l'IA</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>.gradient-bg {background: linear-gradient(135deg, #6b73ff 0%, #000dff 100%);}.card-hover:hover {transform: translateY(-5px);box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);}.transition-all {transition: all 0.3s ease;}.sidebar {transition: transform 0.3s ease;}@media (max-width: 768px) {.sidebar {transform: translateX(-100%);position: fixed;top: 0;left: 0;height: 100vh;z-index: 50;}.sidebar-open {transform: translateX(0);}}</style></head><body class="bg-gray-50 font-sans"><!-- Mobile Menu Button --><div class="md:hidden fixed top-4 left-4 z-50"><button id="menuBtn" class="p-2 rounded-md bg-white shadow-md"><i class="fas fa-bars text-blue-600"></i></button></div><!-- Sidebar --><div id="sidebar" class="sidebar w-64 bg-white shadow-lg md:shadow-none md:transform-none md:relative"><div class="p-4 gradient-bg text-white flex items-center justify-between md:justify-center"><h1 class="text-xl font-bold">IA Enterprise Hub</h1><button id="closeMenuBtn" class="md:hidden"><i class="fas fa-times"></i></button></div><nav class="p-4"><ul class="space-y-2"><li><a href="#dashboard" class="flex items-center p-2 rounded-md hover:bg-blue-50 text-blue-600"><i class="fas fa-home mr-3"></i> Tableau de bord</a></li><li><a href="#formations" class="flex items-center p-2 rounded-md hover:bg-blue-50 text-gray-700"><i class="fas fa-graduation-cap mr-3"></i> Formations</a></li><li><a href="#ressources" class="flex items-center p-2 rounded-md hover:bg-blue-50 text-gray-700"><i class="fas fa-book mr-3"></i> Base documentaire</a></li><li><a href="#articles" class="flex items-center p-2 rounded-md hover:bg-blue-50 text-gray-700"><i class="fas fa-link mr-3"></i> Articles</a></li><li><a href="#communaute" class="flex items-center p-2 rounded-md hover:bg-blue-50 text-gray-700"><i class="fas fa-users mr-3"></i> Communauté</a></li><li><a href="#actualites" class="flex items-center p-2 rounded-md hover:bg-blue-50 text-gray-700"><i class="fas fa-newspaper mr-3"></i> Actualités</a></li><li><a href="#parametres" class="flex items-center p-2 rounded-md hover:bg-blue-50 text-gray-700"><i class="fas fa-cog mr-3"></i> Paramètres</a></li></ul></nav></div><!-- Main Content --><div class="md:ml-64 min-h-screen"><!-- Header --><header class="gradient-bg text-white p-4 shadow-md"><div class="container mx-auto flex justify-between items-center"><h1 class="text-2xl font-bold hidden md:block">IA Enterprise Hub</h1><div class="flex items-center space-x-4"><div class="relative"><input type="text" placeholder="Rechercher..." class="pl-10 pr-4 py-2 rounded-full text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-300"><i class="fas fa-search absolute left-3 top-3 text-gray-500"></i></div><div class="flex items-center space-x-2"><img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-8 h-8 rounded-full"><span class="hidden md:inline">Sarah Dupont</span></div></div></div></header><!-- Dashboard --><main class="container mx-auto p-4"><section id="dashboard" class="mb-8"><div class="flex justify-between items-center mb-6"><h2 class="text-2xl font-bold text-gray-800">Tableau de bord</h2><button class="bg-blue-600 text-white px-4 py-2 rounded-md hover:bg-blue-700 transition-all"><i class="fas fa-plus mr-2"></i> Ajouter une ressource</button></div><!-- Stats Cards --><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8"><div class="bg-white p-6 rounded-lg shadow-md card-hover transition-all"><div class="flex items-center"><div class="p-3 rounded-full bg-blue-100 text-blue-600 mr-4"><i class="fas fa-graduation-cap text-xl"></i></div><div><p class="text-gray-500">Formations</p><h3 class="text-2xl font-bold">24</h3></div></div></div><div class="bg-white p-6 rounded-lg shadow-md card-hover transition-all"><div class="flex items-center"><div class="p-3 rounded-full bg-green-100 text-green-600 mr-4"><i class="fas fa-book text-xl"></i></div><div><p class="text-gray-500">Ressources</p><h3 class="text-2xl font-bold">156</h3></div></div></div><div class="bg-white p-6 rounded-lg shadow-md card-hover transition-all"><div class="flex items-center"><div class="p-3 rounded-full bg-purple-100 text-purple-600 mr-4"><i class="fas fa-users text-xl"></i></div><div><p class="text-gray-500">Membres</p><h3 class="text-2xl font-bold">42</h3></div></div></div><div class="bg-white p-6 rounded-lg shadow-md card-hover transition-all"><div class="flex items-center"><div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mr-4"><i class="fas fa-newspaper text-xl"></i></div><div><p class="text-gray-500">Actualités</p><h3 class="text-2xl font-bold">17</h3></div></div></div></div><!-- Quick Actions --><div class="mb-8"><h3 class="text-xl font-semibold mb-4 text-gray-700">Actions rapides</h3><div class="grid grid-cols-2 md:grid-cols-4 gap-4"><a href="#formations" class="bg-white p-4 rounded-lg shadow-sm flex flex-col items-center justify-center text-center card-hover transition-all"><div class="p-3 rounded-full bg-blue-100 text-blue-600 mb-2"><i class="fas fa-play-circle text-xl"></i></div><span>Démarrer une formation</span></a><a href="#articles" class="bg-white p-4 rounded-lg shadow-sm flex flex-col items-center justify-center text-center card-hover transition-all"><div class="p-3 rounded-full bg-green-100 text-green-600 mb-2"><i class="fas fa-link text-xl"></i></div><span>Ajouter un article</span></a><a href="#communaute" class="bg-white p-4 rounded-lg shadow-sm flex flex-col items-center justify-center text-center card-hover transition-all"><div class="p-3 rounded-full bg-purple-100 text-purple-600 mb-2"><i class="fas fa-comment-dots text-xl"></i></div><span>Discuter</span></a><a href="#ressources" class="bg-white p-4 rounded-lg shadow-sm flex flex-col items-center justify-center text-center card-hover transition-all"><div class="p-3 rounded-full bg-yellow-100 text-yellow-600 mb-2"><i class="fas fa-upload text-xl"></i></div><span>Partager un document</span></a></div></div></section><!-- Formations Section --><section id="formations" class="mb-8"><div class="flex justify-between items-center mb-6"><h2 class="text-2xl font-bold text-gray-800">Formations</h2><button class="text-blue-600 hover:text-blue-800">Voir toutes <i class="fas fa-arrow-right ml-1"></i></button></div><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"><!-- Formation Card 1 --><div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all"><div class="h-40 bg-blue-100 flex items-center justify-center"><i class="fas fa-robot text-6xl text-blue-600"></i></div><div class="p-6"><div class="flex justify-between items-start mb-2"><h3 class="font-bold text-lg">Introduction à l'IA</h3><span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">Niveau 1</span></div><p class="text-gray-600 mb-4">Découvrez les concepts fondamentaux de l'intelligence artificielle.</p><div class="flex justify-between items-center"><div class="flex items-center text-sm text-gray-500"><i class="fas fa-clock mr-1"></i> 2h30</div><button class="bg-blue-600 text-white px-3 py-1 rounded-md text-sm hover:bg-blue-700">Commencer</button></div></div></div><!-- Formation Card 2 --><div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all"><div class="h-40 bg-purple-100 flex items-center justify-center"><i class="fas fa-brain text-6xl text-purple-600"></i></div><div class="p-6"><div class="flex justify-between items-start mb-2"><h3 class="font-bold text-lg">Machine Learning</h3><span class="bg-purple-100 text-purple-800 text-xs px-2 py-1 rounded-full">Niveau 2</span></div><p class="text-gray-600 mb-4">Apprenez les bases du machine learning et ses applications métiers.</p><div class="flex justify-between items-center"><div class="flex items-center text-sm text-gray-500"><i class="fas fa-clock mr-1"></i> 4h15</div><button class="bg-purple-600 text-white px-3 py-1 rounded-md text-sm hover:bg-purple-700">Commencer</button></div></div></div><!-- Formation Card 3 --><div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all"><div class="h-40 bg-green-100 flex items-center justify-center"><i class="fas fa-chart-line text-6xl text-green-600"></i></div><div class="p-6"><div class="flex justify-between items-start mb-2"><h3 class="font-bold text-lg">IA et Analyse de données</h3><span class="bg-green-100 text-green-800 text-xs px-2 py-1 rounded-full">Niveau 3</span></div><p class="text-gray-600 mb-4">Utilisez l'IA pour transformer vos données en insights actionnables.</p><div class="flex justify-between items-center"><div class="flex items-center text-sm text-gray-500"><i class="fas fa-clock mr-1"></i> 3h00</div><button class="bg-green-600 text-white px-3 py-1 rounded-md text-sm hover:bg-green-700">Commencer</button></div></div></div></div></section><!-- Base Documentaire Section --><section id="ressources" class="mb-8"><div class="flex justify-between items-center mb-6"><h2 class="text-2xl font-bold text-gray-800">Base documentaire</h2><button class="bg-blue-600 text-white px-4 py-2 rounded-md hover:bg-blue-700 transition-all"><i class="fas fa-plus mr-2"></i> Ajouter un document</button></div><div class="bg-white rounded-lg shadow-md overflow-hidden"><div class="overflow-x-auto"><table class="min-w-full divide-y divide-gray-200"><thead class="bg-gray-50"><tr><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Titre</th><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Type</th><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Date</th><th class="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider">Actions</th></tr></thead><tbody class="bg-white divide-y divide-gray-200"><tr><td class="px-6 py-4 whitespace-nowrap"><div class="flex items-center"><i class="fas fa-file-pdf text-red-500 mr-3"></i><div><div class="font-medium">Guide d'implémentation IA</div><div class="text-sm text-gray-500">Par Jean Martin</div></div></div></td><td class="px-6 py-4 whitespace-nowrap"><span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-blue-100 text-blue-800">Guide</span></td><td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">15/06/2023</td><td class="px-6 py-4 whitespace-nowrap text-sm font-medium"><a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a><a href="#" class="text-green-600 hover:text-green-900 mr-3"><i class="fas fa-download"></i></a><a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a></td></tr><tr><td class="px-6 py-4 whitespace-nowrap"><div class="flex items-center"><i class="fas fa-file-word text-blue-500 mr-3"></i><div><div class="font-medium">Cas d'usage - Service client</div><div class="text-sm text-gray-500">Par Sophie Leroy</div></div></div></td><td class="px-6 py-4 whitespace-nowrap"><span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-purple-100 text-purple-800">Cas d'usage</span></td><td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">02/07/2023</td><td class="px-6 py-4 whitespace-nowrap text-sm font-medium"><a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a><a href="#" class="text-green-600 hover:text-green-900 mr-3"><i class="fas fa-download"></i></a><a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a></td></tr><tr><td class="px-6 py-4 whitespace-nowrap"><div class="flex items-center"><i class="fas fa-file-excel text-green-500 mr-3"></i><div><div class="font-medium">Modèle ROI IA</div><div class="text-sm text-gray-500">Par Finance Team</div></div></div></td><td class="px-6 py-4 whitespace-nowrap"><span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">Modèle</span></td><td class="px-6 py-4 whitespace-nowrap text-sm text-gray-500">22/05/2023</td><td class="px-6 py-4 whitespace-nowrap text-sm font-medium"><a href="#" class="text-blue-600 hover:text-blue-900 mr-3"><i class="fas fa-eye"></i></a><a href="#" class="text-green-600 hover:text-green-900 mr-3"><i class="fas fa-download"></i></a><a href="#" class="text-red-600 hover:text-red-900"><i class="fas fa-trash"></i></a></td></tr></tbody></table></div></div></section><!-- Articles Section --><section id="articles" class="mb-8"><div class="flex justify-between items-center mb-6"><h2 class="text-2xl font-bold text-gray-800">Articles partagés</h2><button class="bg-blue-600 text-white px-4 py-2 rounded-md hover:bg-blue-700 transition-all"><i class="fas fa-plus mr-2"></i> Ajouter un article</button></div><div class="grid grid-cols-1 md:grid-cols-2 gap-6"><!-- Article Card 1 --><div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all"><div class="p-6"><div class="flex justify-between items-start mb-2"><h3 class="font-bold text-lg">Comment l'IA transforme la relation client</h3><span class="text-xs text-gray-500">2 jours</span></div><p class="text-gray-600 mb-4">Un article approfondi sur les chatbots avancés et l'analyse des sentiments pour améliorer l'expérience client.</p><div class="flex justify-between items-center"><div class="flex items-center text-sm text-gray-500"><i class="fas fa-user mr-1"></i> Marie Lambert</div><a href="#" class="text-blue-600 text-sm hover:underline">Lire l'article <i class="fas fa-external-link-alt ml-1"></i></a></div></div></div><!-- Article Card 2 --><div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all"><div class="p-6"><div class="flex justify-between items-start mb-2"><h3 class="font-bold text-lg">Les 10 tendances IA à surveiller en 2023</h3><span class="text-xs text-gray-500">1 semaine</span></div><p class="text-gray-600 mb-4">Un panorama complet des innovations en intelligence artificielle qui vont impacter les entreprises cette année.</p><div class="flex justify-between items-center"><div class="flex items-center text-sm text-gray-500"><i class="fas fa-user mr-1"></i> Tech Insights</div><a href="#" class="text-blue-600 text-sm hover:underline">Lire l'article <i class="fas fa-external-link-alt ml-1"></i></a></div></div></div></div></section><!-- Communauté Section --><section id="communaute" class="mb-8"><div class="flex justify-between items-center mb-6"><h2 class="text-2xl font-bold text-gray-800">Communauté</h2><button class="bg-blue-600 text-white px-4 py-2 rounded-md hover:bg-blue-700 transition-all"><i class="fas fa-plus mr-2"></i> Nouvelle discussion</button></div><div class="bg-white rounded-lg shadow-md overflow-hidden"><!-- Discussion en cours --><div class="p-6 border-b"><h3 class="font-bold text-lg mb-4">Discussions récentes</h3><!-- Discussion 1 --><div class="flex mb-4 pb-4 border-b border-gray-100"><img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Profile" class="w-10 h-10 rounded-full mr-3"><div class="flex-1"><div class="flex justify-between items-start"><h4 class="font-semibold">Comment intégrer l'IA dans notre CRM?</h4><span class="text-xs text-gray-500">2h</span></div><p class="text-sm text-gray-600 mb-2">Nous envisageons d'améliorer notre CRM avec des fonctionnalités IA. Des retours d'expérience?</p><div class="flex text-sm"><span class="text-gray-500 mr-3"><i class="far fa-comment mr-1"></i> 5 réponses</span><span class="text-gray-500"><i class="far fa-eye mr-1"></i> 12 vues</span></div></div></div><!-- Discussion 2 --><div class="flex mb-4 pb-4 border-b border-gray-100"><img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-10 h-10 rounded-full mr-3"><div class="flex-1"><div class="flex justify-between items-start"><h4 class="font-semibold">Retour sur la formation Machine Learning</h4><span class="text-xs text-gray-500">1j</span></div><p class="text-sm text-gray-600 mb-2">Je viens de terminer la formation, très enrichissant! Qui veut échanger sur les cas pratiques?</p><div class="flex text-sm"><span class="text-gray-500 mr-3"><i class="far fa-comment mr-1"></i> 3 réponses</span><span class="text-gray-500"><i class="far fa-eye mr-1"></i> 8 vues</span></div></div></div><!-- Discussion 3 --><div class="flex"><img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Profile" class="w-10 h-10 rounded-full mr-3"><div class="flex-1"><div class="flex justify-between items-start"><h4 class="font-semibold">Outils de NLP pour analyse de feedback</h4><span class="text-xs text-gray-500">3j</span></div><p class="text-sm text-gray-600 mb-2">Je recherche des outils pour analyser automatiquement les retours clients. Des suggestions?</p><div class="flex text-sm"><span class="text-gray-500 mr-3"><i class="far fa-comment mr-1"></i> 7 réponses</span><span class="text-gray-500"><i class="far fa-eye mr-1"></i> 15 vues</span></div></div></div></div><!-- Nouveau message --><div class="p-4 bg-gray-50"><div class="flex"><img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-10 h-10 rounded-full mr-3"><div class="flex-1"><textarea class="w-full p-3 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-300" rows="2" placeholder="Partagez vos questions ou expériences..."></textarea><div class="flex justify-between items-center mt-2"><div class="flex space-x-2"><button class="text-gray-500 hover:text-gray-700"><i class="fas fa-paperclip"></i></button><button class="text-gray-500 hover:text-gray-700"><i class="fas fa-image"></i></button></div><button class="bg-blue-600 text-white px-4 py-1 rounded-md text-sm hover:bg-blue-700">Publier</button></div></div></div></div></div></section><!-- Actualités Section --><section id="actualites" class="mb-8"><div class="flex justify-between items-center mb-6"><h2 class="text-2xl font-bold text-gray-800">Actualités IA</h2><button class="text-blue-600 hover:text-blue-800">Voir toutes <i class="fas fa-arrow-right ml-1"></i></button></div><div class="grid grid-cols-1 md:grid-cols-3 gap-6"><!-- News Card 1 --><div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all"><div class="h-40 bg-gray-800 flex items-center justify-center"><i class="fas fa-newspaper text-5xl text-white"></i></div><div class="p-6"><div class="flex justify-between items-start mb-2"><h3 class="font-bold text-lg">Nouvelle réglementation IA en Europe</h3><span class="text-xs text-gray-500">15/06</span></div><p class="text-gray-600 mb-4">Le parlement européen a adopté de nouvelles règles encadrant l'utilisation de l'IA...</p><a href="#" class="text-blue-600 text-sm hover:underline">Lire la suite <i class="fas fa-arrow-right ml-1"></i></a></div></div><!-- News Card 2 --><div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all"><div class="h-40 bg-gray-800 flex items-center justify-center"><i class="fas fa-chart-bar text-5xl text-white"></i></div><div class="p-6"><div class="flex justify-between items-start mb-2"><h3 class="font-bold text-lg">Croissance du marché IA en 2023</h3><span class="text-xs text-gray-500">10/06</span></div><p class="text-gray-600 mb-4">Les investissements dans les solutions IA ont augmenté de 35% au premier trimestre...</p><a href="#" class="text-blue-600 text-sm hover:underline">Lire la suite <i class="fas fa-arrow-right ml-1"></i></a></div></div><!-- News Card 3 --><div class="bg-white rounded-lg shadow-md overflow-hidden card-hover transition-all"><div class="h-40 bg-gray-800 flex items-center justify-center"><i class="fas fa-lightbulb text-5xl text-white"></i></div><div class="p-6"><div class="flex justify-between items-start mb-2"><h3 class="font-bold text-lg">Innovation: GPT-4 en entreprise</h3><span class="text-xs text-gray-500">05/06</span></div><p class="text-gray-600 mb-4">Comment les grandes entreprises exploitent les nouveaux modèles de langage...</p><a href="#" class="text-blue-600 text-sm hover:underline">Lire la suite <i class="fas fa-arrow-right ml-1"></i></a></div></div></div></section></main><!-- Footer --><footer class="bg-gray-800 text-white p-6"><div class="container mx-auto"><div class="grid grid-cols-1 md:grid-cols-4 gap-8"><div><h3 class="font-bold text-lg mb-4">IA Enterprise Hub</h3><p class="text-gray-400">Votre centre de ressources pour l'intégration de l'intelligence artificielle en entreprise.</p></div><div><h4 class="font-semibold mb-4">Ressources</h4><ul class="space-y-2"><li><a href="#" class="text-gray-400 hover:text-white">Formations</a></li><li><a href="#" class="text-gray-400 hover:text-white">Documentation</a></li><li><a href="#" class="text-gray-400 hover:text-white">Articles</a></li><li><a href="#" class="text-gray-400 hover:text-white">Outils</a></li></ul></div><div><h4 class="font-semibold mb-4">Communauté</h4><ul class="space-y-2"><li><a href="#" class="text-gray-400 hover:text-white">Discussions</a></li><li><a href="#" class="text-gray-400 hover:text-white">Cas d'usage</a></li><li><a href="#" class="text-gray-400 hover:text-white">Événements</a></li><li><a href="#" class="text-gray-400 hover:text-white">FAQ</a></li></ul></div><div><h4 class="font-semibold mb-4">Contact</h4><ul class="space-y-2"><li class="flex items-center"><i class="fas fa-envelope mr-2 text-gray-400"></i> <a href="mailto:contact@ia-hub.com" class="text-gray-400 hover:text-white">contact@ia-hub.com</a></li><li class="flex items-center"><i class="fas fa-phone mr-2 text-gray-400"></i> <span class="text-gray-400">01 23 45 67 89</span></li><li class="flex items-center"><i class="fas fa-map-marker-alt mr-2 text-gray-400"></i> <span class="text-gray-400">Paris, France</span></li></ul></div></div><div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400"><p>© 2023 IA Enterprise Hub. Tous droits réservés.</p></div></div></footer></div><script>// Mobile menu toggleconst menuBtn = document.getElementById('menuBtn');const closeMenuBtn = document.getElementById('closeMenuBtn');const sidebar = document.getElementById('sidebar');menuBtn.addEventListener('click', () => {sidebar.classList.add('sidebar-open');});closeMenuBtn.addEventListener('click', () => {sidebar.classList.remove('sidebar-open');});// Smooth scrolling for anchor linksdocument.querySelectorAll('a[href^="#"]').forEach(anchor => {anchor.addEventListener('click', function (e) {e.preventDefault();const targetId = this.getAttribute('href');const targetElement = document.querySelector(targetId);if (targetElement) {targetElement.scrollIntoView({behavior: 'smooth',block: 'start'});// Close mobile menu if openif (window.innerWidth < 768) {sidebar.classList.remove('sidebar-open');}}});});// Simulate loading for demo purposesdocument.addEventListener('DOMContentLoaded', () => {setTimeout(() => {document.querySelectorAll('.card-hover').forEach(card => {card.style.transition = 'all 0.3s ease';});}, 500);});</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=Mgeslin49/document-translate" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
index.html+596-322