import { Bot } from "lucide-react";
import IconBox from "../components/IconBox";

export default function PlaceholderWindow({ title, route }) {
  return (
    <div className="p-5">
      <div className="panel grid min-h-[520px] place-items-center text-center">
        <div className="max-w-[360px]">
          <IconBox icon={Bot} strong />
          <h2 className="mt-5 text-[24px] font-extrabold">{title}</h2>
          <p className="mt-3 text-[13px] leading-6 text-muted">
            当前二级窗口先按需求保留占位内容。路由为 <span className="font-mono text-primary">{route}</span>，后续可接入独立业务表单或详情渲染。
          </p>
        </div>
      </div>
    </div>
  );
}
