diff --git a/landing/app/blog/[[...slug]]/page.tsx b/landing/app/blog/[[...slug]]/page.tsx index 24f3f76ee0..920c4d04cb 100644 --- a/landing/app/blog/[[...slug]]/page.tsx +++ b/landing/app/blog/[[...slug]]/page.tsx @@ -46,9 +46,9 @@ function BlogList() { href={`/blog/${post.slugs.join("/")}`} className="group block border-b border-dashed border-foreground/[0.06] px-5 sm:px-6 lg:px-8 py-5 transition-colors hover:bg-foreground/[0.02]" > -
+
{post.data?.image && ( -
+
{post.data.title} )}
-

+

{post.data.title}

{post.data.description && ( -

+

{post.data.description}

)} -
+
{post.data.author?.name && ( <> @@ -77,20 +77,14 @@ function BlogList() { )} {formatDate(post.data.date)} - {post.data.tags && post.data.tags.length > 0 && ( - <> - · - {post.data.tags.slice(0, 3).map((tag: string) => ( - - #{tag} - - ))} - - )}
+ {post.data.tags && post.data.tags.length > 0 && ( +
+ {post.data.tags.slice(0, 3).map((tag: string) => ( + #{tag} + ))} +
+ )}
→ @@ -138,52 +132,7 @@ export default async function Page({ {/* Right panel — blog content */}
-
- {/* Header */} -

- {title} -

- {description && ( -

- {description} -

- )} - - {/* Author & date */} -
- {page.data?.author?.name && ( - - {page.data.author.name} - - )} - {page.data?.author?.twitter && ( - <> - · - - @{page.data.author.twitter} - - - )} - {date && ( - <> - · - - - )} -
- -
- +
{/* Article body */}
- {/* Mobile: just a back link */} -
- - - - - - All posts - - -
- {/* Desktop: full panel with title, meta, TOC */} -
+
-
-

+
+

{post.title}

{post.description && ( -

+

{post.description}

)}
-
+
{post.author?.name && ( {post.author.name} )} - {post.author?.name && post.date && ( - · + {post.author?.twitter && ( + <> + · + + @{post.author.twitter} + + + )} + {post.date && ( + <> + · + {formatDate(post.date)} + )} - {post.date && {formatDate(post.date)}}