import Image from "next/image"; import Link from "next/link"; import { ArticleShell } from "@/components/articles/article-shell"; import { ArticleClipExamples } from "@/components/articles/article-clip-examples"; import { articleClipGalleries, getArticleVideoObjects } from "@/lib/article-clips"; import { getSiteUrl } from "@/lib/site"; import type { CreatorGuide } from "@/lib/creator-guides"; export function CreatorGuideArticle({ guide }: { guide: CreatorGuide }) { const gallery = articleClipGalleries[guide.post.slug]; return ( [section.id, section.heading]), ["faq", "FAQ"]]} faqs={guide.faqs} cta={guide.cta} videos={getArticleVideoObjects(guide.post.slug, getSiteUrl())}>

{guide.intro}

{guide.sections.map((section) => (

{section.heading}

{section.paragraphs.map((paragraph) =>

{paragraph}

)} {section.steps ?
    {section.steps.map((step) =>
  1. {step}
  2. )}
: null} {section.bullets ? : null} {section.table ? (
{section.table.headers.map((header) => )}{section.table.rows.map(([label, ...cells]) => {cells.map((cell) => )})}
{section.table.caption}
{header}
{label}{cell}
) : null} {gallery?.afterSection === section.id ? : null} {section.example === "editor" ? (
SupoClip caption editor showing style controls, a word-level transcript, and safe-area preview
Editor screenshot using a sample video. The caption controls and transcript sit beside the preview; open the image to inspect them at full size.
) : null} {section.links ?

{section.links.map((link) => {link.label})}

: null}
))}
); }