## 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,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} />
</>
);
}