Invesment

Add:
- screens/Invesment/ComponentBoxOnBottomDetail.tsx
- screens/Invesment/ButtonInvestasiSection.tsx
- app/(application)/(user)/investment/[id]/investor.tsx
- app/(application)/(user)/investment/[id]/(news)/list-of-news.tsx

Fix:
- screens/Invesment/BoxDetailDataSection.tsx
- app/(application)/(user)/investment/[id]/[status]/detail.tsx
- app/(application)/(user)/_layout.tsx

## No Issue
This commit is contained in:
2025-07-31 14:47:40 +08:00
parent 54fc2a3d02
commit 7205cb0736
8 changed files with 259 additions and 60 deletions

View File

@@ -0,0 +1,17 @@
import { ButtonCustom } from "@/components";
export default function Investment_ButtonInvestasiSection({
isMine,
}: {
isMine: boolean;
}) {
return (
<>
{isMine ? (
<ButtonCustom>Beli Saham</ButtonCustom>
) : (
<ButtonCustom disabled>Investasi Ini Milik Anda</ButtonCustom>
)}
</>
);
}