post cards overlay enhancements
This commit is contained in:
@@ -222,10 +222,10 @@ function CoverSlide({
|
||||
className="object-cover"
|
||||
unoptimized
|
||||
/>
|
||||
{/* 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" />
|
||||
{/* Full-coverage scrim — even the top carries ~40% black so the
|
||||
badge and any white text overlaid up there stay readable
|
||||
without looking blended with the cover image. */}
|
||||
<div className="absolute inset-0 bg-gradient-to-t from-black/95 via-black/70 to-black/40" />
|
||||
</>
|
||||
) : (
|
||||
<div className="absolute inset-0" style={quoteCardBgStyle()} />
|
||||
|
||||
Reference in New Issue
Block a user