Download index.html from OIBP/oncoflash: direct link, hf CLI and curl.
- Browser
- Download file 14.7 kB
-
https://huggingface.co/spaces/OIBP/oncoflash/resolve/main/index.html
- Command line
-
hf download hf://spaces/OIBP/oncoflash/index.html
-
curl -L -o index.html https://huggingface.co/spaces/OIBP/oncoflash/resolve/main/index.html
14.7 kB
| <html lang="es"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Flashcards de Oncología CCyC</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> | |
| <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| .flashcard { | |
| perspective: 1000px; | |
| height: 400px; | |
| } | |
| .flashcard-inner { | |
| position: relative; | |
| width: 100%; | |
| height: 100%; | |
| transition: transform 0.6s; | |
| transform-style: preserve-3d; | |
| } | |
| .flashcard.flipped .flashcard-inner { | |
| transform: rotateY(180deg); | |
| } | |
| .flashcard-front, .flashcard-back { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| backface-visibility: hidden; | |
| border-radius: 15px; | |
| padding: 2rem; | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .flashcard-back { | |
| transform: rotateY(180deg); | |
| } | |
| .progress-bar { | |
| transition: width 0.3s ease; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <div class="min-h-screen flex flex-col"> | |
| <!-- Header --> | |
| <header class="bg-blue-800 text-white shadow-lg"> | |
| <div class="container mx-auto px-4 py-6"> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <h1 class="text-3xl font-bold">OncoFlash</h1> | |
| <p class="text-blue-200">Flashcards de Oncología de Cabeza y Cuello</p> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="bg-blue-700 hover:bg-blue-600 px-4 py-2 rounded-lg flex items-center"> | |
| <i data-feather="user" class="mr-2"></i> | |
| <span>Mi Cuenta</span> | |
| </button> | |
| <button class="bg-blue-600 hover:bg-blue-500 px-4 py-2 rounded-lg flex items-center"> | |
| <i data-feather="settings" class="mr-2"></i> | |
| <span>Ajustes</span> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="flex-grow container mx-auto px-4 py-8"> | |
| <div class="grid grid-cols-1 lg:grid-cols-4 gap-6"> | |
| <!-- Sidebar --> | |
| <aside class="lg:col-span-1 bg-white rounded-lg shadow-md p-6 h-fit"> | |
| <div class="mb-6"> | |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">Modos de Estudio</h2> | |
| <div class="space-y-2"> | |
| <button class="w-full text-left px-4 py-2 bg-blue-100 text-blue-800 rounded-lg flex items-center"> | |
| <i data-feather="rotate-ccw" class="mr-2"></i> | |
| Modo Repaso | |
| </button> | |
| <button class="w-full text-left px-4 py-2 bg-gray-100 text-gray-800 rounded-lg hover:bg-gray-200 flex items-center"> | |
| <i data-feather="list" class="mr-2"></i> | |
| Modo Examen | |
| </button> | |
| <button class="w-full text-left px-4 py-2 bg-gray-100 text-gray-800 rounded-lg hover:bg-gray-200 flex items-center"> | |
| <i data-feather="bookmark" class="mr-2"></i> | |
| Modo Temático | |
| </button> | |
| <button class="w-full text-left px-4 py-2 bg-gray-100 text-gray-800 rounded-lg hover:bg-gray-200 flex items-center"> | |
| <i data-feather="heart" class="mr-2"></i> | |
| Favoritos | |
| </button> | |
| </div> | |
| </div> | |
| <div class="mb-6"> | |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">Categorías</h2> | |
| <div class="space-y-2"> | |
| <button class="w-full text-left px-4 py-2 bg-blue-100 text-blue-800 rounded-lg">Epidemiología</button> | |
| <button class="w-full text-left px-4 py-2 bg-gray-100 text-gray-800 rounded-lg hover:bg-gray-200">Anatomía</button> | |
| <button class="w-full text-left px-4 py-2 bg-gray-100 text-gray-800 rounded-lg hover:bg-gray-200">Diagnóstico</button> | |
| <button class="w-full text-left px-4 py-2 bg-gray-100 text-gray-800 rounded-lg hover:bg-gray-200">Tratamiento</button> | |
| <button class="w-full text-left px-4 py-2 bg-gray-100 text-gray-800 rounded-lg hover:bg-gray-200">Complicaciones</button> | |
| </div> | |
| </div> | |
| <div> | |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">Progreso</h2> | |
| <div class="bg-gray-200 rounded-full h-4 mb-2"> | |
| <div class="bg-green-500 h-4 rounded-full progress-bar" style="width: 25%"></div> | |
| </div> | |
| <p class="text-gray-600 text-sm">25% completado (50/200 flashcards)</p> | |
| </div> | |
| </aside> | |
| <!-- Flashcard Area --> | |
| <div class="lg:col-span-3"> | |
| <div class="bg-white rounded-lg shadow-md p-6 mb-6"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 class="text-2xl font-bold text-gray-800">Flashcards</h2> | |
| <div class="flex items-center space-x-2"> | |
| <span class="text-gray-600">Dificultad:</span> | |
| <select class="bg-gray-100 border border-gray-300 rounded-lg px-3 py-1"> | |
| <option>Todas</option> | |
| <option>Fácil</option> | |
| <option>Medio</option> | |
| <option>Difícil</option> | |
| </select> | |
| </div> | |
| </div> | |
| <!-- Flashcard --> | |
| <div class="flashcard mb-6 cursor-pointer" onclick="this.classList.toggle('flipped')"> | |
| <div class="flashcard-inner"> | |
| <div class="flashcard-front bg-blue-50 border-2 border-blue-200"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <span class="bg-blue-200 text-blue-800 px-3 py-1 rounded-full text-sm font-medium">Epidemiología</span> | |
| <span class="text-gray-500 text-sm">#001</span> | |
| </div> | |
| <div class="flex-grow flex items-center justify-center"> | |
| <p class="text-2xl text-center font-medium text-gray-800">¿Cuál es el sitio más común del cáncer de cabeza y cuello (CCyC)?</p> | |
| </div> | |
| <div class="mt-auto text-center text-gray-500 text-sm"> | |
| <p>Haz click para ver la respuesta</p> | |
| <i data-feather="rotate-ccw" class="inline-block mt-1"></i> | |
| </div> | |
| </div> | |
| <div class="flashcard-back bg-green-50 border-2 border-green-200"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <span class="bg-green-200 text-green-800 px-3 py-1 rounded-full text-sm font-medium">Respuesta</span> | |
| <span class="text-gray-500 text-sm">#001</span> | |
| </div> | |
| <div class="flex-grow flex items-center justify-center"> | |
| <p class="text-2xl text-center font-medium text-gray-800">La cavidad oral y la orofaringe (predominio de carcinoma escamoso).</p> | |
| </div> | |
| <div class="mt-6 flex justify-center space-x-4"> | |
| <button class="px-4 py-2 bg-green-500 text-white rounded-lg flex items-center"> | |
| <i data-feather="check" class="mr-2"></i> | |
| Correcto | |
| </button> | |
| <button class="px-4 py-2 bg-red-500 text-white rounded-lg flex items-center"> | |
| <i data-feather="x" class="mr-2"></i> | |
| Incorrecto | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Navigation --> | |
| <div class="flex justify-between items-center"> | |
| <button class="px-4 py-2 bg-gray-200 text-gray-800 rounded-lg flex items-center hover:bg-gray-300"> | |
| <i data-feather="chevron-left" class="mr-2"></i> | |
| Anterior | |
| </button> | |
| <div class="text-gray-600"> | |
| <span class="font-medium">1</span> de <span class="font-medium">200</span> | |
| </div> | |
| <button class="px-4 py-2 bg-blue-600 text-white rounded-lg flex items-center hover:bg-blue-700"> | |
| Siguiente | |
| <i data-feather="chevron-right" class="ml-2"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Stats --> | |
| <div class="bg-white rounded-lg shadow-md p-6"> | |
| <h2 class="text-xl font-semibold text-gray-800 mb-4">Estadísticas</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
| <div class="bg-blue-50 p-4 rounded-lg"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="text-lg font-medium text-blue-800">Progreso Total</h3> | |
| <i data-feather="bar-chart-2" class="text-blue-600"></i> | |
| </div> | |
| <div class="mt-2"> | |
| <div class="bg-blue-200 rounded-full h-2"> | |
| <div class="bg-blue-600 h-2 rounded-full" style="width: 25%"></div> | |
| </div> | |
| <p class="mt-1 text-sm text-gray-600">25% completado</p> | |
| </div> | |
| </div> | |
| <div class="bg-green-50 p-4 rounded-lg"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="text-lg font-medium text-green-800">Correctas</h3> | |
| <i data-feather="check-circle" class="text-green-600"></i> | |
| </div> | |
| <p class="mt-2 text-2xl font-bold text-green-700">85%</p> | |
| <p class="text-sm text-gray-600">34/40 respuestas</p> | |
| </div> | |
| <div class="bg-red-50 p-4 rounded-lg"> | |
| <div class="flex items-center justify-between"> | |
| <h3 class="text-lg font-medium text-red-800">Incorrectas</h3> | |
| <i data-feather="x-circle" class="text-red-600"></i> | |
| </div> | |
| <p class="mt-2 text-2xl font-bold text-red-700">15%</p> | |
| <p class="text-sm text-gray-600">6/40 respuestas</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-gray-800 text-white py-6"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <div class="mb-4 md:mb-0"> | |
| <p class="text-gray-400">© 2023 OncoFlash - Flashcards de Oncología CCyC</p> | |
| </div> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="github"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white"> | |
| <i data-feather="mail"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| </div> | |
| <script> | |
| AOS.init(); | |
| feather.replace(); | |
| // Flashcard functionality | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const flashcards = document.querySelectorAll('.flashcard'); | |
| flashcards.forEach(card => { | |
| card.addEventListener('click', function() { | |
| this.classList.toggle('flipped'); | |
| }); | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |