2
This commit is contained in:
@@ -816,7 +816,7 @@ export default function ContentViewTemplate({ content, loading, onBack }: Conten
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Main Content Card */}
|
{/* Main Content Card */}
|
||||||
<div className="bg-white dark:bg-gray-800 overflow-hidden">
|
<div className="overflow-hidden">
|
||||||
{/* Header Section */}
|
{/* Header Section */}
|
||||||
<div className="bg-gradient-to-r from-brand-500 to-brand-600 px-8 py-6 text-white">
|
<div className="bg-gradient-to-r from-brand-500 to-brand-600 px-8 py-6 text-white">
|
||||||
<div className="flex items-start justify-between gap-4">
|
<div className="flex items-start justify-between gap-4">
|
||||||
@@ -1111,7 +1111,7 @@ export default function ContentViewTemplate({ content, loading, onBack }: Conten
|
|||||||
|
|
||||||
{/* Featured Image */}
|
{/* Featured Image */}
|
||||||
{shouldShowFeaturedBlock && (
|
{shouldShowFeaturedBlock && (
|
||||||
<div className="px-8 pt-8">
|
<div className="mb-12 max-w-[800px] mx-auto">
|
||||||
<FeaturedImageBlock image={resolvedFeaturedImage} loading={imagesLoading} />
|
<FeaturedImageBlock image={resolvedFeaturedImage} loading={imagesLoading} />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
@@ -1125,7 +1125,6 @@ export default function ContentViewTemplate({ content, loading, onBack }: Conten
|
|||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Article Body */}
|
{/* Article Body */}
|
||||||
<div className="px-8 pb-10 pt-10">
|
|
||||||
<ArticleBody
|
<ArticleBody
|
||||||
introHtml={parsedArticle.introHtml}
|
introHtml={parsedArticle.introHtml}
|
||||||
sections={parsedArticle.sections}
|
sections={parsedArticle.sections}
|
||||||
@@ -1133,7 +1132,6 @@ export default function ContentViewTemplate({ content, loading, onBack }: Conten
|
|||||||
imagesLoading={imagesLoading}
|
imagesLoading={imagesLoading}
|
||||||
rawHtml={content.content_html}
|
rawHtml={content.content_html}
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
|
|
||||||
{/* Metadata JSON (Collapsible) */}
|
{/* Metadata JSON (Collapsible) */}
|
||||||
{content.metadata && Object.keys(content.metadata).length > 0 && (
|
{content.metadata && Object.keys(content.metadata).length > 0 && (
|
||||||
|
|||||||
Reference in New Issue
Block a user