diff --git a/public/banner.jpeg b/public/banner.jpeg new file mode 100644 index 0000000..b99380a Binary files /dev/null and b/public/banner.jpeg differ diff --git a/src/app/(public)/page.tsx b/src/app/(public)/page.tsx index 060bb2c..444e2ac 100644 --- a/src/app/(public)/page.tsx +++ b/src/app/(public)/page.tsx @@ -15,12 +15,10 @@ export default function Page() {
({ - src: item.banner - ? `${process.env.NEXT_PUBLIC_API_URL}/banners/${item.banner}` - : '/default-banner.jpg', - alt: item.nombre_evento, - }))} + images={[{ + src: '/banner.jpeg', + alt: 'Banner de eventos activos', + }]} />
{loading &&
Cargando...
} diff --git a/src/containers/edit-formulario.tsx b/src/containers/edit-formulario.tsx index fb04fe5..bed9a48 100644 --- a/src/containers/edit-formulario.tsx +++ b/src/containers/edit-formulario.tsx @@ -109,7 +109,7 @@ export default function EditFormulario({ const texto = value || ''; if (texto.length <= 500) { handleChange( - 'descripcion_evento' as keyof GetCuestionario, + 'descripcion' as keyof GetCuestionario, texto ); }