Desc:
- Fitur transaksi investasi
- Fitur hitung mundur setelah transaksi
- Fitur status transaksi
- #No issue
This commit is contained in:
2023-10-30 17:39:36 +08:00
parent 8709e1aa46
commit cc4276b596
34 changed files with 622 additions and 100 deletions

View File

@@ -0,0 +1,19 @@
"use client";
import HeaderTamplate from "@/app_modules/component/header_tamplate";
import { AppShell } from "@mantine/core";
import React from "react";
export default function Admin_LayoutStatusTransferInvesatasi({
children,
}: {
children: React.ReactNode;
}) {
return (
<>
<AppShell header={<HeaderTamplate title="Status Transfer" />}>
{children}
</AppShell>
</>
);
}

View File

@@ -0,0 +1,58 @@
"use client";
import { Warna } from "@/app/lib/warna";
import {
AspectRatio,
Avatar,
Button,
Center,
Group,
Image,
Select,
Stack,
Text,
Title,
} from "@mantine/core";
import { useRouter } from "next/navigation";
export default function Admin_StatusTransferInvesatasi() {
const router = useRouter();
return (
<>
<Stack>
<Group>
<Avatar variant="outline" radius={50} />
<Text>Username</Text>
</Group>
<Select
label="Status investor"
data={[
{ value: "1", label: "Sudah Transfer" },
{ value: "2", label: "Menunggu Transfer" },
]}
/>
<Center>
<AspectRatio ratio={1 / 1} bg={"blue"} h={400} w={250}>
<Image alt="" height={400} w={200} src={"/aset/no-img.png"} />
</AspectRatio>
</Center>
<Center mt={"lg"}>
<Button
w={300}
radius={50}
bg={Warna.biru}
color="blue"
onClick={() => {
router.back();
}}
>
Simpan
</Button>
</Center>
</Stack>
</>
);
}