From 7a7ec6e45b948fec0f9c3b18da3d04ffaf7c002c Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 28 Feb 2026 20:29:52 +0000 Subject: [PATCH] Revert layout changes to homepage hero and side cards Revert the aspect ratio of HeroCard and GalleryHeroCard back to 16/9 and update SideCard to use the 4/3 aspect ratio with reduced content. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 413891e8-d784-4bea-b9f5-91a5a68316b4 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 5b1201ea-730d-4283-9368-8cc9676f53e5 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/413891e8-d784-4bea-b9f5-91a5a68316b4/nTLKCC5 Replit-Helium-Checkpoint-Created: true --- client/src/pages/home.tsx | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index e4f0714..0f57d43 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -43,7 +43,7 @@ function HeroCard({ article }: { article: Article }) { return (
-
+
{article.title} {isVideo && (
@@ -78,7 +78,7 @@ function GalleryHeroCard({ images }: { images: GalleryImage[] }) { return (
-
+
{images[idx].fileName}
@@ -137,23 +137,18 @@ function SideCard({ article }: { article: Article }) {
- {article.title} + {article.title}
{isVideo && (
-
- +
+
)}
-
-
- {article.author} - {timeAgo(new Date(article.publishedAt))} -
-

{article.title}

-

{article.excerpt}

+
+

{article.title}

@@ -240,7 +235,7 @@ function FeaturedCarousel({ articles, popular, galleryImages }: { articles: Arti return (
setPaused(true)} onMouseLeave={() => setPaused(false)}>
-
+
{isGalleryPage && galleryImages ? ( ) : hero ? ( @@ -248,7 +243,7 @@ function FeaturedCarousel({ articles, popular, galleryImages }: { articles: Arti ) : null}
{!wide && ( -
+
{side.map((a) => ( ))}