Cambio banner

This commit is contained in:
jalvarado
2025-04-07 15:54:26 -06:00
parent 4ef87790e2
commit 8506d8c018
5 changed files with 26 additions and 16 deletions
+4 -12
View File
@@ -13,11 +13,7 @@ export default function Carousel({
id = 'carouselExample',
images = [
{
src: '/banner1.png',
alt: 'Imagen de ejemplo',
},
{
src: '/banner2.png',
src: '/feriasex.jpg',
alt: 'Imagen de ejemplo',
},
],
@@ -36,14 +32,10 @@ export default function Carousel({
>
<Image
src={img.src}
width={1000}
height={400}
width={1600}
height={535}
alt="Ejemplo de banner"
className="d-block w-100 rounded-3"
style={{
objectFit: 'cover',
objectPosition: 'center',
}}
className="d-block w-100 rounded-3 img-fluid"
/>
</div>
))}
+7 -2
View File
@@ -38,7 +38,7 @@ export default function FormularioCard({
width={400}
height={300}
className="img"
src="/banner1.png"
src="/feriasex.jpg"
alt="Banner formulario"
/>
<div className="card-caption">{cuestionario.nombre_form}</div>
@@ -63,7 +63,12 @@ export default function FormularioCard({
)}
</p>
{button_message && (
<Button onClick={() => router.push(link)} outline className='mt-3 w-100 py-1 rounded' variant='primary'>
<Button
onClick={() => router.push(link)}
outline
className="mt-3 w-100 py-1 rounded"
variant="primary"
>
{button_message}
</Button>
)}