From 8f930d901224db1437fa17f7bc44bcb4a2ff226f Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 10 Jun 2026 10:41:27 +0000 Subject: [PATCH] Update src/components/sections/blog/BlogArticle.tsx --- src/components/sections/blog/BlogArticle.tsx | 91 -------------------- 1 file changed, 91 deletions(-) diff --git a/src/components/sections/blog/BlogArticle.tsx b/src/components/sections/blog/BlogArticle.tsx index 9a2175e..e69de29 100644 --- a/src/components/sections/blog/BlogArticle.tsx +++ b/src/components/sections/blog/BlogArticle.tsx @@ -1,91 +0,0 @@ -import ScrollReveal from "@/components/ui/ScrollReveal"; -import ImageOrVideo from "@/components/ui/ImageOrVideo"; - -type BlogArticleProps = { - category: string; - title: string; - excerpt?: string; - content: string; - imageSrc: string; - authorName: string; - authorImageSrc: string; - date: string; - readingTime?: string; - backButton?: { text: string; href: string }; -}; - -const BlogArticle = ({ - category, - title, - excerpt, - content, - imageSrc, - authorName, - authorImageSrc, - date, - readingTime, - backButton = { text: "Back to Blog", href: "/blog" }, -}: BlogArticleProps) => { - return ( -
-
- -
-
- - {backButton.text} - - / - {category} -
- -

- {title} -

- - {excerpt && ( -

- {excerpt} -

- )} - -
- -
- {authorName} - - {date} - {readingTime && ` ยท ${readingTime}`} - -
-
-
-
- - -
- -
-
- - -
- -
-
- ); -}; - -export default BlogArticle;