Logo hdtoledo
hdtoledo.dev
Módulos_del_Sistema
MÓDULO_TEÓRICO

Proyecto Final Integrado: Quantum Portal

Proyecto Final Quantum Portal

¡Tu Portal Web Completo con Tailwind CDN!

Has dominado la herramienta de diseño frontend más popular del mundo. Aprendiste el paradigma Utility-First, configuraste Tailwind en 5 segundos vía CDN, construiste formularios de acceso con Glassmorphism, diseñaste cuadrículas 2D con CSS Grid y Flexbox, creaste micro-interacciones con group-hover: y aplicaste animaciones a 60 FPS.

A continuación tienes el código completo de una sola página de tu Quantum Portal para que lo pruebes y expandas:


Código Maestro de Producción (index.html)

html
<!DOCTYPE html> <html lang="es" class="dark"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Quantum Portal & Dashboard | Tailwind CSS</title> <!-- 1. Google Fonts --> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap" rel="stylesheet"> <!-- 2. Tailwind CSS CDN --> <script src="https://cdn.tailwindcss.com"></script> <!-- 3. Tailwind Custom Config --> <script> tailwind.config = { darkMode: 'class', theme: { extend: { fontFamily: { sans: ['Inter', 'sans-serif'], mono: ['JetBrains Mono', 'monospace'], }, colors: { brand: { cyan: '#00f0ff', magenta: '#ff007f', } } } } } </script> </head> <body class="bg-slate-950 text-slate-100 font-sans antialiased min-h-screen flex"> <!-- SIDEBAR (Desktop) --> <aside class="hidden lg:flex flex-col w-64 bg-slate-900/60 backdrop-blur-xl border-r border-slate-800/80 p-6"> <div class="flex items-center gap-3 mb-8"> <div class="w-10 h-10 rounded-xl bg-gradient-to-tr from-cyan-400 to-fuchsia-500 flex items-center justify-center text-slate-950 font-black text-xl shadow-lg shadow-cyan-500/20"> Q </div> <span class="font-extrabold tracking-wider text-white">QUANTUM<span class="text-cyan-400">OS</span></span> </div> <nav class="space-y-1.5 flex-1"> <a href="#" class="flex items-center gap-3 px-4 py-3 rounded-xl bg-cyan-500/10 text-cyan-400 border border-cyan-500/20 text-sm font-semibold"> 📊 Resumen </a> <a href="#" class="flex items-center gap-3 px-4 py-3 rounded-xl text-slate-400 hover:text-white hover:bg-slate-800/60 text-sm font-medium transition-colors"> 📈 Telemetría </a> <a href="#" class="flex items-center gap-3 px-4 py-3 rounded-xl text-slate-400 hover:text-white hover:bg-slate-800/60 text-sm font-medium transition-colors"> 👥 Agentes </a> <a href="#" class="flex items-center gap-3 px-4 py-3 rounded-xl text-slate-400 hover:text-white hover:bg-slate-800/60 text-sm font-medium transition-colors"> 🛡️ Firewall </a> </nav> </aside> <!-- CONTENEDOR PRINCIPAL --> <div class="flex-1 flex flex-col min-w-0"> <!-- TOPBAR --> <header class="h-18 px-6 bg-slate-900/40 backdrop-blur-md border-b border-slate-800/80 flex items-center justify-between sticky top-0 z-20"> <div class="flex items-center gap-3 lg:hidden"> <span class="font-black text-cyan-400 text-lg">QUANTUM</span> </div> <div class="hidden sm:flex items-center flex-1 max-w-md"> <input type="search" placeholder="Buscar nodo o comando..." class="w-full bg-slate-950/80 border border-slate-800 rounded-xl px-4 py-2 text-xs text-white focus:outline-none focus:border-cyan-400"> </div> <div class="flex items-center gap-4"> <div class="flex items-center gap-2 px-3 py-1.5 rounded-full bg-emerald-500/10 border border-emerald-500/20"> <span class="w-2 h-2 rounded-full bg-emerald-400 animate-ping"></span> <span class="text-[11px] font-bold text-emerald-400">ONLINE</span> </div> <img src="https://images.unsplash.com/photo-1534528741775-53994a69daeb?w=100" class="w-9 h-9 rounded-full border border-cyan-400/50"> </div> </header> <!-- DASHBOARD CONTENT --> <main class="p-6 lg:p-8 space-y-8 flex-1 overflow-y-auto"> <!-- GRID DE MÉTRICAS --> <section class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6"> <div class="p-6 bg-slate-900/60 backdrop-blur-xl border border-slate-800/80 rounded-2xl hover:border-cyan-500/40 transition-all group"> <p class="text-xs font-semibold text-slate-400 uppercase">Tráfico Global</p> <h3 class="text-3xl font-black text-white mt-1 group-hover:text-cyan-400 transition-colors">128.4 Gbps</h3> <span class="text-xs text-emerald-400 font-bold mt-3 inline-block">+14.2% activo</span> </div> <div class="p-6 bg-slate-900/60 backdrop-blur-xl border border-slate-800/80 rounded-2xl hover:border-cyan-500/40 transition-all group"> <p class="text-xs font-semibold text-slate-400 uppercase">Nodos Online</p> <h3 class="text-3xl font-black text-white mt-1 group-hover:text-cyan-400 transition-colors">8,420</h3> <span class="text-xs text-emerald-400 font-bold mt-3 inline-block">100% operativo</span> </div> <div class="p-6 bg-slate-900/60 backdrop-blur-xl border border-slate-800/80 rounded-2xl hover:border-cyan-500/40 transition-all group"> <p class="text-xs font-semibold text-slate-400 uppercase">Tiempo de Respuesta</p> <h3 class="text-3xl font-black text-white mt-1 group-hover:text-cyan-400 transition-colors">11 ms</h3> <span class="text-xs text-cyan-400 font-bold mt-3 inline-block">Ultra baja latencia</span> </div> <div class="p-6 bg-slate-900/60 backdrop-blur-xl border border-slate-800/80 rounded-2xl hover:border-cyan-500/40 transition-all group"> <p class="text-xs font-semibold text-slate-400 uppercase">Nivel de Seguridad</p> <h3 class="text-3xl font-black text-white mt-1 group-hover:text-cyan-400 transition-colors">99.9%</h3> <span class="text-xs text-emerald-400 font-bold mt-3 inline-block">Escudo cuántico</span> </div> </section> <!-- TABLA DE ACTIVIDAD --> <section class="bg-slate-900/60 backdrop-blur-xl border border-slate-800/80 rounded-2xl p-6"> <h3 class="text-base font-bold text-white mb-4">Registro de Clusters Cuánticos</h3> <div class="overflow-x-auto"> <table class="w-full text-left text-xs"> <thead> <tr class="border-b border-slate-800 text-slate-400 uppercase"> <th class="pb-3">Cluster ID</th> <th class="pb-3">Región</th> <th class="pb-3">Carga</th> <th class="pb-3">Estado</th> </tr> </thead> <tbody class="divide-y divide-slate-800/60"> <tr> <td class="py-3.5 font-mono text-cyan-400 font-bold">#CL-901</td> <td class="py-3.5 text-slate-300">US-East (Virginia)</td> <td class="py-3.5 text-slate-300">24%</td> <td class="py-3.5"><span class="px-2.5 py-1 rounded-full text-[10px] font-bold bg-emerald-500/10 text-emerald-400">Óptimo</span></td> </tr> <tr> <td class="py-3.5 font-mono text-cyan-400 font-bold">#CL-408</td> <td class="py-3.5 text-slate-300">EU-Central (Frankfurt)</td> <td class="py-3.5 text-slate-300">89%</td> <td class="py-3.5"><span class="px-2.5 py-1 rounded-full text-[10px] font-bold bg-amber-500/10 text-amber-400">Alta Demanda</span></td> </tr> </tbody> </table> </div> </section> </main> </div> </body> </html>

🚀 ¡Felicidades por Graduarte en Tailwind CSS!

Ahora tienes el poder de construir interfaces de clase mundial en una fracción del tiempo habitual. ¡Sigue creando y conquistando el desarrollo web moderno!