interface ExperimentTitleProps { title: string; description: string; } export default function ExperimentTitle({ title, description, }: ExperimentTitleProps) { return ( <> {/* 标题 */}
{/* 主标题容器 */}
{/* 主标题 */}

{title}

{/* 副标题 */}

{description}

{/* 使用 SVG 绘制更精确的装饰线 */} {/* 左侧水平线 */} {/* 斜线(从左到右,向下倾斜)*/} {/* 右侧水平线(与左侧在同一高度)*/}
); }