You've already forked DataMate
feat: add showTime prop to DevelopmentInProgress component across multiple pages
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
import { Button } from "antd";
|
||||
|
||||
const DevelopmentInProgress = ({ showHome = true }) => {
|
||||
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>
|
||||
<p className="mt-4">
|
||||
为了给您带来更好的体验,我们计划<b>2025.10.30</b>
|
||||
开放此功能
|
||||
</p>
|
||||
{showTime && (
|
||||
<p className="mt-4">
|
||||
为了给您带来更好的体验,我们计划<b>{showTime}</b>
|
||||
开放此功能
|
||||
</p>
|
||||
)}
|
||||
{showHome && (
|
||||
<Button
|
||||
type="primary"
|
||||
|
||||
Reference in New Issue
Block a user