feat: add showTime prop to DevelopmentInProgress component across multiple pages

This commit is contained in:
chenghh-9609
2025-10-22 15:19:24 +08:00
parent b9a7e7a0a9
commit f17e82a3cc
13 changed files with 55 additions and 57 deletions

View File

@@ -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"