import { getCachedProblem } from "@/lib/prisma"; import { Skeleton } from "@/components/ui/skeleton"; import { MdxRenderer } from "@/components/content/mdx-renderer"; import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area"; interface DescriptionContentProps { id: string; } const DescriptionContent = async ({ id }: DescriptionContentProps) => { const problem = await getCachedProblem(id); return ( ); }; const DescriptionContentSkeleton = () => { return (
{/* Title skeleton */} {/* Content skeletons */} {/* Example section heading */} {/* Example content */} {/* Code block skeleton */}
{/* More content */}
); }; export { DescriptionContent, DescriptionContentSkeleton };