/**
 * 内容生成页面
 * 通过 iframe 加载外部页面
 */
export default function ContentGenerationPage() {
  const iframeUrl = "/api#/meeting";

  window.localStorage.setItem("geeker-user", '{"token":"123","userInfo":{"name":"xteam"},"loginFrom":null,"loginData":null}');

  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"
	  style={{marginLeft: "-220px",
		  marginTop: "-66px",
	          width: "calc(100% + 233px)",
		  height: "calc(100% + 108px)"
	  }}
        />
      </div>
    </div>
  );
}
