#style: UI Katalog

Deskripsi:
- UI Katalog selesai
- UI Portofolio selesai
- UI Profile selesa
## NO Isuuee
This commit is contained in:
2024-07-10 17:07:41 +08:00
parent 5f620c030b
commit ab6f2fe8a7
88 changed files with 1288 additions and 1117 deletions

View File

@@ -1,4 +1,3 @@
import KatalogView from "./view_katalog";
import KatalogLayout from "./layout";
export {KatalogView, KatalogLayout}
export { KatalogLayout };

View File

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

View File

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