feat
Desc: - Fitur Detail investasi - Fitur Proses investasi - Fitur upload bukti trnsfer # No issue
This commit is contained in:
19
src/app_modules/investasi/upload_bukti/layout.tsx
Normal file
19
src/app_modules/investasi/upload_bukti/layout.tsx
Normal 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 LayoutBuktiTransferInvestasi({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<AppShell header={<HeaderTamplate title="Upload Bukti Transfer" />}>
|
||||
{children}
|
||||
</AppShell>
|
||||
</>
|
||||
);
|
||||
}
|
||||
29
src/app_modules/investasi/upload_bukti/view.tsx
Normal file
29
src/app_modules/investasi/upload_bukti/view.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
"use client"
|
||||
|
||||
import { Warna } from "@/app/lib/warna"
|
||||
import { Button, CopyButton, Grid, Group, Text } from "@mantine/core"
|
||||
|
||||
export default function UploadBuktiTransferInvestasi(){
|
||||
return<>
|
||||
<Grid align="center">
|
||||
<Grid.Col span={"auto"}>
|
||||
|
||||
<Text>Rekening</Text>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
|
||||
<Text>908765467897654567</Text>
|
||||
</Grid.Col>
|
||||
<Grid.Col span={"auto"}>
|
||||
|
||||
<CopyButton value="908765467897654567">
|
||||
{({ copied, copy }) => (
|
||||
<Button compact radius={50} color={copied ? 'teal' : 'blue'} onClick={copy}>
|
||||
{copied ? 'Copied url' : 'Copy url'}
|
||||
</Button>
|
||||
)}
|
||||
</CopyButton>
|
||||
</Grid.Col>
|
||||
</Grid>
|
||||
</>
|
||||
}
|
||||
Reference in New Issue
Block a user