#style: UI Katalog
Deskripsi: - UI Katalog selesai - UI Portofolio selesai - UI Profile selesa ## NO Isuuee
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import KatalogView from "./view_katalog";
|
||||
import KatalogLayout from "./layout";
|
||||
|
||||
export {KatalogView, KatalogLayout}
|
||||
export { KatalogLayout };
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import LayoutGlobal_UI_HeaderTamplate from "@/app_modules/component_global/ui/ui_header_tamplate";
|
||||
import LayoutGlobal_UI_Tamplate from "@/app_modules/component_global/ui/ui_layout_tamplate";
|
||||
import UIGlobal_LayoutHeaderTamplate from "@/app_modules/component_global/ui/ui_header_tamplate";
|
||||
import UIGlobal_LayoutTamplate from "@/app_modules/component_global/ui/ui_layout_tamplate";
|
||||
import { ComponentKatalog_ButtonHeaderRight } from "../component/button_header_right";
|
||||
|
||||
export default function KatalogLayout({
|
||||
@@ -17,9 +17,9 @@ export default function KatalogLayout({
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<LayoutGlobal_UI_Tamplate
|
||||
<UIGlobal_LayoutTamplate
|
||||
header={
|
||||
<LayoutGlobal_UI_HeaderTamplate
|
||||
<UIGlobal_LayoutHeaderTamplate
|
||||
title="KATALOG"
|
||||
customButtonRight={
|
||||
<ComponentKatalog_ButtonHeaderRight
|
||||
@@ -32,7 +32,7 @@ export default function KatalogLayout({
|
||||
}
|
||||
>
|
||||
{children}
|
||||
</LayoutGlobal_UI_Tamplate>
|
||||
</UIGlobal_LayoutTamplate>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
"use client";
|
||||
|
||||
import Component_Logout from "@/app_modules/auth/logout/view";
|
||||
import {
|
||||
Stack
|
||||
} from "@mantine/core";
|
||||
import { MODEL_PORTOFOLIO } from "../portofolio/model/interface";
|
||||
import { Portofolio_UiView } from "../portofolio/ui_portofolio";
|
||||
import { MODEL_PROFILE } from "../profile/model/interface";
|
||||
import { Profile_UiView } from "../profile/ui_profile";
|
||||
|
||||
export default function KatalogView({
|
||||
profile,
|
||||
listPorto,
|
||||
userLoginId,
|
||||
}: {
|
||||
profile: MODEL_PROFILE;
|
||||
listPorto: MODEL_PORTOFOLIO;
|
||||
userLoginId: string;
|
||||
}) {
|
||||
return (
|
||||
<>
|
||||
<Stack>
|
||||
<Profile_UiView profile={profile as any} userLoginId={userLoginId} />
|
||||
<Portofolio_UiView
|
||||
listPorto={listPorto as any}
|
||||
profile={profile}
|
||||
userLoginId={userLoginId}
|
||||
/>
|
||||
</Stack>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user