Invesment

Fix:
- tampilan list data bada beranda dan detail data main

### No Issue
This commit is contained in:
2025-10-01 16:45:23 +08:00
parent 250b216a54
commit c2acb97a37
12 changed files with 190 additions and 72 deletions

View File

@@ -1,13 +1,13 @@
import { BaseBox, StackCustom, TextCustom, ProgressCustom } from "@/components";
export default function Invesment_BoxProgressSection({status}: {status: string}) {
export default function Invesment_BoxProgressSection({progress, status}: {progress: number, status: string}) {
return (
<>
{status === "publish" && (
<BaseBox>
<StackCustom>
<TextCustom bold>Progress Saham</TextCustom>
<ProgressCustom value={70} size="lg" />
<ProgressCustom label={progress + "%"} value={progress} size="lg" />
</StackCustom>
</BaseBox>
)}