diff --git a/web/src/components/ArticleCard.tsx b/web/src/components/ArticleCard.tsx index 1e31f58..bda4766 100644 --- a/web/src/components/ArticleCard.tsx +++ b/web/src/components/ArticleCard.tsx @@ -63,7 +63,7 @@ export function ArticleCard({ article, onClick, onToggleRead, onToggleFavorite } }; return ( -
+
{/* Action Layers behind the card */}
{/* Left side swipe (Mark as Read) */} @@ -92,10 +92,10 @@ export function ArticleCard({ article, onClick, onToggleRead, onToggleFavorite } {/* Main Interactive Card */}
!isSwiping && Math.abs(swipeOffset) < 5 && onClick(article)} > @@ -122,7 +122,7 @@ export function ArticleCard({ article, onClick, onToggleRead, onToggleFavorite } )} {/* Image Placeholder with Gradient Overlay */} -
+
{/* Visual placeholder or real image */} @@ -143,27 +143,26 @@ export function ArticleCard({ article, onClick, onToggleRead, onToggleFavorite }
{/* Content */} -
-

+

{article.title}

{article.ai_summary ? ( -
- ✨ +
+ ✨

{article.ai_summary}

) : article.summary && ( -

+

{article.summary.replace(/<[^>]*>?/gm, '').substring(0, 160)}...

)} -
+