diff --git a/components/blog-card.tsx b/components/blog-card.tsx index edb7c15..045a64d 100644 --- a/components/blog-card.tsx +++ b/components/blog-card.tsx @@ -16,23 +16,19 @@ interface BlogCardProps { post: BlogPost } -// Conditionally set BASE_PATH depending on environment const BASE_PATH = process.env.NODE_ENV === "production" ? "/StableViewpoints" : "" export default function BlogCard({ post }: BlogCardProps) { - - return ( - -
- {/* Featured Star - Discrete yellow star in top right */} + +
+ {post.featured && (
)} - {/* Image - Golden ratio aspect ratio (φ:1 ≈ 1.618:1) */}
{post.title}
- {/* Content */} -
+

{post.title}

{post.excerpt}

- {/* Meta */} -
+
{post.author}