Compare commits
10
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
229999fa5a | ||
|
|
8e0053ab84 | ||
|
|
e837c55de8 | ||
|
|
4994d063eb | ||
|
|
a974e738eb | ||
|
|
15483e7a5b | ||
|
|
a4dd1c444a | ||
|
|
a3913ce457 | ||
|
|
503d714ea4 | ||
|
|
afd6991519 |
No files matched your search
@@ -37,11 +37,15 @@ 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 Walmart: foto recortada (object-cover) llenando casi toda
|
||||||
|
la tarjeta, con solo un margen delgado del pastel como marco --
|
||||||
|
no flotando chica con espacio muerto alrededor (object-contain,
|
||||||
|
intento anterior, reportado como "no aprovecha el espacio"), ni
|
||||||
|
a pantalla completa sin marco (el intento antes de ese). */}
|
||||||
{content.image && (
|
{content.image && (
|
||||||
<>
|
<div className="absolute inset-3 bottom-24 overflow-hidden rounded-2xl">
|
||||||
<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-cover 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.201
|
||||||
env:
|
env:
|
||||||
- name: HEADLESS_PROVIDER
|
- name: HEADLESS_PROVIDER
|
||||||
value: medusa
|
value: medusa
|
||||||
|
|||||||
Reference in new issue
Block a user