fix: post reshare and audio player enhancements

This commit is contained in:
gosangam
2026-06-03 14:41:34 +05:30
parent ddc6d3c7bf
commit 48dd450a15
5 changed files with 266 additions and 87 deletions
+5 -4
View File
@@ -222,10 +222,11 @@ function CoverSlide({
className="object-cover"
unoptimized
/>
{/* 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-linear-to-t from-black/95 via-black/70 to-black/40" />
{/* Light scrim — enough darkness at the bottom for the title
and post-count line to read, but the top stays close to
the original image so the cover photo isn't muted into a
near-black plate. */}
<div className="absolute inset-0 bg-linear-to-t from-black/75 via-black/40 to-black/15" />
</>
) : (
<div className="absolute inset-0" style={quoteCardBgStyle()} />