| 1 | <!DOCTYPE html> |
| 2 | <html lang="es"> |
| 3 | <head> |
| 4 | <meta charset="UTF-8"> |
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | <title>Comunidad y Recursos | MAPS Connect</title> |
| 7 | <script>try{if(localStorage.getItem('tema-maps')==='oscuro'){document.documentElement.classList.add('dark-mode')}}catch(e){}</script> |
| 8 | <script src="../js/estilos.js?v=17"></script> |
| 9 | <link rel="stylesheet" href="../css/base.css?v=8"> |
| 10 | <link rel="stylesheet" href="../css/layout.css?v=5"> |
| 11 | <link rel="stylesheet" href="../css/components.css?v=8"> |
| 12 | <link rel="stylesheet" href="../css/colores.css?v=1"> |
| 13 | <link rel="stylesheet" href="../css/comunidad.css?v=6"> |
| 14 | <link rel="stylesheet" href="../css/estilos.css?v=26"> |
| 15 | </head> |
| 16 | <body> |
| 17 | <div class="app-layout"> |
| 18 | <aside class="sidebar" id="sidebar"></aside> |
| 19 | <div class="main-wrapper"> |
| 20 | <header class="topbar" id="topbar"></header> |
| 21 | <main class="main-content" id="main-content"> |
| 22 | |
| 23 | <section class="academic-hub-container"> |
| 24 | |
| 25 | <!-- Aviso de filtro por carrera (se rellena desde /inicio) --> |
| 26 | <p class="filter-note" id="career-note" hidden></p> |
| 27 | |
| 28 | <!-- 1. BARRA SUPERIOR DE FILTROS Y ACCIÓN CONTEXTUAL --> |
| 29 | <div class="hub-filter-bar"> |
| 30 | <input type="text" class="input-search" id="hub-search" placeholder="Buscar por tema, duda, apunte o concepto clave..."> |
| 31 | |
| 32 | <select class="select-materia" id="hub-materia"> |
| 33 | <option value="">Todas las materias del semestre</option> |
| 34 | </select> |
| 35 | |
| 36 | <!-- Este botón cambia según la pestaña activa mediante JS --> |
| 37 | <button class="btn-solid" id="context-action-btn" type="button">+ Preguntar Duda</button> |
| 38 | </div> |
| 39 | |
| 40 | <!-- 2. PESTAÑAS DE NAVEGACIÓN INTERNA --> |
| 41 | <nav class="hub-tabs" role="tablist"> |
| 42 | <button class="tab-button active" type="button" role="tab" |
| 43 | data-tab="foro-dudas" data-action="+ Preguntar Duda"> |
| 44 | Foro de Dudas |
| 45 | </button> |
| 46 | <button class="tab-button" type="button" role="tab" |
| 47 | data-tab="apuntes" data-action="+ Subir Apunte"> |
| 48 | Repositorio de Apuntes |
| 49 | </button> |
| 50 | <button class="tab-button" type="button" role="tab" |
| 51 | data-tab="tips" data-action="+ Compartir Tip"> |
| 52 | Tips Académicos |
| 53 | </button> |
| 54 | </nav> |
| 55 | |
| 56 | <!-- ================= PESTAÑA 1: FORO DE DUDAS ================= --> |
| 57 | <section id="foro-dudas" class="tab-panel active" role="tabpanel"> |
| 58 | <!-- Las dudas se renderizan aquí solo cuando el backend responde --> |
| 59 | </section> |
| 60 | |
| 61 | <!-- ================= PESTAÑA 2: APUNTES Y REPOSITORIO ================= --> |
| 62 | <section id="apuntes" class="tab-panel" role="tabpanel"> |
| 63 | <!-- Los apuntes se renderizan aquí solo cuando el backend responde --> |
| 64 | </section> |
| 65 | |
| 66 | <!-- ================= PESTAÑA 3: TIPS ACADÉMICOS ================= --> |
| 67 | <section id="tips" class="tab-panel" role="tabpanel"> |
| 68 | <!-- Los tips se renderizan aquí solo cuando el backend responde --> |
| 69 | </section> |
| 70 | |
| 71 | </section> |
| 72 | |
| 73 | </main> |
| 74 | </div> |
| 75 | </div> |
| 76 | <div id="modal-root"></div> |
| 77 | <script src="../js/api.js?v=5"></script> |
| 78 | <script src="../js/auth.js?v=7"></script> |
| 79 | <script src="../js/utils.js?v=5"></script> |
| 80 | <script src="../js/tema.js?v=2"></script> |
| 81 | <script src="../js/colores.js?v=1"></script> |
| 82 | <script src="../js/aviso-privacidad.js?v=1"></script> |
| 83 | <script src="../js/layout.js?v=12"></script> |
| 84 | <script src="../js/pages/comunidad.js?v=5"></script> |
| 85 | </body> |
| 86 | </html> |