- Ganti Appshell ke tamplate buatan sendiri pada Investasi
## No Issuee
This commit is contained in:
2024-04-20 06:41:51 +08:00
parent e062632de7
commit f3e9b5efae
68 changed files with 485 additions and 129 deletions

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -0,0 +1,9 @@
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
export default async function Page() {
return (
<>
<ComponentGlobal_V2_LoadingPage/>
</>
);
}

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { ActionIcon, AppShell, Group, Header, Text } from "@mantine/core"; import { ActionIcon, AppShell, Group, Header, Text } from "@mantine/core";
import { IconArrowLeft } from "@tabler/icons-react"; import { IconArrowLeft } from "@tabler/icons-react";
@@ -14,11 +15,11 @@ export default function LayoutMainCrowd({
const router = useRouter(); const router = useRouter();
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={<ComponentGlobal_HeaderTamplate route="/dev/home" title="HIPMI Crowd Funding" />} header={<ComponentGlobal_HeaderTamplate route="/dev/home" title="HIPMI Crowd Funding" />}
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -11,6 +11,7 @@ import {
Flex, Flex,
Grid, Grid,
Image, Image,
Loader,
Paper, Paper,
Stack, Stack,
Text, Text,
@@ -19,12 +20,15 @@ import {
import { IconChevronRight } from "@tabler/icons-react"; import { IconChevronRight } from "@tabler/icons-react";
import { useAtom } from "jotai"; import { useAtom } from "jotai";
import { useRouter } from "next/navigation"; import { useRouter } from "next/navigation";
import { useState } from "react";
import toast from "react-simple-toasts"; import toast from "react-simple-toasts";
export default function MainCrowd() { export default function MainCrowd() {
const router = useRouter(); const router = useRouter();
const [changeColor, setChangeColor] = useAtom(gs_investasiFooter); const [changeColor, setChangeColor] = useAtom(gs_investasiFooter);
const [donasiHotMenu, setDonasiHotMenu] = useAtom(gs_donasi_hot_menu) const [donasiHotMenu, setDonasiHotMenu] = useAtom(gs_donasi_hot_menu);
const [loadingInv, setLoadingInv] = useState(false);
const [loadingDon, setLoadingDon] = useState(false);
return ( return (
<> <>
<Stack> <Stack>
@@ -37,10 +41,12 @@ export default function MainCrowd() {
</Paper> </Paper>
<Stack> <Stack>
<Paper <Paper
p={"xs"} shadow="lg"
p={"md"}
radius={"md"} radius={"md"}
bg={"teal"} bg={"teal.4"}
onClick={() => { onClick={() => {
setLoadingInv(true);
router.push(RouterCrowd.investasi); router.push(RouterCrowd.investasi);
setChangeColor(0); setChangeColor(0);
}} }}
@@ -49,35 +55,39 @@ export default function MainCrowd() {
<Grid.Col span={10}> <Grid.Col span={10}>
<Title order={4}> Investasi</Title> <Title order={4}> Investasi</Title>
<Text fz={12}> <Text fz={12}>
Buat investasi dan jual beli saham lebih mudah dengan pengguna lain dengan CROWD INVESTASI Buat investasi dan jual beli saham lebih mudah dengan pengguna
lain dengan CROWD INVESTASI
</Text> </Text>
</Grid.Col> </Grid.Col>
<Grid.Col span={2}> <Grid.Col span={2}>
<Stack h={"100%"} justify="center" align="center"> <Stack h={"100%"} justify="center" align="center">
<IconChevronRight /> {loadingInv ? <Loader /> : <IconChevronRight />}
</Stack> </Stack>
</Grid.Col> </Grid.Col>
</Grid> </Grid>
</Paper> </Paper>
<Paper <Paper
bg={"blue.4"} shadow="lg"
bg={"blue.3"}
radius={"md"} radius={"md"}
p={"xs"} p={"md"}
onClick={() => { onClick={() => {
router.push(RouterCrowd.donasi) setLoadingDon(true);
setDonasiHotMenu(0) router.push(RouterCrowd.donasi);
setDonasiHotMenu(0);
}} }}
> >
<Grid> <Grid>
<Grid.Col span={10}> <Grid.Col span={10}>
<Title order={4}> Donasi</Title> <Title order={4}> Donasi</Title>
<Text fz={12}> <Text fz={12}>
Berbagi info untuk berdonasi lebih luas dan lebih mudah dengan CROWD DONASI Berbagi info untuk berdonasi lebih luas dan lebih mudah dengan
CROWD DONASI
</Text> </Text>
</Grid.Col> </Grid.Col>
<Grid.Col span={2}> <Grid.Col span={2}>
<Stack h={"100%"} justify="center" align="center"> <Stack h={"100%"} justify="center" align="center">
<IconChevronRight /> {loadingDon ? <Loader /> : <IconChevronRight />}
</Stack> </Stack>
</Grid.Col> </Grid.Col>
</Grid> </Grid>

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,9 +12,9 @@ export default function LayoutBeritaInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Berita" />}> <AppComponentGlobal_LayoutTamplate header={<ComponentGlobal_HeaderTamplate title="Berita" />}>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,13 +12,13 @@ export default function InvestasiCreateLayout({
}) { }) {
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<ComponentGlobal_HeaderTamplate title="Investasi Baru" /> <ComponentGlobal_HeaderTamplate title="Investasi Baru" />
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,6 +1,7 @@
"use client"; "use client";
import { Warna } from "@/app/lib/warna"; import { Warna } from "@/app/lib/warna";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell, Button, Center, Footer } from "@mantine/core"; import { AppShell, Button, Center, Footer } from "@mantine/core";
import { IconPencilPlus } from "@tabler/icons-react"; import { IconPencilPlus } from "@tabler/icons-react";
@@ -11,15 +12,15 @@ import toast from "react-simple-toasts";
export default function LayoutCreateBeritaInvestasi({ export default function LayoutCreateBeritaInvestasi({
children, children,
idInves idInves,
}: { }: {
children: React.ReactNode; children: React.ReactNode;
idInves: string idInves: string;
}) { }) {
const router = useRouter(); const router = useRouter();
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={<ComponentGlobal_HeaderTamplate title="Buat Berita" />} header={<ComponentGlobal_HeaderTamplate title="Buat Berita" />}
// footer={ // footer={
// <Footer height={70} sx={{ borderStyle: "none" }}> // <Footer height={70} sx={{ borderStyle: "none" }}>
@@ -28,7 +29,7 @@ export default function LayoutCreateBeritaInvestasi({
// } // }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,8 +1,16 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { ActionIcon, AppShell, Group, Header, Text } from "@mantine/core"; import {
import { IconArrowLeft, IconEdit } from "@tabler/icons-react"; ActionIcon,
AppShell,
Group,
Header,
Text,
Title,
} from "@mantine/core";
import { IconArrowLeft, IconChevronLeft, IconEdit } from "@tabler/icons-react";
import { useRouter } from "next/navigation"; import { useRouter } from "next/navigation";
import { title } from "process"; import { title } from "process";
import React from "react"; import React from "react";
@@ -15,19 +23,26 @@ export default function LayoutDetailInvestasi({
const router = useRouter(); const router = useRouter();
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<Header height={50}> <Header height={50} style={{ borderStyle: "none" }}>
<Group h={50} position="apart" px={"md"}> <Group h={50} position="apart" px={"md"}>
<ActionIcon variant="transparent" onClick={() => { <ActionIcon
router.back() variant="transparent"
}}> onClick={() => {
<IconArrowLeft /> router.back();
}}
>
<IconChevronLeft />
</ActionIcon> </ActionIcon>
<Text>Detail Investasi</Text> <Title order={5}>Detail Investasi</Title>
<ActionIcon variant="transparent" disabled onClick={() => { <ActionIcon
router.replace("") variant="transparent"
}}> disabled
onClick={() => {
router.replace("");
}}
>
{/* <IconEdit /> */} {/* <IconEdit /> */}
</ActionIcon> </ActionIcon>
</Group> </Group>
@@ -35,7 +50,7 @@ export default function LayoutDetailInvestasi({
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,9 +12,9 @@ export default function LayoutDetailBeritaInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Detail Berita" />}> <AppComponentGlobal_LayoutTamplate header={<ComponentGlobal_HeaderTamplate title="Detail Berita" />}>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,9 +12,9 @@ export default function LayoutDetailDokumenInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Dokumen" />}> <AppComponentGlobal_LayoutTamplate header={<ComponentGlobal_HeaderTamplate title="Dokumen" />}>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import { IconEdit } from "@tabler/icons-react"; import { IconEdit } from "@tabler/icons-react";
@@ -14,7 +15,7 @@ export default function LayoutDetailDraftInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<ComponentGlobal_HeaderTamplate <ComponentGlobal_HeaderTamplate
title="Detail Draft" title="Detail Draft"
@@ -24,7 +25,7 @@ export default function LayoutDetailDraftInvestasi({
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client" "use client"
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate"
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate" import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"
import { AppShell } from "@mantine/core" import { AppShell } from "@mantine/core"
import React from "react" import React from "react"
@@ -7,13 +8,13 @@ import React from "react"
export default function LayoutDetailPublishInvestasi({children}: {children: React.ReactNode}){ export default function LayoutDetailPublishInvestasi({children}: {children: React.ReactNode}){
return<> return<>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<ComponentGlobal_HeaderTamplate title="Detail Publish"/> <ComponentGlobal_HeaderTamplate title="Detail Publish"/>
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import { IconEdit } from "@tabler/icons-react"; import { IconEdit } from "@tabler/icons-react";
@@ -14,7 +15,7 @@ export default function LayoutDetailRejecttInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<ComponentGlobal_HeaderTamplate <ComponentGlobal_HeaderTamplate
title="Detail Reject" title="Detail Reject"
@@ -24,7 +25,7 @@ export default function LayoutDetailRejecttInvestasi({
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,19 +1,22 @@
"use client" "use client";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate" import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import { AppShell } from "@mantine/core" import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import React from "react" import { AppShell } from "@mantine/core";
import React from "react";
export default function LayoutDetailReviewInvestasi({children}: {children: React.ReactNode}){ export default function LayoutDetailReviewInvestasi({
return<> children,
}: {
<AppShell children: React.ReactNode;
header={ }) {
<ComponentGlobal_HeaderTamplate title="Detail Review"/> return (
} <>
> <AppComponentGlobal_LayoutTamplate
header={<ComponentGlobal_HeaderTamplate title="Detail Review" />}
>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
);
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { ActionIcon, AppShell, Group, Header, Text } from "@mantine/core"; import { ActionIcon, AppShell, Group, Header, Text } from "@mantine/core";
import { IconArrowLeft } from "@tabler/icons-react"; import { IconArrowLeft } from "@tabler/icons-react";
@@ -16,9 +17,11 @@ export default function LayoutDetailProspektus({
const router = useRouter(); const router = useRouter();
return ( return (
<> <>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Prospektus" />}> <AppComponentGlobal_LayoutTamplate
header={<ComponentGlobal_HeaderTamplate title="Prospektus" />}
>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,9 +12,9 @@ export default function LayoutDetailSahamTerbeli({
}) { }) {
return ( return (
<> <>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Saham Terbeli" />}> <AppComponentGlobal_LayoutTamplate header={<ComponentGlobal_HeaderTamplate title="Saham Terbeli" />}>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,6 +1,7 @@
"use client"; "use client";
import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi"; import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import { import {
AppShell, AppShell,
CloseButton, CloseButton,
@@ -26,7 +27,7 @@ export default function LayoutDialogPageCreateInvestasi({
}, []); }, []);
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
footer={ footer={
<Footer height={80} sx={{ borderStyle: "none" }}> <Footer height={80} sx={{ borderStyle: "none" }}>
<Group spacing={4} position="center"> <Group spacing={4} position="center">
@@ -38,7 +39,7 @@ export default function LayoutDialogPageCreateInvestasi({
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -6,6 +6,7 @@ import { useAtom } from "jotai";
import { useRouter } from "next/navigation"; import { useRouter } from "next/navigation";
import React from "react"; import React from "react";
import { gs_investasiFooter } from "../../g_state"; import { gs_investasiFooter } from "../../g_state";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
export default function LayoutCountDownTransaksiInvestasi({ export default function LayoutCountDownTransaksiInvestasi({
children, children,
@@ -13,18 +14,17 @@ export default function LayoutCountDownTransaksiInvestasi({
children: React.ReactNode; children: React.ReactNode;
}) { }) {
const router = useRouter(); const router = useRouter();
const [hotMenu, setHotMenu] = useAtom(gs_investasiFooter) const [hotMenu, setHotMenu] = useAtom(gs_investasiFooter);
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<Header height={50} sx={{ borderStyle: "none" }} px={"md"}> <Header height={50} sx={{ borderStyle: "none" }} px={"md"}>
<Group h={50} align="center"> <Group h={50} align="center">
<CloseButton <CloseButton
size={"md"} size={"md"}
onClick={() => { onClick={() => {
router.push(RouterInvestasi.main_transaksi), router.push(RouterInvestasi.main_transaksi), setHotMenu(3);
setHotMenu(3)
}} }}
/> />
<Text>Status Transfer</Text> <Text>Status Transfer</Text>
@@ -33,7 +33,7 @@ export default function LayoutCountDownTransaksiInvestasi({
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,13 +1,14 @@
"use client" "use client"
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate"
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate" import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"
import { AppShell } from "@mantine/core" import { AppShell } from "@mantine/core"
import React from "react" import React from "react"
export default function LayoutEditInvestasi({children}: {children: React.ReactNode}){ export default function LayoutEditInvestasi({children}: {children: React.ReactNode}){
return<> return<>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Edit Portofolio Investasi"/>}> <AppComponentGlobal_LayoutTamplate header={<ComponentGlobal_HeaderTamplate title="Edit Portofolio Investasi"/>}>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
} }

View File

@@ -2,6 +2,7 @@
import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi"; import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi";
import { Warna } from "@/app/lib/warna"; import { Warna } from "@/app/lib/warna";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell, Button, Center, Footer } from "@mantine/core"; import { AppShell, Button, Center, Footer } from "@mantine/core";
import { useRouter } from "next/navigation"; import { useRouter } from "next/navigation";
@@ -13,10 +14,10 @@ export default function LayoutEditBeritaInvestasi({
}: { }: {
children: React.ReactNode; children: React.ReactNode;
}) { }) {
const router = useRouter() const router = useRouter();
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={<ComponentGlobal_HeaderTamplate title="Edit Berita" />} header={<ComponentGlobal_HeaderTamplate title="Edit Berita" />}
// footer={ // footer={
// <Footer height={70} sx={{ borderStyle: "none" }}> // <Footer height={70} sx={{ borderStyle: "none" }}>
@@ -25,7 +26,7 @@ export default function LayoutEditBeritaInvestasi({
// } // }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,6 +1,7 @@
"use client"; "use client";
import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi"; import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import { IconEdit } from "@tabler/icons-react"; import { IconEdit } from "@tabler/icons-react";
@@ -15,7 +16,7 @@ export default function LayoutEditDokumenInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<ComponentGlobal_HeaderTamplate <ComponentGlobal_HeaderTamplate
title="Edit Dokumen" title="Edit Dokumen"
@@ -25,7 +26,7 @@ export default function LayoutEditDokumenInvestasi({
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,23 +1,22 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell, Stack, Text } from "@mantine/core"; import { AppShell, Stack, Text } from "@mantine/core";
import React from "react"; import React from "react";
export default function LayoutEditIntroInvestasi({ export default function LayoutEditIntroInvestasi({
children, children,
}: { }: {
children: React.ReactNode; children: React.ReactNode;
}) { }) {
return ( return (
<> <>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Edit Intro" />}> <AppComponentGlobal_LayoutTamplate
<Stack> header={<ComponentGlobal_HeaderTamplate title="Edit Intro" />}
{children} >
</Stack> <Stack>{children}</Stack>
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -7,6 +7,7 @@ import { IconEdit } from "@tabler/icons-react";
import React from "react"; import React from "react";
import getOneInvestasiById from "../fun/get_one_investasi_by_id"; import getOneInvestasiById from "../fun/get_one_investasi_by_id";
import { MODEL_Investasi } from "../model/model_investasi"; import { MODEL_Investasi } from "../model/model_investasi";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
export default function LayoutEditProspektusInvestasi({ export default function LayoutEditProspektusInvestasi({
children, children,
@@ -17,7 +18,7 @@ export default function LayoutEditProspektusInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<ComponentGlobal_HeaderTamplate <ComponentGlobal_HeaderTamplate
title="Edit Prospektus" title="Edit Prospektus"
@@ -27,7 +28,7 @@ export default function LayoutEditProspektusInvestasi({
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -6,6 +6,7 @@ import { AppShell } from "@mantine/core";
import { IconPencilPlus } from "@tabler/icons-react"; import { IconPencilPlus } from "@tabler/icons-react";
import React from "react"; import React from "react";
import getOneInvestasiById from "../fun/get_one_investasi_by_id"; import getOneInvestasiById from "../fun/get_one_investasi_by_id";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
export default function LayoutListEditBeritaInvestasi({ export default function LayoutListEditBeritaInvestasi({
children, children,
@@ -16,7 +17,7 @@ export default function LayoutListEditBeritaInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<ComponentGlobal_HeaderTamplate <ComponentGlobal_HeaderTamplate
title="List Berita" title="List Berita"
@@ -26,7 +27,7 @@ export default function LayoutListEditBeritaInvestasi({
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -26,6 +26,7 @@ import { useRouter } from "next/navigation";
import React, { useState } from "react"; import React, { useState } from "react";
import { gs_investasiFooter } from "../g_state"; import { gs_investasiFooter } from "../g_state";
import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi"; import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
export default function LayoutMainInvestasi({ export default function LayoutMainInvestasi({
children, children,
@@ -64,7 +65,7 @@ export default function LayoutMainInvestasi({
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<ComponentGlobal_HeaderTamplate <ComponentGlobal_HeaderTamplate
route="/dev/crowd/main" route="/dev/crowd/main"
@@ -83,13 +84,20 @@ export default function LayoutMainInvestasi({
span={3} span={3}
onClick={() => { onClick={() => {
router.push(e.route); router.push(e.route);
setActive(k) setActive(k);
}} }}
> >
<Center> <Center>
<Flex direction={"column"} align={"center"} w={"100%"}> <Flex direction={"column"} align={"center"} w={"100%"}>
<ActionIcon variant="transparent" c={active === k ? "green" : "white"}>{e.icon}</ActionIcon> <ActionIcon
<Text c={active === k ? "green" : "white"}>{e.name}</Text> variant="transparent"
c={active === k ? "green" : "white"}
>
{e.icon}
</ActionIcon>
<Text c={active === k ? "green" : "white"} fz={"xs"}>
{e.name}
</Text>
</Flex> </Flex>
</Center> </Center>
</Grid.Col> </Grid.Col>
@@ -99,7 +107,7 @@ export default function LayoutMainInvestasi({
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,9 +12,13 @@ export default function LayoutMetodeTransferInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Pilih Metode Transfer" />}> <AppComponentGlobal_LayoutTamplate
header={
<ComponentGlobal_HeaderTamplate title="Pilih Metode Transfer" />
}
>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import { import {
AppShell, AppShell,
Box, Box,
@@ -17,13 +18,11 @@ export default function LayoutPortofolioInvestasi({
}) { }) {
const [active, setActive] = useState(0); const [active, setActive] = useState(0);
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate>
>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,11 +12,11 @@ export default function LayoutProsesInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={<ComponentGlobal_HeaderTamplate title="Proses Investasi" />}
<ComponentGlobal_HeaderTamplate title="Proses Investasi"/> >
} {children}
>{children}</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -8,6 +8,7 @@ import { gs_midtrans_snap } from "../g_state";
import { IconArrowLeft } from "@tabler/icons-react"; import { IconArrowLeft } from "@tabler/icons-react";
import { title } from "process"; import { title } from "process";
import { useRouter } from "next/navigation"; import { useRouter } from "next/navigation";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
export default function LayoutProsesTransaksiInvestasi({ export default function LayoutProsesTransaksiInvestasi({
children, children,
@@ -19,7 +20,7 @@ export default function LayoutProsesTransaksiInvestasi({
// console.log(snapShow) // console.log(snapShow)
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<Header height={50} sx={{ borderStyle: "none" }}> <Header height={50} sx={{ borderStyle: "none" }}>
<Group h={50} position="apart" px={"md"}> <Group h={50} position="apart" px={"md"}>
@@ -38,7 +39,7 @@ export default function LayoutProsesTransaksiInvestasi({
} }
> >
<Box>{children}</Box> <Box>{children}</Box>
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { ActionIcon, AppShell, Group, Header, Text } from "@mantine/core"; import { ActionIcon, AppShell, Group, Header, Text } from "@mantine/core";
import { IconArrowLeft } from "@tabler/icons-react"; import { IconArrowLeft } from "@tabler/icons-react";
@@ -14,7 +15,7 @@ export default function LayoutStatusPesananInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<Header height={50}> <Header height={50}>
<Group h={50} position="center" px={"md"}> <Group h={50} position="center" px={"md"}>
@@ -24,7 +25,7 @@ export default function LayoutStatusPesananInvestasi({
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -16,6 +16,7 @@ import {
import { useAtom } from "jotai"; import { useAtom } from "jotai";
import { useRouter } from "next/navigation"; import { useRouter } from "next/navigation";
import { gs_investasiFooter } from "../../g_state"; import { gs_investasiFooter } from "../../g_state";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
export default function LayoutStatusTransaksiInvestasi_Gagal({ export default function LayoutStatusTransaksiInvestasi_Gagal({
children, children,
@@ -27,7 +28,7 @@ export default function LayoutStatusTransaksiInvestasi_Gagal({
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<Header height={50}> <Header height={50}>
<Group position="apart" align="center" h={50} px={"md"}> <Group position="apart" align="center" h={50} px={"md"}>
@@ -61,7 +62,7 @@ export default function LayoutStatusTransaksiInvestasi_Gagal({
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -17,9 +17,9 @@ import { useRouter } from "next/navigation";
import React from "react"; import React from "react";
import { gs_investasiFooter } from "../g_state"; import { gs_investasiFooter } from "../g_state";
import { Warna } from "@/app/lib/warna"; import { Warna } from "@/app/lib/warna";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
export default function LayoutStatusTransaksiInvestasi( export default function LayoutStatusTransaksiInvestasi({
{
children, children,
}: { }: {
children: React.ReactNode; children: React.ReactNode;
@@ -29,7 +29,7 @@ export default function LayoutStatusTransaksiInvestasi(
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<Header height={50}> <Header height={50}>
<Group position="apart" align="center" h={50} px={"md"}> <Group position="apart" align="center" h={50} px={"md"}>
@@ -63,7 +63,7 @@ export default function LayoutStatusTransaksiInvestasi(
} }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell, Title } from "@mantine/core"; import { AppShell, Title } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,9 +12,9 @@ export default function LayoutTransaksiInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell header={<Title order={6}>History transaksi</Title>}> <AppComponentGlobal_LayoutTamplate header={<Title order={6}>History transaksi</Title>}>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -18,6 +18,7 @@ import { useAtom } from "jotai";
import { useRouter } from "next/navigation"; import { useRouter } from "next/navigation";
import React from "react"; import React from "react";
import { gs_investasiFooter } from "../g_state"; import { gs_investasiFooter } from "../g_state";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
export default function LayoutTransferInvestasi({ export default function LayoutTransferInvestasi({
children, children,
@@ -29,7 +30,7 @@ export default function LayoutTransferInvestasi({
return ( return (
<> <>
<AppShell <AppComponentGlobal_LayoutTamplate
header={ header={
<Header height={50}> <Header height={50}>
<Group position="apart" h={50} px={"md"}> <Group position="apart" h={50} px={"md"}>
@@ -51,7 +52,7 @@ export default function LayoutTransferInvestasi({
// } // }
> >
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,9 +12,9 @@ export default function LayoutUploadGambarInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Upload Gambar Investasi" />}> <AppComponentGlobal_LayoutTamplate header={<ComponentGlobal_HeaderTamplate title="Upload Gambar Investasi" />}>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,9 +12,9 @@ export default function LayoutBuktiTransferInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Upload Bukti Transfer" />}> <AppComponentGlobal_LayoutTamplate header={<ComponentGlobal_HeaderTamplate title="Upload Bukti Transfer" />}>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,9 +12,9 @@ export default function LayoutUploadDokumenInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Upload Dokumen" />}> <AppComponentGlobal_LayoutTamplate header={<ComponentGlobal_HeaderTamplate title="Upload Dokumen" />}>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }

View File

@@ -1,5 +1,6 @@
"use client"; "use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate"; import ComponentGlobal_HeaderTamplate from "@/app_modules/component_global/header_tamplate";
import { AppShell } from "@mantine/core"; import { AppShell } from "@mantine/core";
import React from "react"; import React from "react";
@@ -11,9 +12,9 @@ export default function LayoutUploadProspektusInvestasi({
}) { }) {
return ( return (
<> <>
<AppShell header={<ComponentGlobal_HeaderTamplate title="Upload Prospektus" />}> <AppComponentGlobal_LayoutTamplate header={<ComponentGlobal_HeaderTamplate title="Upload Prospektus" />}>
{children} {children}
</AppShell> </AppComponentGlobal_LayoutTamplate>
</> </>
); );
} }