feat: update news detail content structure and enhance styling for improved readability

This commit is contained in:
fredy.siswanto
2025-02-24 20:36:43 +07:00
parent 1cd5b0e848
commit 877921b9f6
3 changed files with 34 additions and 35 deletions
+6 -2
View File
@@ -40,11 +40,15 @@ export const NewsDetailPage = () => {
<img
src={featured}
alt={title}
className="object-center"
className="h-[600px] w-full object-cover object-center"
/>
</div>
<article className="prose prose-stone">{htmlParse(content)}</article>
<div className="mt-8 flex items-center justify-center">
<article className="prose prose-stone">
{htmlParse(content)}
</article>
</div>
<div className="flex items-end justify-between border-b-3 border-b-gray-300 py-4">
<div className="flex flex-col">
<p className="mb-2">Share this post</p>