# fix
- Merubah Appshell dengan tamplate layout sendiri di module berikut: - Forum - Job - Event - Voting ## No Issuee
This commit is contained in:
9
src/app/dev/event/create/loading.tsx
Normal file
9
src/app/dev/event/create/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/event/detail/draft/[id]/loading.tsx
Normal file
9
src/app/dev/event/detail/draft/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/event/detail/kontribusi/[id]/loading.tsx
Normal file
9
src/app/dev/event/detail/kontribusi/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/event/detail/main/[id]/loading.tsx
Normal file
9
src/app/dev/event/detail/main/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/event/detail/publish/[id]/loading.tsx
Normal file
9
src/app/dev/event/detail/publish/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/event/detail/reject/[id]/loading.tsx
Normal file
9
src/app/dev/event/detail/reject/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/event/detail/review/[id]/loading.tsx
Normal file
9
src/app/dev/event/detail/review/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/event/detail/riwayat/[id]/loading.tsx
Normal file
9
src/app/dev/event/detail/riwayat/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/event/edit/[id]/loading.tsx
Normal file
9
src/app/dev/event/edit/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/forum/create/loading.tsx
Normal file
9
src/app/dev/forum/create/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/forum/edit/komentar/[id]/loading.tsx
Normal file
9
src/app/dev/forum/edit/komentar/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/forum/edit/posting/[id]/loading.tsx
Normal file
9
src/app/dev/forum/edit/posting/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/forum/komentar/[id]/loading.tsx
Normal file
9
src/app/dev/forum/komentar/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/forum/splash/loading.tsx
Normal file
9
src/app/dev/forum/splash/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/job/create/loading.tsx
Normal file
9
src/app/dev/job/create/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/job/detail/arsip/[id]/loading.tsx
Normal file
9
src/app/dev/job/detail/arsip/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/job/detail/draft/[id]/loading.tsx
Normal file
9
src/app/dev/job/detail/draft/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/job/detail/main/[id]/loading.tsx
Normal file
9
src/app/dev/job/detail/main/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/job/detail/publish/[id]/loading.tsx
Normal file
9
src/app/dev/job/detail/publish/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/job/detail/reject/[id]/loading.tsx
Normal file
9
src/app/dev/job/detail/reject/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/job/detail/review/[id]/loading.tsx
Normal file
9
src/app/dev/job/detail/review/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/job/edit/[id]/loading.tsx
Normal file
9
src/app/dev/job/edit/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/job/main/loading.tsx
Normal file
9
src/app/dev/job/main/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/job/non_user_view/[id]/loading.tsx
Normal file
9
src/app/dev/job/non_user_view/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/job/splash/loading.tsx
Normal file
9
src/app/dev/job/splash/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/create/loading.tsx
Normal file
9
src/app/dev/vote/create/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/detail/draft/[id]/loading.tsx
Normal file
9
src/app/dev/vote/detail/draft/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/detail/kontribusi/[id]/loading.tsx
Normal file
9
src/app/dev/vote/detail/kontribusi/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/detail/main/[id]/loading.tsx
Normal file
9
src/app/dev/vote/detail/main/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/detail/publish/[id]/loading.tsx
Normal file
9
src/app/dev/vote/detail/publish/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/detail/reject/[id]/loading.tsx
Normal file
9
src/app/dev/vote/detail/reject/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/detail/review/[id]/loading.tsx
Normal file
9
src/app/dev/vote/detail/review/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/detail/riwayat_saya/[id]/loading.tsx
Normal file
9
src/app/dev/vote/detail/riwayat_saya/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/detail/semua_riwayat/[id]/loading.tsx
Normal file
9
src/app/dev/vote/detail/semua_riwayat/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/edit/[id]/loading.tsx
Normal file
9
src/app/dev/vote/edit/[id]/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/main/loading.tsx
Normal file
9
src/app/dev/vote/main/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
9
src/app/dev/vote/splash/loading.tsx
Normal file
9
src/app/dev/vote/splash/loading.tsx
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
|
||||||
|
export default async function Page() {
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<ComponentGlobal_V2_LoadingPage />
|
||||||
|
</>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -46,6 +46,7 @@ export default function AppComponentGlobal_LayoutTamplate({
|
|||||||
{/* Children */}
|
{/* Children */}
|
||||||
<Box p={"sm"} pos={"static"}>
|
<Box p={"sm"} pos={"static"}>
|
||||||
<Stack>
|
<Stack>
|
||||||
|
|
||||||
{children}
|
{children}
|
||||||
<Box
|
<Box
|
||||||
style={{
|
style={{
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { AppShell, Box, Button, Center, Footer } from "@mantine/core";
|
import { AppShell, Box, Button, Center, Footer, Stack } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentDonasi_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentDonasi_HeaderTamplate from "../../component/header_tamplate";
|
||||||
import ButtonDonasi from "../../component/footer_button_donasi";
|
import ButtonDonasi from "../../component/footer_button_donasi";
|
||||||
@@ -17,7 +17,13 @@ export default function LayoutDetailMainDonasi({
|
|||||||
<>
|
<>
|
||||||
<AppComponentGlobal_LayoutTamplate
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentDonasi_HeaderTamplate title="Detail Donasi" />}
|
header={<ComponentDonasi_HeaderTamplate title="Detail Donasi" />}
|
||||||
footer={<ButtonDonasi donasiId={donasiId} />}
|
footer={
|
||||||
|
<Footer height={"10vh"}>
|
||||||
|
<Stack justify="center" h={"100%"}>
|
||||||
|
<ButtonDonasi donasiId={donasiId} />
|
||||||
|
</Stack>
|
||||||
|
</Footer>
|
||||||
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppComponentGlobal_LayoutTamplate>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ export default function LayoutDonasi({
|
|||||||
>
|
>
|
||||||
{e.icon}
|
{e.icon}
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
<Text c={active === i ? "orange" : "white"}>
|
<Text c={active === i ? "orange" : "white"} fz={"xs"}>
|
||||||
{e.name}
|
{e.name}
|
||||||
</Text>
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentEvent_HeaderTamplate from "../component/header_tamplate";
|
import ComponentEvent_HeaderTamplate from "../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutEvent_Create({
|
export default function LayoutEvent_Create({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,9 @@ export default function LayoutEvent_Create({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentEvent_HeaderTamplate title="Tambah Event" />}>
|
<AppComponentGlobal_LayoutTamplate header={<ComponentEvent_HeaderTamplate title="Tambah Event" />}>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import React from "react";
|
|||||||
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
||||||
import { IconEdit } from "@tabler/icons-react";
|
import { IconEdit } from "@tabler/icons-react";
|
||||||
import { RouterEvent } from "@/app/lib/router_hipmi/router_event";
|
import { RouterEvent } from "@/app/lib/router_hipmi/router_event";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutEvent_DetailDraft({
|
export default function LayoutEvent_DetailDraft({
|
||||||
children,
|
children,
|
||||||
@@ -15,11 +16,11 @@ export default function LayoutEvent_DetailDraft({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentEvent_HeaderTamplate title="Detail Draft" icon={<IconEdit/>} route2={RouterEvent.edit + eventId}/>}
|
header={<ComponentEvent_HeaderTamplate title="Detail Draft" icon={<IconEdit/>} route2={RouterEvent.edit + eventId}/>}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutEvent_DetailKontribusi({
|
export default function LayoutEvent_DetailKontribusi({
|
||||||
children,
|
children,
|
||||||
@@ -11,11 +12,11 @@ export default function LayoutEvent_DetailKontribusi({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentEvent_HeaderTamplate title="Detail Kontibutor" />}
|
header={<ComponentEvent_HeaderTamplate title="Detail Kontibutor" />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutEvent_DetailMain({
|
export default function LayoutEvent_DetailMain({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,11 @@ export default function LayoutEvent_DetailMain({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentEvent_HeaderTamplate title="Detail Event" />}>
|
<AppComponentGlobal_LayoutTamplate
|
||||||
|
header={<ComponentEvent_HeaderTamplate title="Detail Event" />}
|
||||||
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutEvent_DetailPublish({
|
export default function LayoutEvent_DetailPublish({
|
||||||
children,
|
children,
|
||||||
@@ -11,11 +12,11 @@ export default function LayoutEvent_DetailPublish({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentEvent_HeaderTamplate title="Detail Publish" />}
|
header={<ComponentEvent_HeaderTamplate title="Detail Publish" />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutEvent_DetailReject({
|
export default function LayoutEvent_DetailReject({
|
||||||
children,
|
children,
|
||||||
@@ -11,11 +12,11 @@ export default function LayoutEvent_DetailReject({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentEvent_HeaderTamplate title="Detail Reject" />}
|
header={<ComponentEvent_HeaderTamplate title="Detail Reject" />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutEvent_DetailReview({
|
export default function LayoutEvent_DetailReview({
|
||||||
children,
|
children,
|
||||||
@@ -11,11 +12,11 @@ export default function LayoutEvent_DetailReview({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentEvent_HeaderTamplate title="Detail Review" />}
|
header={<ComponentEvent_HeaderTamplate title="Detail Review" />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentEvent_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutEvent_DetailRiwayat({
|
export default function LayoutEvent_DetailRiwayat({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,9 @@ export default function LayoutEvent_DetailRiwayat({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentEvent_HeaderTamplate title="Detail Riwayat" />}>
|
<AppComponentGlobal_LayoutTamplate header={<ComponentEvent_HeaderTamplate title="Detail Riwayat" />}>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentEvent_HeaderTamplate from "../component/header_tamplate";
|
import ComponentEvent_HeaderTamplate from "../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutEvent_Edit({
|
export default function LayoutEvent_Edit({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,9 @@ export default function LayoutEvent_Edit({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentEvent_HeaderTamplate title="Edit Event" />}>
|
<AppComponentGlobal_LayoutTamplate header={<ComponentEvent_HeaderTamplate title="Edit Event" />}>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ export default function Event_Beranda({
|
|||||||
dataEvent: MODEL_EVENT[];
|
dataEvent: MODEL_EVENT[];
|
||||||
}) {
|
}) {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
const [loading, setLoading] = useState(false);
|
||||||
|
|
||||||
// if (_.isEmpty(dataEvent))
|
// if (_.isEmpty(dataEvent))
|
||||||
// return (
|
// return (
|
||||||
@@ -48,13 +49,17 @@ export default function Event_Beranda({
|
|||||||
// );
|
// );
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Affix position={{ bottom: rem(100), right: rem(30) }}>
|
<Affix position={{ bottom: rem(150), right: rem(30) }}>
|
||||||
<ActionIcon
|
<ActionIcon
|
||||||
|
loading={loading ? true : false}
|
||||||
size={"xl"}
|
size={"xl"}
|
||||||
radius={"xl"}
|
radius={"xl"}
|
||||||
variant="transparent"
|
variant="transparent"
|
||||||
bg={"blue"}
|
bg={"blue"}
|
||||||
onClick={() => router.push(RouterEvent.create)}
|
onClick={() => {
|
||||||
|
setLoading(true);
|
||||||
|
router.push(RouterEvent.create);
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<IconCirclePlus color="white" size={40} />
|
<IconCirclePlus color="white" size={40} />
|
||||||
</ActionIcon>
|
</ActionIcon>
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ import { useAtom } from "jotai";
|
|||||||
import { gs_event_hotMenu, gs_event_status } from "../global_state";
|
import { gs_event_hotMenu, gs_event_status } from "../global_state";
|
||||||
import { RouterEvent } from "@/app/lib/router_hipmi/router_event";
|
import { RouterEvent } from "@/app/lib/router_hipmi/router_event";
|
||||||
import { RouterHome } from "@/app/lib/router_hipmi/router_home";
|
import { RouterHome } from "@/app/lib/router_hipmi/router_home";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutEvent_Main({
|
export default function LayoutEvent_Main({
|
||||||
children,
|
children,
|
||||||
@@ -62,7 +63,7 @@ export default function LayoutEvent_Main({
|
|||||||
];
|
];
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={
|
header={
|
||||||
<ComponentEvent_HeaderTamplate
|
<ComponentEvent_HeaderTamplate
|
||||||
title="Event"
|
title="Event"
|
||||||
@@ -70,40 +71,45 @@ export default function LayoutEvent_Main({
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
footer={
|
footer={
|
||||||
<Footer height={70} bg={"dark"} sx={{ borderTop: "px solid blue" }}>
|
<Footer
|
||||||
|
height={"10vh"}
|
||||||
<Grid>
|
bg={"dark"}
|
||||||
{listFooter.map((e, i) => (
|
sx={{ borderTop: "px solid blue" }}
|
||||||
<Grid.Col
|
>
|
||||||
key={e.id}
|
<Stack justify="center" h={"100%"}>
|
||||||
span={"auto"}
|
<Grid >
|
||||||
pt={"md"}
|
{listFooter.map((e, i) => (
|
||||||
onClick={() => {
|
<Grid.Col
|
||||||
router.replace(e.path);
|
key={e.id}
|
||||||
setHotMenu(i);
|
span={"auto"}
|
||||||
}}
|
pt={"md"}
|
||||||
>
|
onClick={() => {
|
||||||
<Center>
|
router.replace(e.path);
|
||||||
<Stack align="center" spacing={0}>
|
setHotMenu(i);
|
||||||
<ActionIcon
|
}}
|
||||||
variant="transparent"
|
>
|
||||||
c={hotMenu === i ? "blue" : "white"}
|
<Center>
|
||||||
>
|
<Stack align="center" spacing={0}>
|
||||||
{e.icon}
|
<ActionIcon
|
||||||
</ActionIcon>
|
variant="transparent"
|
||||||
<Text fz={10} c={hotMenu === i ? "blue" : "white"}>
|
c={hotMenu === i ? "blue" : "white"}
|
||||||
{e.name}
|
>
|
||||||
</Text>
|
{e.icon}
|
||||||
</Stack>
|
</ActionIcon>
|
||||||
</Center>
|
<Text fz={10} c={hotMenu === i ? "blue" : "white"}>
|
||||||
</Grid.Col>
|
{e.name}
|
||||||
))}
|
</Text>
|
||||||
</Grid>
|
</Stack>
|
||||||
|
</Center>
|
||||||
|
</Grid.Col>
|
||||||
|
))}
|
||||||
|
</Grid>
|
||||||
|
</Stack>
|
||||||
</Footer>
|
</Footer>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentForum_HeaderTamplate from "../component/header/header_tamplate";
|
import ComponentForum_HeaderTamplate from "../component/header/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutForum_Create({
|
export default function LayoutForum_Create({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,9 @@ export default function LayoutForum_Create({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentForum_HeaderTamplate title="Tambah Postingan" />}>
|
<AppComponentGlobal_LayoutTamplate header={<ComponentForum_HeaderTamplate title="Tambah Postingan" />}>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import { useRouter } from "next/navigation";
|
|||||||
import { IconChevronLeft } from "@tabler/icons-react";
|
import { IconChevronLeft } from "@tabler/icons-react";
|
||||||
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
import { revalidatePath } from "next/cache";
|
import { revalidatePath } from "next/cache";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export const dynamic = "force-dynamic";
|
export const dynamic = "force-dynamic";
|
||||||
export default function LayoutForum_Detail({
|
export default function LayoutForum_Detail({
|
||||||
@@ -21,7 +22,7 @@ export default function LayoutForum_Detail({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={
|
header={
|
||||||
<Header height={50} sx={{ borderStyle: "none" }}>
|
<Header height={50} sx={{ borderStyle: "none" }}>
|
||||||
<Group h={50} px={"md"}>
|
<Group h={50} px={"md"}>
|
||||||
@@ -42,7 +43,7 @@ export default function LayoutForum_Detail({
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentForum_HeaderTamplate from "../../component/header/header_tamplate";
|
import ComponentForum_HeaderTamplate from "../../component/header/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutForum_EditKomentar({
|
export default function LayoutForum_EditKomentar({
|
||||||
children,
|
children,
|
||||||
@@ -11,11 +12,11 @@ export default function LayoutForum_EditKomentar({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentForum_HeaderTamplate title="Edit Komentar" />}
|
header={<ComponentForum_HeaderTamplate title="Edit Komentar" />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentForum_HeaderTamplate from "../../component/header/header_tamplate";
|
import ComponentForum_HeaderTamplate from "../../component/header/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutForum_EditPosting({
|
export default function LayoutForum_EditPosting({
|
||||||
children,
|
children,
|
||||||
@@ -11,11 +12,11 @@ export default function LayoutForum_EditPosting({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentForum_HeaderTamplate title="Edit Postingan" />}
|
header={<ComponentForum_HeaderTamplate title="Edit Postingan" />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import React from "react";
|
|||||||
import ComponentForum_HeaderTamplate from "../component/header/header_tamplate";
|
import ComponentForum_HeaderTamplate from "../component/header/header_tamplate";
|
||||||
import { MODEL_USER } from "@/app_modules/home/model/interface";
|
import { MODEL_USER } from "@/app_modules/home/model/interface";
|
||||||
import { IconX } from "@tabler/icons-react";
|
import { IconX } from "@tabler/icons-react";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutForum_Forumku({
|
export default function LayoutForum_Forumku({
|
||||||
children,
|
children,
|
||||||
@@ -15,11 +16,16 @@ export default function LayoutForum_Forumku({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentForum_HeaderTamplate title={`${username}`} changeIconBack={<IconX/>}/>}
|
header={
|
||||||
|
<ComponentForum_HeaderTamplate
|
||||||
|
title={`${username}`}
|
||||||
|
changeIconBack={<IconX />}
|
||||||
|
/>
|
||||||
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import { IconChevronLeft } from "@tabler/icons-react";
|
|||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentForum_HeaderTamplate from "../component/header/header_tamplate";
|
import ComponentForum_HeaderTamplate from "../component/header/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutForum_Komentar({
|
export default function LayoutForum_Komentar({
|
||||||
children,
|
children,
|
||||||
@@ -21,7 +22,7 @@ export default function LayoutForum_Komentar({
|
|||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={
|
header={
|
||||||
<Header height={50} sx={{ borderStyle: "none" }}>
|
<Header height={50} sx={{ borderStyle: "none" }}>
|
||||||
<Group h={50} px={"md"}>
|
<Group h={50} px={"md"}>
|
||||||
@@ -40,7 +41,7 @@ export default function LayoutForum_Komentar({
|
|||||||
// header={<ComponentForum_HeaderTamplate title="Komentar" />}
|
// header={<ComponentForum_HeaderTamplate title="Komentar" />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ import { title } from "process";
|
|||||||
import { MODEL_USER } from "@/app_modules/home/model/interface";
|
import { MODEL_USER } from "@/app_modules/home/model/interface";
|
||||||
import { RouterProfile } from "@/app/lib/router_hipmi/router_katalog";
|
import { RouterProfile } from "@/app/lib/router_hipmi/router_katalog";
|
||||||
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
import ComponentGlobal_V2_LoadingPage from "@/app_modules/component_global/loading_page_v2";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutForum_Main({
|
export default function LayoutForum_Main({
|
||||||
children,
|
children,
|
||||||
@@ -56,7 +57,7 @@ export default function LayoutForum_Main({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={
|
header={
|
||||||
<Header height={50} sx={{ borderStyle: "none" }}>
|
<Header height={50} sx={{ borderStyle: "none" }}>
|
||||||
<Group h={50} position="apart" px={"md"}>
|
<Group h={50} position="apart" px={"md"}>
|
||||||
@@ -131,7 +132,7 @@ export default function LayoutForum_Main({
|
|||||||
// }
|
// }
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import ComponentForum_HeaderTamplate from "../../component/header/header_tamplat
|
|||||||
import { IconChevronLeft, IconX } from "@tabler/icons-react";
|
import { IconChevronLeft, IconX } from "@tabler/icons-react";
|
||||||
import router from "next/router";
|
import router from "next/router";
|
||||||
import ComponentForum_HeaderRataKiri from "../../component/header/header_rata_kiri";
|
import ComponentForum_HeaderRataKiri from "../../component/header/header_rata_kiri";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutForum_ReportKomentar({
|
export default function LayoutForum_ReportKomentar({
|
||||||
children,
|
children,
|
||||||
@@ -14,13 +15,13 @@ export default function LayoutForum_ReportKomentar({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={
|
header={
|
||||||
<ComponentForum_HeaderRataKiri title="Mengumpulkan Informasi Komentar"/>
|
<ComponentForum_HeaderRataKiri title="Mengumpulkan Informasi Komentar"/>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ import ComponentForum_HeaderTamplate from "../../component/header/header_tamplat
|
|||||||
import { IconChevronLeft, IconX } from "@tabler/icons-react";
|
import { IconChevronLeft, IconX } from "@tabler/icons-react";
|
||||||
import router from "next/router";
|
import router from "next/router";
|
||||||
import ComponentForum_HeaderRataKiri from "../../component/header/header_rata_kiri";
|
import ComponentForum_HeaderRataKiri from "../../component/header/header_rata_kiri";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutForum_ReportPosting({
|
export default function LayoutForum_ReportPosting({
|
||||||
children,
|
children,
|
||||||
@@ -14,13 +15,13 @@ export default function LayoutForum_ReportPosting({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={
|
header={
|
||||||
<ComponentForum_HeaderRataKiri title="Mengumpulkan Informasi Posting" />
|
<ComponentForum_HeaderRataKiri title="Mengumpulkan Informasi Posting" />
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentJob_HeaderTamplate from "../component/header_tamplate";
|
import ComponentJob_HeaderTamplate from "../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutJob_Create({
|
export default function LayoutJob_Create({
|
||||||
children,
|
children,
|
||||||
@@ -11,11 +12,11 @@ export default function LayoutJob_Create({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentJob_HeaderTamplate title="Tambah Job" />}
|
header={<ComponentJob_HeaderTamplate title="Tambah Job" />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutJob_DetailArsip({
|
export default function LayoutJob_DetailArsip({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,9 @@ export default function LayoutJob_DetailArsip({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentJob_HeaderTamplate title="Detail Arsip" />}>
|
<AppComponentGlobal_LayoutTamplate header={<ComponentJob_HeaderTamplate title="Detail Arsip" />}>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import React from "react";
|
|||||||
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
||||||
import { IconEdit } from "@tabler/icons-react";
|
import { IconEdit } from "@tabler/icons-react";
|
||||||
import { RouterJob } from "@/app/lib/router_hipmi/router_job";
|
import { RouterJob } from "@/app/lib/router_hipmi/router_job";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutJob_DetailDraft({
|
export default function LayoutJob_DetailDraft({
|
||||||
children,
|
children,
|
||||||
@@ -15,7 +16,7 @@ export default function LayoutJob_DetailDraft({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={
|
header={
|
||||||
<ComponentJob_HeaderTamplate
|
<ComponentJob_HeaderTamplate
|
||||||
title="Detail Draft"
|
title="Detail Draft"
|
||||||
@@ -25,7 +26,7 @@ export default function LayoutJob_DetailDraft({
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutJob_MainDetail({
|
export default function LayoutJob_MainDetail({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,9 @@ export default function LayoutJob_MainDetail({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentJob_HeaderTamplate title=" Detail Job" />}>
|
<AppComponentGlobal_LayoutTamplate header={<ComponentJob_HeaderTamplate title=" Detail Job" />}>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutJob_DetailPublish({
|
export default function LayoutJob_DetailPublish({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,9 @@ export default function LayoutJob_DetailPublish({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentJob_HeaderTamplate title="Detail Publish" />}>
|
<AppComponentGlobal_LayoutTamplate header={<ComponentJob_HeaderTamplate title="Detail Publish" />}>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutJob_DetailReject({
|
export default function LayoutJob_DetailReject({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,9 @@ export default function LayoutJob_DetailReject({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentJob_HeaderTamplate title="Detail Reject" />}>
|
<AppComponentGlobal_LayoutTamplate header={<ComponentJob_HeaderTamplate title="Detail Reject" />}>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutJob_DetailReview({
|
export default function LayoutJob_DetailReview({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,9 @@ export default function LayoutJob_DetailReview({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentJob_HeaderTamplate title="Detail Review" />}>
|
<AppComponentGlobal_LayoutTamplate header={<ComponentJob_HeaderTamplate title="Detail Review" />}>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentJob_HeaderTamplate from "../component/header_tamplate";
|
import ComponentJob_HeaderTamplate from "../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutJob_Edit({
|
export default function LayoutJob_Edit({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,11 @@ export default function LayoutJob_Edit({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentJob_HeaderTamplate title="Edit Job" />}>
|
<AppComponentGlobal_LayoutTamplate
|
||||||
|
header={<ComponentJob_HeaderTamplate title="Edit Job" />}
|
||||||
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export default function Job_Beranda({ listJob }: { listJob: MODEL_JOB[] }) {
|
|||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Affix position={{ bottom: rem(100), right: rem(30) }}>
|
<Affix position={{ bottom: rem(150), right: rem(30) }}>
|
||||||
<ActionIcon
|
<ActionIcon
|
||||||
size={"xl"}
|
size={"xl"}
|
||||||
radius={"xl"}
|
radius={"xl"}
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import { RouterJob } from "@/app/lib/router_hipmi/router_job";
|
|||||||
import { useAtom } from "jotai";
|
import { useAtom } from "jotai";
|
||||||
import { gs_job_hot_menu } from "../global_state";
|
import { gs_job_hot_menu } from "../global_state";
|
||||||
import { RouterHome } from "@/app/lib/router_hipmi/router_home";
|
import { RouterHome } from "@/app/lib/router_hipmi/router_home";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutJob_Main({
|
export default function LayoutJob_Main({
|
||||||
children,
|
children,
|
||||||
@@ -50,7 +51,7 @@ export default function LayoutJob_Main({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={
|
header={
|
||||||
<ComponentJob_HeaderTamplate
|
<ComponentJob_HeaderTamplate
|
||||||
title="Job Vacancy"
|
title="Job Vacancy"
|
||||||
@@ -58,39 +59,41 @@ export default function LayoutJob_Main({
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
footer={
|
footer={
|
||||||
<Footer height={70} bg={"dark"}>
|
<Footer height={"10vh"} bg={"dark"}>
|
||||||
<Grid>
|
<Stack justify="center" h={"100%"}>
|
||||||
{listFooter.map((e) => (
|
<Grid>
|
||||||
<Grid.Col
|
{listFooter.map((e) => (
|
||||||
key={e.id}
|
<Grid.Col
|
||||||
span={"auto"}
|
key={e.id}
|
||||||
pt={"md"}
|
span={"auto"}
|
||||||
onClick={() => {
|
pt={"md"}
|
||||||
router.replace(e.path);
|
onClick={() => {
|
||||||
setHotMenu(e.id);
|
router.replace(e.path);
|
||||||
}}
|
setHotMenu(e.id);
|
||||||
>
|
}}
|
||||||
<Center>
|
>
|
||||||
<Stack align="center" spacing={0}>
|
<Center>
|
||||||
<ActionIcon
|
<Stack align="center" spacing={0}>
|
||||||
variant="transparent"
|
<ActionIcon
|
||||||
c={hotMenu === e.id ? "blue" : "white"}
|
variant="transparent"
|
||||||
>
|
c={hotMenu === e.id ? "blue" : "white"}
|
||||||
{e.icon}
|
>
|
||||||
</ActionIcon>
|
{e.icon}
|
||||||
<Text fz={10} c={hotMenu === e.id ? "blue" : "white"}>
|
</ActionIcon>
|
||||||
{e.name}
|
<Text fz={10} c={hotMenu === e.id ? "blue" : "white"}>
|
||||||
</Text>
|
{e.name}
|
||||||
</Stack>
|
</Text>
|
||||||
</Center>
|
</Stack>
|
||||||
</Grid.Col>
|
</Center>
|
||||||
))}
|
</Grid.Col>
|
||||||
</Grid>
|
))}
|
||||||
|
</Grid>
|
||||||
|
</Stack>
|
||||||
</Footer>
|
</Footer>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentJob_HeaderTamplate from "../component/header_tamplate";
|
import ComponentJob_HeaderTamplate from "../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutJob_NonUserView({
|
export default function LayoutJob_NonUserView({
|
||||||
children,
|
children,
|
||||||
@@ -11,7 +12,7 @@ export default function LayoutJob_NonUserView({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={
|
header={
|
||||||
<ComponentJob_HeaderTamplate
|
<ComponentJob_HeaderTamplate
|
||||||
hideBack={true}
|
hideBack={true}
|
||||||
@@ -20,7 +21,7 @@ export default function LayoutJob_NonUserView({
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentVote_HeaderTamplate from "../component/header_tamplate";
|
import ComponentVote_HeaderTamplate from "../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutVote_Create({
|
export default function LayoutVote_Create({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,9 @@ export default function LayoutVote_Create({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentVote_HeaderTamplate title="Tambah Vote" />}>
|
<AppComponentGlobal_LayoutTamplate header={<ComponentVote_HeaderTamplate title="Tambah Vote" />}>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ import React from "react";
|
|||||||
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
||||||
import { IconEdit } from "@tabler/icons-react";
|
import { IconEdit } from "@tabler/icons-react";
|
||||||
import { RouterVote } from "@/app/lib/router_hipmi/router_vote";
|
import { RouterVote } from "@/app/lib/router_hipmi/router_vote";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutVote_DetailDraft({
|
export default function LayoutVote_DetailDraft({
|
||||||
children,
|
children,
|
||||||
@@ -15,7 +16,7 @@ export default function LayoutVote_DetailDraft({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={
|
header={
|
||||||
<ComponentVote_HeaderTamplate
|
<ComponentVote_HeaderTamplate
|
||||||
title="Detail Draft"
|
title="Detail Draft"
|
||||||
@@ -25,7 +26,7 @@ export default function LayoutVote_DetailDraft({
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutVote_DetailKontribusi({
|
export default function LayoutVote_DetailKontribusi({
|
||||||
children,
|
children,
|
||||||
@@ -11,11 +12,11 @@ export default function LayoutVote_DetailKontribusi({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentVote_HeaderTamplate title="Detail Kontribusi" />}
|
header={<ComponentVote_HeaderTamplate title="Detail Kontribusi" />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutVote_MainDetail({
|
export default function LayoutVote_MainDetail({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,11 @@ export default function LayoutVote_MainDetail({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentVote_HeaderTamplate title="Detail Voting" />}>
|
<AppComponentGlobal_LayoutTamplate
|
||||||
|
header={<ComponentVote_HeaderTamplate title="Detail Voting" />}
|
||||||
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutVote_DetailPublish({
|
export default function LayoutVote_DetailPublish({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,11 @@ export default function LayoutVote_DetailPublish({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentVote_HeaderTamplate title="Detail Publish" />}>
|
<AppComponentGlobal_LayoutTamplate
|
||||||
|
header={<ComponentVote_HeaderTamplate title="Detail Publish" />}
|
||||||
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutVote_DetailReject({
|
export default function LayoutVote_DetailReject({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,11 @@ export default function LayoutVote_DetailReject({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentVote_HeaderTamplate title="Detail Reject" />}>
|
<AppComponentGlobal_LayoutTamplate
|
||||||
|
header={<ComponentVote_HeaderTamplate title="Detail Reject" />}
|
||||||
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutVote_DetailReview({
|
export default function LayoutVote_DetailReview({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,11 @@ export default function LayoutVote_DetailReview({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentVote_HeaderTamplate title="Detail Review" />}>
|
<AppComponentGlobal_LayoutTamplate
|
||||||
|
header={<ComponentVote_HeaderTamplate title="Detail Review" />}
|
||||||
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutVote_DetailRiwayatSaya({
|
export default function LayoutVote_DetailRiwayatSaya({
|
||||||
children,
|
children,
|
||||||
@@ -11,11 +12,11 @@ export default function LayoutVote_DetailRiwayatSaya({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentVote_HeaderTamplate title="Detail Riwayat" />}
|
header={<ComponentVote_HeaderTamplate title="Detail Riwayat" />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutVote_DetailSemuaRiwayat({
|
export default function LayoutVote_DetailSemuaRiwayat({
|
||||||
children,
|
children,
|
||||||
@@ -11,11 +12,11 @@ export default function LayoutVote_DetailSemuaRiwayat({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={<ComponentVote_HeaderTamplate title="Detail Riwayat" />}
|
header={<ComponentVote_HeaderTamplate title="Detail Riwayat" />}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
import { AppShell } from "@mantine/core";
|
import { AppShell } from "@mantine/core";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import ComponentVote_HeaderTamplate from "../component/header_tamplate";
|
import ComponentVote_HeaderTamplate from "../component/header_tamplate";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutVote_Edit({
|
export default function LayoutVote_Edit({
|
||||||
children,
|
children,
|
||||||
@@ -11,9 +12,9 @@ export default function LayoutVote_Edit({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell header={<ComponentVote_HeaderTamplate title="Edit Vote" />}>
|
<AppComponentGlobal_LayoutTamplate header={<ComponentVote_HeaderTamplate title="Edit Vote" />}>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ import Vote_MainDetail from "./detail/main";
|
|||||||
import LayoutVote_MainDetail from "./detail/main/layout";
|
import LayoutVote_MainDetail from "./detail/main/layout";
|
||||||
import Vote_DetailKontribusi from "./detail/kontribusi";
|
import Vote_DetailKontribusi from "./detail/kontribusi";
|
||||||
import LayoutVote_DetailKontribusi from "./detail/kontribusi/layout";
|
import LayoutVote_DetailKontribusi from "./detail/kontribusi/layout";
|
||||||
import Vote_DetailSemuaRiwayat from "./detail/semua_riwayat/page";
|
import Vote_DetailSemuaRiwayat from "./detail/semua_riwayat";
|
||||||
import LayoutVote_DetailSemuaRiwayat from "./detail/semua_riwayat/layout";
|
import LayoutVote_DetailSemuaRiwayat from "./detail/semua_riwayat/layout";
|
||||||
import Vote_DetailRiwayatSaya from "./detail/riwayat_saya/page";
|
import Vote_DetailRiwayatSaya from "./detail/riwayat_saya";
|
||||||
import LayoutVote_DetailRiwayatSaya from "./detail/riwayat_saya/layout";
|
import LayoutVote_DetailRiwayatSaya from "./detail/riwayat_saya/layout";
|
||||||
|
|
||||||
export {
|
export {
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ export default function Vote_Beranda({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Affix position={{ bottom: rem(100), right: rem(30) }}>
|
<Affix position={{ bottom: rem(150), right: rem(30) }}>
|
||||||
<ActionIcon
|
<ActionIcon
|
||||||
size={"xl"}
|
size={"xl"}
|
||||||
radius={"xl"}
|
radius={"xl"}
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ import {
|
|||||||
import { gs_vote_hotMenu } from "../global_state";
|
import { gs_vote_hotMenu } from "../global_state";
|
||||||
import { useAtom } from "jotai";
|
import { useAtom } from "jotai";
|
||||||
import { RouterHome } from "@/app/lib/router_hipmi/router_home";
|
import { RouterHome } from "@/app/lib/router_hipmi/router_home";
|
||||||
|
import AppComponentGlobal_LayoutTamplate from "@/app_modules/component_global/component_layout_tamplate";
|
||||||
|
|
||||||
export default function LayoutVote_Main({
|
export default function LayoutVote_Main({
|
||||||
children,
|
children,
|
||||||
@@ -61,7 +62,7 @@ export default function LayoutVote_Main({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<AppShell
|
<AppComponentGlobal_LayoutTamplate
|
||||||
header={
|
header={
|
||||||
<ComponentVote_HeaderTamplate
|
<ComponentVote_HeaderTamplate
|
||||||
title="Voting"
|
title="Voting"
|
||||||
@@ -69,39 +70,42 @@ export default function LayoutVote_Main({
|
|||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
footer={
|
footer={
|
||||||
<Footer height={70} bg={"dark"} sx={{ borderTop: "px solid blue" }}>
|
<Footer
|
||||||
<Grid>
|
height={"10vh"}
|
||||||
{listFooter.map((e, i) => (
|
bg={"dark"}
|
||||||
<Grid.Col
|
sx={{ borderTop: "px solid blue" }}
|
||||||
key={e.id}
|
>
|
||||||
span={"auto"}
|
<Stack h={"100%"} justify="center">
|
||||||
pt={"md"}
|
<Grid>
|
||||||
onClick={() => {
|
{listFooter.map((e, i) => (
|
||||||
router.replace(e.path);
|
<Grid.Col key={e.id} span={"auto"} pt={"md"}>
|
||||||
setHotMenu(i);
|
<Center
|
||||||
}}
|
onClick={() => {
|
||||||
>
|
router.replace(e.path);
|
||||||
<Center>
|
setHotMenu(i);
|
||||||
<Stack align="center" spacing={0}>
|
}}
|
||||||
<ActionIcon
|
>
|
||||||
variant="transparent"
|
<Stack align="center" spacing={0}>
|
||||||
c={hotMenu === i ? "blue" : "white"}
|
<ActionIcon
|
||||||
>
|
variant="transparent"
|
||||||
{e.icon}
|
c={hotMenu === i ? "blue" : "white"}
|
||||||
</ActionIcon>
|
>
|
||||||
<Text fz={10} c={hotMenu === i ? "blue" : "white"}>
|
{e.icon}
|
||||||
{e.name}
|
</ActionIcon>
|
||||||
</Text>
|
<Text fz={10} c={hotMenu === i ? "blue" : "white"}>
|
||||||
</Stack>
|
{e.name}
|
||||||
</Center>
|
</Text>
|
||||||
</Grid.Col>
|
</Stack>
|
||||||
))}
|
</Center>
|
||||||
</Grid>
|
</Grid.Col>
|
||||||
|
))}
|
||||||
|
</Grid>
|
||||||
|
</Stack>
|
||||||
</Footer>
|
</Footer>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
</AppShell>
|
</AppComponentGlobal_LayoutTamplate>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user