Files
DataMate/frontend/src/components/DevelopmentInProgress.tsx
chenghh-9609 e8e2c1a96b refactor: 修复标签管理功能、优化数据选择项显示、屏蔽开发中功能 (#12)
* refactor: clean up tag management and dataset handling, update API endpoints

* feat: add showTime prop to DevelopmentInProgress component across multiple pages

* refactor: update component styles and improve layout with new utility classes
2025-10-22 16:09:03 +08:00

29 lines
751 B
TypeScript

import { Button } from "antd";
const DevelopmentInProgress = ({ showHome = true, showTime = "" }) => {
return (
<div className="mt-40 flex flex-col items-center justify-center">
<div className="hero-icon">🚧</div>
<h1 className="text-2xl font-bold"></h1>
{showTime && (
<p className="mt-4">
<b>{showTime}</b>
</p>
)}
{showHome && (
<Button
type="primary"
className="mt-6"
onClick={() => {
window.location.href = "/";
}}
>
</Button>
)}
</div>
);
};
export default DevelopmentInProgress;