Fix
## Deskripsi: - Cek notif ## No Issue
This commit is contained in:
20
src/app_modules/investasi/_ui/main/ui_beranda.tsx
Normal file
20
src/app_modules/investasi/_ui/main/ui_beranda.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
"use client";
|
||||
|
||||
import mqtt_client from "@/util/mqtt_client";
|
||||
import { useShallowEffect } from "@mantine/hooks";
|
||||
import React, { useState } from "react";
|
||||
import { Investasi_ComponentButtonUpdateBeranda } from "../../_component/main/comp_update_beranda";
|
||||
import { MODEL_INVESTASI } from "../../_lib/interface";
|
||||
import { Investasi_ViewBeranda } from "../../_view";
|
||||
|
||||
export function Investasi_UiBeranda({
|
||||
dataInvestasi,
|
||||
}: {
|
||||
dataInvestasi: MODEL_INVESTASI[];
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<Investasi_ViewBeranda dataInvestasi={dataInvestasi} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
32
src/app_modules/investasi/_ui/main/ui_layout_main.tsx
Normal file
32
src/app_modules/investasi/_ui/main/ui_layout_main.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
"use client";
|
||||
|
||||
import { useAtom } from "jotai";
|
||||
import { useRouter } from "next/navigation";
|
||||
import React from "react";
|
||||
import { gs_investas_menu } from "../../g_state";
|
||||
import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
|
||||
import { RouterCrowd } from "@/app/lib/router_hipmi/router_crowd";
|
||||
import UIGlobal_LayoutHeaderTamplate from "@/app_modules/_global/ui/ui_header_tamplate";
|
||||
import { Investasi_ComponentFooterMain } from "../../_component";
|
||||
|
||||
export function Investasi_UiLayoutMain({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<UIGlobal_LayoutTamplate
|
||||
header={
|
||||
<UIGlobal_LayoutHeaderTamplate
|
||||
routerLeft={RouterCrowd.main}
|
||||
title="Investasi"
|
||||
/>
|
||||
}
|
||||
footer={<Investasi_ComponentFooterMain />}
|
||||
>
|
||||
{children}
|
||||
</UIGlobal_LayoutTamplate>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user