feat(ui): new CertificateList UI using antd

This commit is contained in:
Fu Diwei
2024-12-05 21:52:27 +08:00
parent c522196029
commit 65d9c6fe2f
13 changed files with 216 additions and 56 deletions

View File

@@ -38,7 +38,7 @@ const Dashboard = () => {
<div className="flex items-baseline">
<div className="text-3xl text-stone-700 dark:text-stone-200">
{statistic?.certificateTotal ? (
<Link to="/certificate" className="hover:underline">
<Link to="/certificates" className="hover:underline">
{statistic?.certificateTotal}
</Link>
) : (
@@ -59,7 +59,7 @@ const Dashboard = () => {
<div className="flex items-baseline">
<div className="text-3xl text-stone-700 dark:text-stone-200">
{statistic?.certificateExpireSoon ? (
<Link to="/certificate?state=expireSoon" className="hover:underline">
<Link to="/certificates?state=expireSoon" className="hover:underline">
{statistic?.certificateExpireSoon}
</Link>
) : (
@@ -80,7 +80,7 @@ const Dashboard = () => {
<div className="flex items-baseline">
<div className="text-3xl text-stone-700 dark:text-stone-200">
{statistic?.certificateExpired ? (
<Link to="/certificate?state=expired" className="hover:underline">
<Link to="/certificates?state=expired" className="hover:underline">
{statistic?.certificateExpired}
</Link>
) : (