feat: update CMS service handlers and main application logic.

This commit is contained in:
2025-12-22 13:54:35 -03:00
parent 57b8d7c0a1
commit 32f71852d9
59 changed files with 9125 additions and 59 deletions
@@ -0,0 +1,26 @@
"use client";
interface DescriptionPlayerProps {
id: string;
title?: string;
content: string;
}
export default function DescriptionPlayer({ id, title, content }: DescriptionPlayerProps) {
return (
<div className="space-y-8" id={id}>
<div className="space-y-2">
<h3 className="text-xl font-bold border-l-4 border-blue-500 pl-4 py-1 tracking-tight text-white uppercase tracking-widest text-[10px]">
{title || "Overview"}
</h3>
</div>
<div className="prose prose-invert prose-lg max-w-none">
{/* We can use a markdown parser here later if desired, for now simple multiline text */}
<div className="text-gray-300 leading-relaxed whitespace-pre-wrap font-medium">
{content}
</div>
</div>
</div>
);
}