Merge pull request 'feat: tecto horas agregado a carta' (#34) from develop into master
Reviewed-on: #34
This commit was merged in pull request #34.
This commit is contained in:
@@ -47,8 +47,8 @@ export default function FormularioCardUser({
|
||||
const imgSrc = formulario.banner
|
||||
? `${process.env.NEXT_PUBLIC_API_URL}/banners/${formulario.banner}`
|
||||
: evento.banner
|
||||
? `${process.env.NEXT_PUBLIC_API_URL}/banners/${evento.banner}`
|
||||
: `/default-banner.png`;
|
||||
? `${process.env.NEXT_PUBLIC_API_URL}/banners/${evento.banner}`
|
||||
: `/default-banner.png`;
|
||||
|
||||
return (
|
||||
<div
|
||||
@@ -143,7 +143,7 @@ export default function FormularioCardUser({
|
||||
<div className="row mb-3">
|
||||
{/* Columna de horario - solo visible si es el mismo día */}
|
||||
{esElMismoDia && (
|
||||
<div className="col-6">
|
||||
<div className="col-7">
|
||||
<div
|
||||
className={`py-2 px-3 rounded ${
|
||||
sinCupos ? 'bg-primary-subtle' : 'bg-light'
|
||||
@@ -154,7 +154,7 @@ export default function FormularioCardUser({
|
||||
<div>
|
||||
<small className="text-muted d-block">Horario</small>
|
||||
<span className={`fw-semibold text-azul`}>
|
||||
{horarioFormateado}
|
||||
{horarioFormateado} horas.
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -162,7 +162,7 @@ export default function FormularioCardUser({
|
||||
</div>
|
||||
)}
|
||||
{/* Columna de cupos - siempre visible */}
|
||||
<div className={esElMismoDia ? 'col-6' : 'col-12'}>
|
||||
<div className={esElMismoDia ? 'col-4' : 'col-12'}>
|
||||
<div
|
||||
className={`py-2 px-3 rounded ${
|
||||
sinCupos ? 'bg-primary-subtle' : 'bg-light'
|
||||
|
||||
Reference in New Issue
Block a user