# fix
- Ganti Appshell dengan tamplate buatan sendiri di modul donasi ## No Issuue
This commit is contained in:
@@ -27,12 +27,12 @@ export default function GalangDanaDonasi({
|
||||
listPublish,
|
||||
listReview,
|
||||
listDraft,
|
||||
listReject
|
||||
listReject,
|
||||
}: {
|
||||
listPublish: any;
|
||||
listReview: any;
|
||||
listDraft: any;
|
||||
listReject: any
|
||||
listReject: any;
|
||||
}) {
|
||||
const router = useRouter();
|
||||
const [tabsPostingDonasi, setTabsPostingDonasi] = useAtom(
|
||||
@@ -68,7 +68,7 @@ export default function GalangDanaDonasi({
|
||||
|
||||
return (
|
||||
<>
|
||||
<Affix position={{ bottom: rem(100), right: rem(20) }}>
|
||||
<Affix position={{ bottom: rem(150), right: rem(20) }}>
|
||||
<Button
|
||||
radius={"xl"}
|
||||
bg={"orange"}
|
||||
|
||||
@@ -34,6 +34,7 @@ import { gs_donasi_hot_menu } from "../global_state";
|
||||
import { RouterCrowd } from "@/app/lib/router_hipmi/router_crowd";
|
||||
import { title } from "process";
|
||||
import _ from "lodash";
|
||||
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||
|
||||
export default function LayoutDonasi({
|
||||
children,
|
||||
@@ -69,7 +70,7 @@ export default function LayoutDonasi({
|
||||
|
||||
return (
|
||||
<>
|
||||
<AppShell
|
||||
<AppComponentGlobal_LayoutTamplate
|
||||
header={
|
||||
<Header height={50} sx={{ borderStyle: "none" }}>
|
||||
<Group h={50} position="apart" px={"md"}>
|
||||
@@ -98,8 +99,8 @@ export default function LayoutDonasi({
|
||||
</Header>
|
||||
}
|
||||
footer={
|
||||
<Footer height={70} bg={"dark"}>
|
||||
<Grid align="center" h={60} pt={"xs"} grow>
|
||||
<Footer height={"10vh"} bg={"dark"}>
|
||||
<Grid align="center" h={"10vh"} pt={"xs"} grow>
|
||||
{/* Tampilan Bursa */}
|
||||
{listPage.map((e, i) => (
|
||||
<Grid.Col
|
||||
@@ -131,7 +132,7 @@ export default function LayoutDonasi({
|
||||
>
|
||||
{/* {JSON.stringify(isRead)} */}
|
||||
{children}
|
||||
</AppShell>
|
||||
</AppComponentGlobal_LayoutTamplate>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user