post cards overlay enhancements
This commit is contained in:
@@ -222,7 +222,10 @@ function CoverSlide({
|
|||||||
className="object-cover"
|
className="object-cover"
|
||||||
unoptimized
|
unoptimized
|
||||||
/>
|
/>
|
||||||
<div className="absolute inset-0 bg-gradient-to-t from-black/85 via-black/40 to-black/10" />
|
{/* Heavier overlay — title + description sit over the bottom
|
||||||
|
two-thirds, so we push the via stop to 65% and bump the
|
||||||
|
base opacity for stronger contrast. */}
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-t from-black/95 via-black/65 via-65% to-black/20" />
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<div className="absolute inset-0" style={quoteCardBgStyle()} />
|
<div className="absolute inset-0" style={quoteCardBgStyle()} />
|
||||||
|
|||||||
@@ -73,8 +73,10 @@ export function PostGridCard({
|
|||||||
unoptimized
|
unoptimized
|
||||||
/>
|
/>
|
||||||
{/* Bottom-up gradient for caption legibility — keeps the image
|
{/* Bottom-up gradient for caption legibility — keeps the image
|
||||||
visible up top while text sits over solid darkness below. */}
|
visible up top while text sits over solid darkness below.
|
||||||
<div className="absolute inset-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent" />
|
Stronger base + via stop pushed to 65% so roughly two-thirds
|
||||||
|
of the card is in the dark zone. */}
|
||||||
|
<div className="absolute inset-0 bg-gradient-to-t from-black/95 via-black/65 via-65% to-transparent" />
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<div className="absolute inset-0" style={quoteCardBgStyle()} />
|
<div className="absolute inset-0" style={quoteCardBgStyle()} />
|
||||||
|
|||||||
Reference in New Issue
Block a user