diff --git a/attached_assets/image_1772476309956.png b/attached_assets/image_1772476309956.png new file mode 100644 index 0000000..0b88fee Binary files /dev/null and b/attached_assets/image_1772476309956.png differ diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index 0cb589a..a4b7948 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -214,6 +214,41 @@ function WideCard({ article, focalPoints }: { article: Article; focalPoints?: Re ); } +function WideCardClassic({ article, focalPoints }: { article: Article; focalPoints?: Record }) { + const isVideo = article.category === "Video"; + const objPos = getObjectPosition(article.coverImage, focalPoints); + return ( + +
+
+
+ {article.title} +
+ {isVideo && ( +
+
+ +
+
+ )} +
+
+
+ {article.author} + {timeAgo(new Date(article.publishedAt))} +
+

{article.title}

+

{article.excerpt}

+
+ + {article.views.toLocaleString()} +
+
+
+ + ); +} + function BlogCard({ article, focalPoints }: { article: Article; focalPoints?: Record }) { const isVideo = article.category === "Video"; const objPos = getObjectPosition(article.coverImage, focalPoints); @@ -608,8 +643,8 @@ export default function Home() { )} {ri === gridRows.length - 1 && widePickedArticles.length > 0 && (
- - {widePickedArticles[1] && } + + {widePickedArticles[1] && }
)}