/**
 * 内容生成页面
 * 通过 iframe 加载外部页面
 */
export default function ContentGenerationPage() {
  const iframeUrl = "http://192.168.0.8:3000";

  return (
    <div className="h-full w-full flex flex-col">
      <div className="flex items-center justify-between mb-4">
        <h1 className="text-xl font-bold">内容生成</h1>
      </div>
      <div className="flex-1 border rounded-lg overflow-hidden">
        <iframe
          src={iframeUrl}
          className="w-full h-full border-0"
          title="内容生成"
          sandbox="allow-same-origin allow-scripts allow-popups allow-forms allow-downloads"
        />
      </div>
    </div>
  );
}
