Add: - api-client/api-job: kumpulan fetch api Fix: - UI beranda , status sudah terintergrasi dengan API - UI detail status, detail utama sudah terintergrasi dengan API - Search pada beranda sudah terintegrasi - Edit sudah terintergrasi ### No Issue
35 lines
875 B
TypeScript
35 lines
875 B
TypeScript
import {
|
|
BaseBox,
|
|
StackCustom,
|
|
DummyLandscapeImage,
|
|
TextCustom,
|
|
} from "@/components";
|
|
|
|
export default function Job_BoxDetailSection({ data }: { data: any }) {
|
|
return (
|
|
<>
|
|
<BaseBox>
|
|
<StackCustom gap={"lg"}>
|
|
{data && data.imageId && (
|
|
<DummyLandscapeImage imageId={data?.imageId} />
|
|
)}
|
|
|
|
<TextCustom align="center" bold size="large">
|
|
{data?.title || "-"}
|
|
</TextCustom>
|
|
|
|
<StackCustom gap={"sm"}>
|
|
<TextCustom bold>Syarat & Ketentuan :</TextCustom>
|
|
<TextCustom>{data?.content || "-"}</TextCustom>
|
|
</StackCustom>
|
|
|
|
<StackCustom gap={"sm"}>
|
|
<TextCustom bold>Deskripsi :</TextCustom>
|
|
<TextCustom>{data?.deskripsi || "-"}</TextCustom>
|
|
</StackCustom>
|
|
</StackCustom>
|
|
</BaseBox>
|
|
</>
|
|
);
|
|
}
|