Collaboration & Create Porotofolio

This commit is contained in:
2025-01-05 15:53:41 +08:00
parent 18bd4efed1
commit b1573af1b8
29 changed files with 368 additions and 214 deletions

View File

@@ -1,6 +1,7 @@
"use client";
import { NEW_RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi";
import { AccentColor, MainColor } from "@/app_modules/_global/color";
import ComponentGlobal_BoxInformation from "@/app_modules/_global/component/box_information";
import { funGlobal_DeleteFileById } from "@/app_modules/_global/fun";
import { ComponentGlobal_NotifikasiBerhasil } from "@/app_modules/_global/notif_global/notifikasi_berhasil";
@@ -119,9 +120,9 @@ export default function Investasi_ViewDetailReject({
{/* Tombol Ajukan */}
<Button
radius={"xl"}
bg={"orange.7"}
color="yellow"
style={{ backgroundColor: AccentColor.yellow }}
onClick={() => onAjukan()}
c={MainColor.darkblue}
>
Edit Kembali
</Button>
@@ -129,8 +130,8 @@ export default function Investasi_ViewDetailReject({
{/* Tombol Hapus */}
<Button
radius={"xl"}
bg={"red.7"}
color="red"
style={{ backgroundColor: MainColor.red }}
c={AccentColor.white}
onClick={() => setOpenModal(true)}
>
Hapus

View File

@@ -1,20 +1,21 @@
import { Box, Skeleton, Stack } from "@mantine/core";
import CustomSkeleton from "@/app_modules/components/CustomSkeleton";
import { Box, Stack } from "@mantine/core";
export default function SkeletonEditInvestasi() {
return (
<>
<Box>
<Stack align="center" mb={40}>
<Skeleton height={40} width={"100%"} />
<Skeleton height={300} width={"100%"} my={"xs"} />
<Skeleton height={40} width={"40%"} radius={"lg"} />
<CustomSkeleton height={40} width={"100%"} />
<CustomSkeleton height={300} width={"100%"} my={"xs"} />
<CustomSkeleton height={40} width={"40%"} radius={"lg"} />
</Stack>
<Stack align="center">
{[...Array(5)].map((_, index) => (
<Skeleton key={index} height={40} width={"100%"} my={"xs"} />
<CustomSkeleton key={index} height={40} width={"100%"} my={"xs"} />
))}
<Skeleton height={40} width={"100%"} radius={"lg"} mt={30} />
<CustomSkeleton height={40} width={"100%"} radius={"lg"} mt={30} />
</Stack>
</Box>

View File

@@ -158,8 +158,14 @@ export function Investasi_ViewEditInvestasiNew() {
<TextInput
styles={{
label: {
color: "white",
color: MainColor.white,
},
input: {
backgroundColor: MainColor.white
},
required: {
color: MainColor.red
}
}}
withAsterisk
label="Judul Investasi"
@@ -177,8 +183,14 @@ export function Investasi_ViewEditInvestasiNew() {
<TextInput
styles={{
label: {
color: "white",
color: MainColor.white,
},
input: {
backgroundColor: MainColor.white
},
required: {
color: MainColor.red
}
}}
icon={<Text fw={"bold"}>Rp.</Text>}
min={0}
@@ -213,8 +225,14 @@ export function Investasi_ViewEditInvestasiNew() {
<TextInput
styles={{
label: {
color: "white",
color: MainColor.white,
},
input: {
backgroundColor: MainColor.white
},
required: {
color: MainColor.red
}
}}
icon={<Text fw={"bold"}>Rp.</Text>}
min={0}
@@ -258,20 +276,28 @@ export function Investasi_ViewEditInvestasiNew() {
readOnly
styles={{
label: {
color: "white",
color: MainColor.white,
},
input: {
backgroundColor: "whitesmoke",
backgroundColor: MainColor.white
},
required: {
color: MainColor.red
}
}}
/>
<TextInput
styles={{
label: {
color: "white",
color: MainColor.white,
},
input: {
backgroundColor: MainColor.white
},
required: {
color: MainColor.red
}
}}
rightSection={
<Text fw={"bold"} c={"gray"}>
@@ -294,8 +320,17 @@ export function Investasi_ViewEditInvestasiNew() {
<Select
styles={{
label: {
color: "white",
color: MainColor.white,
},
input: {
backgroundColor: MainColor.white
},
required: {
color: MainColor.red
},
dropdown: {
backgroundColor: MainColor.white,
}
}}
withAsterisk
label="Pencarian Investor"
@@ -316,8 +351,17 @@ export function Investasi_ViewEditInvestasiNew() {
<Select
styles={{
label: {
color: "white",
color: MainColor.white,
},
input: {
backgroundColor: MainColor.white
},
required: {
color: MainColor.red
},
dropdown: {
backgroundColor: MainColor.white,
}
}}
withAsterisk
label="Periode Deviden"
@@ -335,8 +379,17 @@ export function Investasi_ViewEditInvestasiNew() {
<Select
styles={{
label: {
color: "white",
color: MainColor.white,
},
input: {
backgroundColor: MainColor.white
},
required: {
color: MainColor.red
},
dropdown: {
backgroundColor: MainColor.white,
}
}}
withAsterisk
label="Pembagian Deviden"