Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e837c55de8 | ||
|
|
4994d063eb | ||
|
|
a974e738eb | ||
|
|
15483e7a5b | ||
|
|
a4dd1c444a | ||
|
|
a3913ce457 | ||
|
|
503d714ea4 | ||
|
|
afd6991519 |
No files matched your search
@@ -37,11 +37,16 @@ export function PromoTile({ category, className = "" }: { category: Category; cl
|
|||||||
href={`/catalog?category=${encodeURIComponent(category.name)}`}
|
href={`/catalog?category=${encodeURIComponent(category.name)}`}
|
||||||
className={cn(`group relative min-h-64 overflow-hidden rounded-[2rem] ${content.color} shadow-sm ring-1 ring-slate-900/5`, className)}
|
className={cn(`group relative min-h-64 overflow-hidden rounded-[2rem] ${content.color} shadow-sm ring-1 ring-slate-900/5`, className)}
|
||||||
>
|
>
|
||||||
|
{/* Patron real de Walmart (confirmado con referencia del usuario):
|
||||||
|
la foto NO cubre la tarjeta completa -- flota, contenida, sobre
|
||||||
|
el fondo pastel solido, igual que las tarjetas sin foto. Un
|
||||||
|
intento anterior con la foto a pantalla completa + una franja
|
||||||
|
de degradado abajo para el texto quedaba desconectado del resto
|
||||||
|
de tarjetas solidas, reportado en produccion. */}
|
||||||
{content.image && (
|
{content.image && (
|
||||||
<>
|
<div className="absolute inset-x-6 top-6 bottom-24">
|
||||||
<Image src={content.image} alt={category.name} fill sizes="(max-width: 640px) 100vw, (max-width: 1024px) 33vw, 16vw" className="object-cover transition duration-500 group-hover:scale-105" />
|
<Image src={content.image} alt="" fill sizes="(max-width: 640px) 45vw, (max-width: 1024px) 25vw, 14vw" className="object-contain object-top drop-shadow-xl transition duration-500 group-hover:scale-105" />
|
||||||
<div className="absolute inset-x-0 bottom-0 h-2/5 bg-gradient-to-t from-white/95 via-white/70 to-transparent" />
|
</div>
|
||||||
</>
|
|
||||||
)}
|
)}
|
||||||
<div className="absolute inset-x-0 bottom-0 flex items-end justify-between p-6 text-slate-900">
|
<div className="absolute inset-x-0 bottom-0 flex items-end justify-between p-6 text-slate-900">
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ export function HeroCarousel() {
|
|||||||
}, [reduceMotion]);
|
}, [reduceMotion]);
|
||||||
|
|
||||||
const slide = slides[index];
|
const slide = slides[index];
|
||||||
|
if (!slide) return null;
|
||||||
const Icon = slide.icon;
|
const Icon = slide.icon;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ spec:
|
|||||||
runAsUser: 1001
|
runAsUser: 1001
|
||||||
containers:
|
containers:
|
||||||
- name: app
|
- name: app
|
||||||
image: gitea.cruzcloud.net/devops/ecommerce-frontend:v1.0.197
|
image: gitea.cruzcloud.net/devops/ecommerce-frontend:v1.0.200
|
||||||
env:
|
env:
|
||||||
- name: HEADLESS_PROVIDER
|
- name: HEADLESS_PROVIDER
|
||||||
value: medusa
|
value: medusa
|
||||||
|
|||||||
Reference in new issue
Block a user