Desc: - Fitur Detail investasi - Fitur Proses investasi - Fitur upload bukti trnsfer # No issue
42 lines
1.1 KiB
TypeScript
42 lines
1.1 KiB
TypeScript
"use client";
|
|
|
|
import HeaderTamplate from "@/app_modules/component/header_tamplate";
|
|
import { ActionIcon, AppShell, Group, Header, Text } from "@mantine/core";
|
|
import { IconArrowLeft, IconEdit } from "@tabler/icons-react";
|
|
import { useRouter } from "next/navigation";
|
|
import { title } from "process";
|
|
import React from "react";
|
|
|
|
export default function LayoutDetailInvestasi({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
const router = useRouter();
|
|
return (
|
|
<>
|
|
<AppShell
|
|
header={
|
|
<Header height={50}>
|
|
<Group h={50} position="apart" px={"md"}>
|
|
<ActionIcon variant="transparent" onClick={() => {
|
|
router.back()
|
|
}}>
|
|
<IconArrowLeft />
|
|
</ActionIcon>
|
|
<Text>Detail Investasi</Text>
|
|
<ActionIcon variant="transparent" disabled onClick={() => {
|
|
router.replace("")
|
|
}}>
|
|
{/* <IconEdit /> */}
|
|
</ActionIcon>
|
|
</Group>
|
|
</Header>
|
|
}
|
|
>
|
|
{children}
|
|
</AppShell>
|
|
</>
|
|
);
|
|
}
|