## Deskripsi:
- Cek notif
## No Issue
This commit is contained in:
2024-08-26 17:18:09 +08:00
parent a6bb993b0d
commit 916c5c7d85
183 changed files with 720 additions and 584 deletions

View File

@@ -1,5 +1,4 @@
import { Admin_KonfirmasiInvestasi } from "@/app_modules/admin/investasi";
import { funGetUserProfile } from "@/app_modules/fun_global/get_user_profile";
import getOneInvestasiById from "@/app_modules/investasi/fun/get_one_investasi_by_id";
export default async function Page({ params }: { params: { id: string } }) {

View File

@@ -1,8 +1,14 @@
import { LayoutMainInvestasi } from "@/app_modules/investasi";
import { Investasi_UiLayoutMain } from "@/app_modules/investasi/_ui";
import React from "react";
export default async function Layout({children}: {children: React.ReactNode}) {
return <>
<LayoutMainInvestasi>{children}</LayoutMainInvestasi>
export default async function Layout({
children,
}: {
children: React.ReactNode;
}) {
return (
<>
<Investasi_UiLayoutMain>{children}</Investasi_UiLayoutMain>
</>
}
);
}

View File

@@ -1,12 +1,12 @@
import { MainInvestasi } from "@/app_modules/investasi";
import { Investasi_UiBeranda } from "@/app_modules/investasi/_ui";
import { investasi_funGetAllPublish } from "@/app_modules/investasi/fun/get_all_investasi";
export default async function Page() {
const allData = await investasi_funGetAllPublish();
const allData = await investasi_funGetAllPublish({ page: 1 });
return (
<>
<MainInvestasi listData={allData as any} />
<Investasi_UiBeranda dataInvestasi={allData as any} />
</>
);
}