+ CARGANDO JUEGO... +
+diff --git a/frontend/src/app/games/[id]/page.tsx b/frontend/src/app/games/[id]/page.tsx index f824bfa..ffdd027 100644 --- a/frontend/src/app/games/[id]/page.tsx +++ b/frontend/src/app/games/[id]/page.tsx @@ -18,6 +18,7 @@ import { AlertDialogHeader, AlertDialogTitle, } from '@/components/ui/alert-dialog'; +import Navbar from '@/components/landing/Navbar'; export default function GameDetailPage() { const params = useParams(); @@ -79,180 +80,278 @@ export default function GameDetailPage() { if (loading) { return ( -
+ CARGANDO JUEGO... +
++ {error || 'JUEGO NO ENCONTRADO'} +
+ +{game.slug}
+{game.slug}
+{game.description}
-+ {game.description} +
+- {filteredGames.length} {filteredGames.length === 1 ? 'juego' : 'juegos'} en tu - biblioteca -
-+ {filteredGames.length} {filteredGames.length === 1 ? 'JUEGO' : 'JUEGOS'} EN TU + BIBLIOTECA +
++ CARGANDO JUEGOS... +
+- {searchQuery - ? 'No se encontraron juegos que coincidan con tu búsqueda.' - : 'No hay juegos en tu biblioteca.'} -
- {!searchQuery && ( - + {/* Empty State */} + {!loading && filteredGames.length === 0 && ( ++ {searchQuery + ? 'NO SE ENCONTRARON JUEGOS QUE COINCIDAN CON TU BÚSQUEDA.' + : 'NO HAY JUEGOS EN TU BIBLIOTECA.'} +
+ {!searchQuery && ( + + )} +- Importa juegos desde archivos ROM en un directorio local -
-+ Importa juegos desde archivos ROM en un directorio local +
- Ruta absoluta del directorio que contiene las ROMs -
ROMs importadas
-{result.imported}
+ {/* Import Form */} ++ Ruta absoluta del directorio que contiene las ROMs +
Errores encontrados
-ROMs importadas
+{result.imported}
+Errores encontrados
++ CONFIGURA EL DIRECTORIO DE TUS ROMS +
++ NOTA: El directorio debe ser + accesible desde el servidor backend. Asegúrate de que la ruta sea correcta y + tenga los permisos necesarios para leer los archivos. +
+