feat: Add complete EJS documentation layout and sections for Amayo Bot
- Created main index.ejs view with header, footer, and content structure. - Developed layout.ejs for consistent styling across pages. - Implemented partials for various sections including admin, alliances, chests, basic commands, crafting, economy, and more. - Added a table of contents for easy navigation. - Included responsive design elements and animations using Tailwind CSS. - Migrated content to EJS format for dynamic rendering.
This commit is contained in:
4
src/server/views/partials/sections/admin.ejs
Normal file
4
src/server/views/partials/sections/admin.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="admin" class="space-y-6 rounded-3xl border border-red-500/20 bg-slate-900/80 p-8 shadow-2xl shadow-red-500/10 backdrop-blur">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">⚙️ Panel de Administración</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/alianzas.ejs
Normal file
4
src/server/views/partials/sections/alianzas.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="alianzas" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🤝 Sistema de Alianzas</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/cofres.ejs
Normal file
4
src/server/views/partials/sections/cofres.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="cofres" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🎁 Cofres y Recompensas</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/comandos-basicos.ejs
Normal file
4
src/server/views/partials/sections/comandos-basicos.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="comandos-basicos" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">⚡ Comandos Básicos</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/configuracion.ejs
Normal file
4
src/server/views/partials/sections/configuracion.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="configuracion" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🔧 Configuración del Servidor</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/consumibles.ejs
Normal file
4
src/server/views/partials/sections/consumibles.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="consumibles" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🍖 Consumibles y Pociones</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/crafteo.ejs
Normal file
4
src/server/views/partials/sections/crafteo.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="crafteo" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🛠️ Crafteo y Creación</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
@@ -0,0 +1,4 @@
|
||||
<section id="creacion-contenido" class="rounded-3xl bg-gradient-to-br from-red-900/20 to-orange-900/20 backdrop-blur-xl border border-red-500/30 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-red-200 to-orange-200">🎨 Creación de Contenido</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/economia.ejs
Normal file
4
src/server/views/partials/sections/economia.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="economia" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">💰 Sistema de Economía</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/encantamientos.ejs
Normal file
4
src/server/views/partials/sections/encantamientos.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="encantamientos" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">✨ Encantamientos</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/estadisticas.ejs
Normal file
4
src/server/views/partials/sections/estadisticas.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="estadisticas" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">📊 Estadísticas y Progreso</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/faq.ejs
Normal file
4
src/server/views/partials/sections/faq.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="faq" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">❓ Preguntas Frecuentes</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/fundicion.ejs
Normal file
4
src/server/views/partials/sections/fundicion.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="fundicion" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🔥 Sistema de Fundición</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/ia.ejs
Normal file
4
src/server/views/partials/sections/ia.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="ia" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🤖 Inteligencia Artificial</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/inventario-equipo.ejs
Normal file
4
src/server/views/partials/sections/inventario-equipo.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="inventario-equipo" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🎒 Inventario y Equipo</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/logros.ejs
Normal file
4
src/server/views/partials/sections/logros.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="logros" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🏆 Logros</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/minijuegos.ejs
Normal file
4
src/server/views/partials/sections/minijuegos.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="minijuegos" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🎯 Minijuegos y Actividades</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/misiones.ejs
Normal file
4
src/server/views/partials/sections/misiones.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="misiones" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">📝 Misiones</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
39
src/server/views/partials/sections/primeros-pasos.ejs
Normal file
39
src/server/views/partials/sections/primeros-pasos.ejs
Normal file
@@ -0,0 +1,39 @@
|
||||
<section id="primeros-pasos" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl shadow-indigo-500/10 backdrop-blur">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🚀 Primeros Pasos</h2>
|
||||
<p class="text-slate-200">
|
||||
¡Bienvenido a <strong class="text-white">Amayo Bot</strong>! Este bot transforma tu servidor de Discord en una experiencia de juego completa con economía, minijuegos, misiones y mucho más.
|
||||
</p>
|
||||
|
||||
<div class="space-y-4 rounded-2xl border border-indigo-500/30 bg-indigo-500/10 p-5 text-slate-200">
|
||||
<h3 class="text-lg font-semibold text-indigo-200">✨ ¿Qué puedes hacer con Amayo?</h3>
|
||||
<ul class="list-disc space-y-2 pl-5 text-sm">
|
||||
<li><strong class="text-white">Jugar Minijuegos:</strong> Mina recursos, pesca, pelea contra enemigos y cultiva en granjas</li>
|
||||
<li><strong class="text-white">Economía Completa:</strong> Gana monedas, compra en la tienda, craftea items y gestiona tu inventario</li>
|
||||
<li><strong class="text-white">Sistema de Progresión:</strong> Sube de nivel, completa misiones, desbloquea logros y mantén tu racha diaria</li>
|
||||
<li><strong class="text-white">Personalización:</strong> Equipa armas, armaduras y capas para mejorar tus estadísticas</li>
|
||||
<li><strong class="text-white">IA Conversacional:</strong> Chatea con Gemini AI directamente desde Discord</li>
|
||||
<li><strong class="text-white">Sistema de Alianzas:</strong> Comparte enlaces de invitación y gana puntos para tu servidor</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="grid gap-6 md:grid-cols-2m py-5">
|
||||
<div class="space-y-3 rounded-2xl border border-white/5 bg-slate-900/60 p-5">
|
||||
<h3 class="text-lg font-semibold text-white">⚡ Prefix del Bot</h3>
|
||||
<p class="text-sm text-slate-200 py-5">
|
||||
El prefix por defecto es <code class="rounded bg-indigo-500/15 px-2 py-1 font-mono text-sm text-indigo-200">!</code>
|
||||
</p>
|
||||
<p class="text-xs text-slate-300 mt-2">
|
||||
Los administradores pueden cambiarlo con <code class="rounded bg-indigo-500/15 px-1.5 py-0.5 font-mono text-xs text-indigo-200">!configuracion</code>
|
||||
</p>
|
||||
</div>
|
||||
<div class="space-y-3 rounded-2xl border border-white/5 bg-slate-900/60 p-5">
|
||||
<h3 class="text-lg font-semibold text-white">❓ Obtener Ayuda</h3>
|
||||
<p class="text-sm text-slate-200">
|
||||
Usa <code class="rounded bg-indigo-500/15 px-2 py-1 font-mono text-sm text-indigo-200">!ayuda</code> para ver todos los comandos disponibles
|
||||
</p>
|
||||
<p class="text-xs text-slate-300 mt-2">
|
||||
También puedes usar <code class="rounded bg-indigo-500/15 px-1.5 py-0.5 font-mono text-xs text-indigo-200">!ayuda <comando></code> para detalles específicos
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/racha.ejs
Normal file
4
src/server/views/partials/sections/racha.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="racha-diaria" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🔥 Racha Diaria</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/recordatorios.ejs
Normal file
4
src/server/views/partials/sections/recordatorios.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="recordatorios" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">⏰ Sistema de Recordatorios</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/sistema-juego.ejs
Normal file
4
src/server/views/partials/sections/sistema-juego.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="sistema-juego" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🎮 Sistema de Juego</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/tienda.ejs
Normal file
4
src/server/views/partials/sections/tienda.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="tienda" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">🛒 Tienda y Compras</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
4
src/server/views/partials/sections/tips.ejs
Normal file
4
src/server/views/partials/sections/tips.ejs
Normal file
@@ -0,0 +1,4 @@
|
||||
<section id="tips" class="rounded-3xl bg-gradient-to-br from-slate-800/50 to-slate-900/50 backdrop-blur-xl border border-white/10 p-8 shadow-2xl">
|
||||
<h2 class="text-3xl sm:text-4xl font-bold mb-3 bg-clip-text text-transparent bg-gradient-to-r from-white to-indigo-200">💡 Tips y Trucos</h2>
|
||||
<p class="text-slate-300 text-sm">Contenido en migración a EJS…</p>
|
||||
</section>
|
||||
30
src/server/views/partials/toc.ejs
Normal file
30
src/server/views/partials/toc.ejs
Normal file
@@ -0,0 +1,30 @@
|
||||
<nav id="toc" class="w-full max-w-xs rounded-3xl border border-white/10 bg-slate-900/80 text-left shadow-2xl shadow-indigo-500/20 lg:sticky lg:top-24 lg:block lg:max-h-[calc(100vh-6rem)] lg:w-74 lg:overflow-y-auto">
|
||||
<div class="text-xs p-6 font-semibold uppercase tracking-[0.3em] text-slate-400">
|
||||
Índice de Contenidos
|
||||
</div>
|
||||
<ul class="ps-8 mt-4 space-y-4 text-sm">
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#primeros-pasos">🚀 Primeros Pasos</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#comandos-basicos">⚡ Comandos Básicos</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#sistema-juego">🎮 Sistema de Juego</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#minijuegos">🎯 Minijuegos y Actividades</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#inventario-equipo">🎒 Inventario y Equipo</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#economia">💰 Sistema de Economía</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#tienda">🛒 Tienda y Compras</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#crafteo">🛠️ Crafteo y Creación</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#logros">🏆 Logros</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#misiones">📝 Misiones</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#racha-diaria">🔥 Racha Diaria</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#consumibles">🍖 Consumibles y Pociones</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#cofres">🎁 Cofres y Recompensas</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#encantamientos">✨ Encantamientos</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#fundicion">🔥 Fundición</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#ia">🤖 Inteligencia Artificial</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#recordatorios">⏰ Recordatorios</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#alianzas">🤝 Sistema de Alianzas</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#admin">⚙️ Administración (Admin)</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#configuracion">🔧 Configuración Servidor</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#estadisticas">📊 Estadísticas</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#tips">💡 Tips y Trucos</a></li>
|
||||
<li><a class="text-slate-200 transition hover:text-indigo-300" href="#faq">❓ Preguntas Frecuentes</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
Reference in New Issue
Block a user