corregido errores de compilacion para next en web

This commit is contained in:
2025-06-18 12:11:05 -04:00
parent a9a5dad0dd
commit 097eb7c8a2
29 changed files with 195 additions and 145 deletions

View File

@@ -1,11 +1,16 @@
import Image from 'next/image';
export default async function Page() {
return (
// <PageContainer>
<div className="flex justify-center items-center h-full">
<img src="../logo.png" alt="Image" className="w-1/4"/>
<Image
src="/logo.png" // OJO: la ruta debe ser desde /public (sin '..')
alt="Image"
width={400} // Ajusta el tamaño según tu imagen
height={400}
className="w-1/4 h-auto" // Puedes seguir usando Tailwind para responsividad
priority // Opcional: para imágenes importantes arriba del todo
/>
</div>
// </PageContainer>
);
}