(
- Number(dataInvestasi.totalLembar)
- );
- const [transferValue, setTransferValue] = useAtom(gs_TransferValue);
-
- // async function onBeli() {
- // setTransferValue({
- // ...transferValue,
- // totalTransfer: total as any,
- // lembarTerbeli: jumlah as any,
- // });
- // router.push(RouterInvestasi.metode_transfer + `${investasi.id}`);
- // }
- const date = new Date();
- const randomId = date.getTime();
-
- async function onProses() {
- const body = {
- transaction_details: {
- order_id: "hipmi_" + `${randomId}`,
- gross_amount: total,
- },
- item_details: [
- {
- id: "item_" + `${randomId}`,
- name: investasi.title,
- price: Number(investasi.hargaLembar),
- quantity: transferValue.lembarTerbeli,
- merchant_name: "Transaksi Saham",
- },
- ],
- customer_details: {
- first_name: "",
- email: "test@midtrans.com",
- phone: "+628123456",
- },
- };
- }
-
- return (
- <>
- {/* {JSON.stringify(investasi, null, 2)} */}
-
- {/* Sisa Lembar Saham */}
-
- Sisa Lembar Saham
-
- {new Intl.NumberFormat("id-ID", {
- maximumFractionDigits: 10,
- }).format(+investasi.totalLembar)}{" "}
-
-
-
- {/* Harga perlembar saham */}
-
- Harga Perlembar
-
- Rp.{" "}
- {new Intl.NumberFormat("id-ID", {
- maximumFractionDigits: 10,
- }).format(+investasi.hargaLembar)}{" "}
-
-
-
- {/* Lembar saham */}
-
-
- Jumlah Pembelian
-
- minimal pembelian 10 lembar
-
- {/*
- maximal pembelian {maxPembelian} lembar
- */}
-
- {
- setTotal(val * hargaLembar);
- setJumlah(val);
- // console.log(val);
- }}
- />
-
-
-
-
-
-
- Total Harga
-
- Rp.{total}
-
-
-
- {jumlah < 10 ? (
-
- ) : (
-
- )}
-
-
-
- {/* {JSON.stringify(investasi, null, 2)} */}
- >
- );
-}
diff --git a/src/app_modules/investasi/proses_transaksi/layout.tsx b/src/app_modules/investasi/proses_transaksi/layout.tsx
index 928b9d6e..8f78d883 100644
--- a/src/app_modules/investasi/proses_transaksi/layout.tsx
+++ b/src/app_modules/investasi/proses_transaksi/layout.tsx
@@ -1,16 +1,11 @@
"use client";
-import ComponentGlobal_HeaderTamplate from "@/app_modules/_global/header_tamplate";
-import { ActionIcon, AppShell, Box, Group, Header, Text } from "@mantine/core";
-import { useAtom } from "jotai";
-import React, { useState } from "react";
-import { gs_midtrans_snap } from "../g_state";
-import { IconArrowLeft } from "@tabler/icons-react";
-import { title } from "process";
-import { useRouter } from "next/navigation";
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
import UIGlobal_LayoutHeaderTamplate from "@/app_modules/_global/ui/ui_header_tamplate";
+import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
+import { useAtom } from "jotai";
+import { useRouter } from "next/navigation";
+import React from "react";
+import { gs_midtrans_snap } from "../g_state";
export default function LayoutProsesTransaksiInvestasi({
children,
diff --git a/src/app_modules/investasi/status_pesanan/layout.tsx b/src/app_modules/investasi/status_pesanan/layout.tsx
index 28849921..afe4d81c 100644
--- a/src/app_modules/investasi/status_pesanan/layout.tsx
+++ b/src/app_modules/investasi/status_pesanan/layout.tsx
@@ -1,13 +1,7 @@
"use client";
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-import ComponentGlobal_HeaderTamplate from "@/app_modules/_global/header_tamplate";
import UIGlobal_LayoutHeaderTamplate from "@/app_modules/_global/ui/ui_header_tamplate";
import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
-import { ActionIcon, AppShell, Group, Header, Text } from "@mantine/core";
-import { IconArrowLeft } from "@tabler/icons-react";
-import router from "next/router";
-import { title } from "process";
import React from "react";
export default function LayoutStatusPesananInvestasi({
@@ -19,12 +13,10 @@ export default function LayoutStatusPesananInvestasi({
<>
- //
- //
- // Status Transaksi
- //
- //
+
}
>
{children}
diff --git a/src/app_modules/investasi/status_transaksi/gagal/layout.tsx b/src/app_modules/investasi/status_transaksi/gagal/layout.tsx
index 67e51f94..9e8126dc 100644
--- a/src/app_modules/investasi/status_transaksi/gagal/layout.tsx
+++ b/src/app_modules/investasi/status_transaksi/gagal/layout.tsx
@@ -2,22 +2,20 @@
import { RouterInvestasi_OLD } from "@/app/lib/router_hipmi/router_investasi";
import { Warna } from "@/app/lib/warna";
+import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
import {
- AppShell,
- Header,
- Group,
- CloseButton,
ActionIcon,
- Footer,
- Center,
Button,
- Text,
+ Center,
+ CloseButton,
+ Footer,
+ Group,
+ Header,
+ Text
} from "@mantine/core";
import { useAtom } from "jotai";
import { useRouter } from "next/navigation";
import { gs_investas_menu } from "../../g_state";
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
export default function LayoutStatusTransaksiInvestasi_Gagal({
children,
diff --git a/src/app_modules/investasi/status_transaksi/layout.tsx b/src/app_modules/investasi/status_transaksi/layout.tsx
deleted file mode 100644
index 1b163b91..00000000
--- a/src/app_modules/investasi/status_transaksi/layout.tsx
+++ /dev/null
@@ -1,70 +0,0 @@
-"use client";
-
-import { RouterInvestasi_OLD } from "@/app/lib/router_hipmi/router_investasi";
-import {
- ActionIcon,
- AppShell,
- Button,
- Center,
- CloseButton,
- Footer,
- Group,
- Header,
- Text,
-} from "@mantine/core";
-import { useAtom } from "jotai";
-import { useRouter } from "next/navigation";
-import React from "react";
-import { gs_investas_menu } from "../g_state";
-import { Warna } from "@/app/lib/warna";
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
-
-export default function LayoutStatusTransaksiInvestasi({
- children,
-}: {
- children: React.ReactNode;
-}) {
- const router = useRouter();
- const [hotMenu, setHotMenu] = useAtom(gs_investas_menu);
-
- return (
- <>
-
-
- {
- router.push(RouterInvestasi_OLD.main_transaksi);
- setHotMenu(3);
- }}
- />
- Status Transaksi
-
-
-
- }
- footer={
-
- }
- >
- {children}
-
- >
- );
-}
diff --git a/src/app_modules/investasi/transaksi/layout.tsx b/src/app_modules/investasi/transaksi/layout.tsx
index 0243621e..17d3f903 100644
--- a/src/app_modules/investasi/transaksi/layout.tsx
+++ b/src/app_modules/investasi/transaksi/layout.tsx
@@ -1,8 +1,7 @@
"use client";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-import ComponentGlobal_HeaderTamplate from "@/app_modules/_global/header_tamplate";
-import { AppShell, Title } from "@mantine/core";
+import { Title } from "@mantine/core";
import React from "react";
export default function LayoutTransaksiInvestasi({
diff --git a/src/app_modules/investasi/transfer/layout.tsx b/src/app_modules/investasi/transfer/layout.tsx
deleted file mode 100644
index 82b3aa1a..00000000
--- a/src/app_modules/investasi/transfer/layout.tsx
+++ /dev/null
@@ -1,58 +0,0 @@
-"use client";
-
-import { RouterInvestasi_OLD } from "@/app/lib/router_hipmi/router_investasi";
-import { Warna } from "@/app/lib/warna";
-import ComponentGlobal_HeaderTamplate from "@/app_modules/_global/header_tamplate";
-import {
- ActionIcon,
- AppShell,
- Button,
- Center,
- CloseButton,
- Footer,
- Group,
- Header,
- Text,
-} from "@mantine/core";
-import { useAtom } from "jotai";
-import { useRouter } from "next/navigation";
-import React from "react";
-import { gs_investas_menu } from "../g_state";
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-
-export default function LayoutTransferInvestasi({
- children,
-}: {
- children: React.ReactNode;
-}) {
- const router = useRouter();
- const [hotMenu, setHotMenu] = useAtom(gs_investas_menu);
-
- return (
- <>
-
-
- {
- router.push(RouterInvestasi_OLD.main_transaksi), setHotMenu(3);
- }}
- />
- Transfer
-
-
-
- }
- // footer={
- //
- // }
- >
- {children}
-
- >
- );
-}
diff --git a/src/app_modules/investasi/transfer/view.tsx b/src/app_modules/investasi/transfer/view.tsx
deleted file mode 100644
index 619f3ecc..00000000
--- a/src/app_modules/investasi/transfer/view.tsx
+++ /dev/null
@@ -1,240 +0,0 @@
-"use client";
-
-import { Warna } from "@/app/lib/warna";
-import {
- AspectRatio,
- Avatar,
- Box,
- Button,
- Center,
- CopyButton,
- Divider,
- FileButton,
- Flex,
- Grid,
- Group,
- Image,
- Paper,
- Stack,
- Text,
- Title,
-} from "@mantine/core";
-import { useInterval, useShallowEffect } from "@mantine/hooks";
-import { IconAlertTriangle } from "@tabler/icons-react";
-import moment from "moment";
-import { redirect, useRouter } from "next/navigation";
-
-import { useState } from "react";
-import Countdown from "react-countdown";
-import {
- MODEL_INVESTASI,
- MODEL_Transaksi_Investasi,
-} from "../_lib/interface";
-import { RouterInvestasi_OLD } from "@/app/lib/router_hipmi/router_investasi";
-import { useAtom } from "jotai";
-import { gs_TransferValue, gs_investas_menu } from "../g_state";
-import funGantiStatusTransaksi_Investasi from "../fun/fun_ganti_status_transaksi";
-
-export default function TransferInvestasi({
- dataTransaksi,
-}: {
- dataTransaksi: MODEL_Transaksi_Investasi;
-}) {
- const router = useRouter();
- const [transaksi, setTransaksi] = useState(dataTransaksi);
- const [countDown, setCountDown] = useState({
- jam: null,
- menit: null,
- detik: null,
- });
-
- // useShallowEffect(() => {
- // const inter = apa_kabar("2023-11-18");
- // return () => clearInterval(inter);
- // }, []);
- // function apa_kabar(date: string) {
- // let d = moment.duration(moment(date).diff(new Date()));
- // const inter = setInterval(() => {
- // d = moment.duration(+d - 1000, "milliseconds");
-
- // console.log(d.days(), "=", d.hours(), ":", d.minutes(), ":", d.seconds());
- // }, 1000);
- // return inter;
- // }
-
- // useShallowEffect(() => {
- // const mulai = moment(transaksi.createdAt).format();
- // const selesai = moment(transaksi.createdAt).add(1, "days").format();
- // const timer = funCountDown(mulai as any, selesai as any);
-
- // return () => clearInterval(timer);
- // }, []);
-
- // functionbaru ==========================//
- const selesai = moment(transaksi.createdAt).add(1, "days").format();
- let durasi = moment.duration(moment(selesai).diff(new Date()));
- const interval = useInterval(() => {
- durasi = moment.duration(+durasi - 1000, "milliseconds");
- if (durasi.hours() <= 0 && durasi.minutes() <= 0 && durasi.seconds() <= 0) {
- funGantiStatusTransaksi_Investasi(transaksi.id, "4").then((res) => {
- if (res.status === 200) {
- router.push(
- RouterInvestasi_OLD.status_transaksi_gagal + `${transaksi.id}`
- );
- interval.stop();
- }
- });
- }
- setCountDown({
- ...countDown,
- jam: durasi.hours(),
- menit: durasi.minutes(),
- detik: durasi.seconds(),
- });
- }, 1000);
-
- useShallowEffect(() => {
- interval.start();
- }, []);
-
- return (
- <>
- {/* {JSON.stringify(transaksi, null,2)} */}
- {/* {countDown.jam} */}
-
-
- Mohon transfer untuk diteruskan ke :
-
- {transaksi.Investasi.title}
-
-
-
-
- Transfer sebelum
-
-
-
- {moment(transaksi.createdAt).format("lll")}
-
-
-
-
-
- {countDown.jam <= 0 &&
- countDown.menit <= 0 &&
- countDown.detik <= 0 ? (
-
- Waktu Habis
-
- ) : (
-
- {countDown.jam}:{countDown.menit}:{countDown.detik}
-
- )}
-
-
-
-
-
-
-
- {/* Nama Rekening */}
-
-
-
-
- Bank {transaksi.namaBank}
- PT. Xendit Jakarta
-
-
-
-
-
- {transaksi.nomorRekening}
-
-
-
-
- {({ copied, copy }) => (
-
- )}
-
-
-
-
-
-
-
- {/* Nomor rekening */}
-
- Total Transfer
-
-
-
- {/* Rp. {transaksi.totalTransfer} */}
-
-
-
- {/*
- {({ copied, copy }) => (
-
- )}
- */}
-
-
-
-
-
-
- Pastikan jumlahnya benar
-
-
-
-
-
- {/* Tombol Sudah Transfer */}
-
-
-
- >
- );
-}
diff --git a/src/app_modules/investasi/upload/layout.tsx b/src/app_modules/investasi/upload/layout.tsx
deleted file mode 100644
index e55fa845..00000000
--- a/src/app_modules/investasi/upload/layout.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-"use client";
-
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-import ComponentGlobal_HeaderTamplate from "@/app_modules/_global/header_tamplate";
-import { AppShell } from "@mantine/core";
-import React from "react";
-
-export default function LayoutUploadGambarInvestasi({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
- <>
- }>
- {children}
-
- >
- );
-}
diff --git a/src/app_modules/investasi/upload/view.tsx b/src/app_modules/investasi/upload/view.tsx
deleted file mode 100644
index 21c50c4b..00000000
--- a/src/app_modules/investasi/upload/view.tsx
+++ /dev/null
@@ -1,39 +0,0 @@
-"use client";
-
-import { Warna } from "@/app/lib/warna";
-import {
- AspectRatio,
- Button,
- Center,
- Divider,
- FileButton,
- Group,
- Image,
- Paper,
- Text,
- Title,
-} from "@mantine/core";
-import { useState } from "react";
-
-export default function UploadGambarInvestasi() {
- const [img, setImg] = useState();
- return (
- <>
-
- {
- const buffer = URL.createObjectURL(
- new Blob([new Uint8Array( await files.arrayBuffer())])
- );
- setImg(buffer);
- }}
- accept="image/png,image/jpeg"
- >
- {(props) => }
-
-
-
- {img && }
- >
- );
-}
diff --git a/src/app_modules/investasi/upload_bukti/layout.tsx b/src/app_modules/investasi/upload_bukti/layout.tsx
deleted file mode 100644
index ff89bc31..00000000
--- a/src/app_modules/investasi/upload_bukti/layout.tsx
+++ /dev/null
@@ -1,20 +0,0 @@
-"use client";
-
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-import ComponentGlobal_HeaderTamplate from "@/app_modules/_global/header_tamplate";
-import { AppShell } from "@mantine/core";
-import React from "react";
-
-export default function LayoutBuktiTransferInvestasi({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
- <>
- }>
- {children}
-
- >
- );
-}
diff --git a/src/app_modules/investasi/upload_bukti/view.tsx b/src/app_modules/investasi/upload_bukti/view.tsx
deleted file mode 100644
index aa4a2bba..00000000
--- a/src/app_modules/investasi/upload_bukti/view.tsx
+++ /dev/null
@@ -1,137 +0,0 @@
-"use client";
-
-import { Warna } from "@/app/lib/warna";
-import {
- AspectRatio,
- Button,
- FileButton,
- Grid,
- Group,
- Image,
- Text
-} from "@mantine/core";
-import { useShallowEffect } from "@mantine/hooks";
-import { useRouter } from "next/navigation";
-import { useState } from "react";
-
-export default function UploadBuktiTransferInvestasi() {
- const router = useRouter();
- const [fl, setFl] = useState(null);
- const [img, setImg] = useState(null);
- const [total, setTotal] = useState(null);
- const [bank, setBank] = useState(null);
-
- useShallowEffect(() => {
- if (typeof window !== undefined) {
- const totalHarga = localStorage.getItem("total_harga");
- const pilihBank = localStorage.getItem("bank");
- setTotal(totalHarga);
- setBank(pilihBank);
- }
- }, []);
-
- return (
- <>
- {/* Nama Rekening */}
-
-
- Nama Rekening
-
-
- Xendit
-
-
-
- {/* Nomor rekening */}
-
-
- Nomor Rekening
-
-
- {bank}
-
- {/*
-
- {({ copied, copy }) => (
-
- )}
-
- */}
-
-
- {/* Total Bayar */}
-
-
- Total Bayar
-
-
- Rp. {total}
-
-
-
- {/* Upload */}
-
- {
- const buffer = URL.createObjectURL(
- new Blob([new Uint8Array(await files.arrayBuffer())])
- );
- setImg(buffer);
- setFl(files);
- }}
- accept="image/png,image/jpeg"
- >
- {(props) => (
-
- )}
-
-
-
- {img ? (
-
- ) : (
-
- )}
-
-
- {/*
- {img === null ? (
-
- ) : (
-
- )}
- */}
- >
- );
-}
diff --git a/src/app_modules/investasi/upload_dokumen/layout.tsx b/src/app_modules/investasi/upload_dokumen/layout.tsx
index 5a1b1cff..f14c041f 100644
--- a/src/app_modules/investasi/upload_dokumen/layout.tsx
+++ b/src/app_modules/investasi/upload_dokumen/layout.tsx
@@ -1,10 +1,7 @@
"use client";
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-import ComponentGlobal_HeaderTamplate from "@/app_modules/_global/header_tamplate";
import UIGlobal_LayoutHeaderTamplate from "@/app_modules/_global/ui/ui_header_tamplate";
import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
-import { AppShell } from "@mantine/core";
import React from "react";
export default function LayoutUploadDokumenInvestasi({
diff --git a/src/app_modules/investasi/upload_prospektus/layout.tsx b/src/app_modules/investasi/upload_prospektus/layout.tsx
index 17806361..3e573b08 100644
--- a/src/app_modules/investasi/upload_prospektus/layout.tsx
+++ b/src/app_modules/investasi/upload_prospektus/layout.tsx
@@ -1,10 +1,7 @@
"use client";
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-import ComponentGlobal_HeaderTamplate from "@/app_modules/_global/header_tamplate";
import UIGlobal_LayoutHeaderTamplate from "@/app_modules/_global/ui/ui_header_tamplate";
import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
-import { AppShell } from "@mantine/core";
import React from "react";
export default function LayoutUploadProspektusInvestasi({
diff --git a/src/app_modules/job/component/header_tamplate.tsx b/src/app_modules/job/component/header_tamplate.tsx
deleted file mode 100644
index aecc7fee..00000000
--- a/src/app_modules/job/component/header_tamplate.tsx
+++ /dev/null
@@ -1,77 +0,0 @@
-"use client";
-
-import { Header, Group, ActionIcon, Text, Title } from "@mantine/core";
-import { IconArrowLeft, IconChevronLeft } from "@tabler/icons-react";
-import { useRouter } from "next/navigation";
-import { useState } from "react";
-
-export default function ComponentJob_HeaderTamplate({
- hideBack,
- changeIconBack,
- route,
- route2,
- title,
- icon,
- bg,
-}: {
- hideBack?: boolean;
- changeIconBack?: any;
- route?: any;
- route2?: any;
- title: string;
- icon?: any;
- bg?: any;
-}) {
- const router = useRouter();
- const [isLoading, setLoading] = useState(false);
- const [isRightLoading, setRightLoading] = useState(false);
- return (
- <>
-
-
- {hideBack ? (
-
- ) : (
- {
- setLoading(true);
- if (route === null || route === undefined) {
- return router.back();
- } else {
- return router.push(route);
- }
- }}
- >
- {changeIconBack ? changeIconBack : }
-
- )}
- {title}
- {(() => {
- if (route2 === null || route2 === undefined) {
- return ;
- } else {
- return (
- {
- setRightLoading(true);
- router.push(route2);
- }}
- >
- {icon}
-
- );
- }
- })()}
-
-
- >
- );
-}
diff --git a/src/app_modules/job/detail/reject/layout.tsx b/src/app_modules/job/detail/reject/layout.tsx
index 7688c2dc..3c5d5fbd 100644
--- a/src/app_modules/job/detail/reject/layout.tsx
+++ b/src/app_modules/job/detail/reject/layout.tsx
@@ -1,13 +1,8 @@
"use client";
-import { AppShell } from "@mantine/core";
-import React from "react";
-import ComponentJob_HeaderTamplate from "../../component/header_tamplate";
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-import { RouterJob } from "@/app/lib/router_hipmi/router_job";
import UIGlobal_LayoutHeaderTamplate from "@/app_modules/_global/ui/ui_header_tamplate";
import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
-import { IconEdit } from "@tabler/icons-react";
+import React from "react";
export default function LayoutJob_DetailReject({
children,
diff --git a/src/app_modules/katalog/component/header_tamplate.tsx b/src/app_modules/katalog/component/header_tamplate.tsx
deleted file mode 100644
index 8c65b1de..00000000
--- a/src/app_modules/katalog/component/header_tamplate.tsx
+++ /dev/null
@@ -1,70 +0,0 @@
-"use client";
-
-import { ActionIcon, Group, Header, Title } from "@mantine/core";
-import { IconChevronLeft } from "@tabler/icons-react";
-import { useRouter } from "next/navigation";
-
-export default function ComponentKatalog_HeaderTamplate({
- hideBack,
- changeIconBack,
- route,
- route2,
- title,
- icon,
- bg,
- titleColor,
-}: {
- hideBack?: boolean;
- changeIconBack?: any;
- route?: any;
- route2?: any;
- title: string;
- icon?: any;
- bg?: any;
- titleColor?: string
-}) {
- const router = useRouter();
- return (
- <>
-
-
- {hideBack ? (
-
- ) : (
- {
- if (route === null || route === undefined) {
- return router.back();
- } else {
- return router.push(route);
- }
- }}
- >
- {changeIconBack ? changeIconBack : }
-
- )}
- {title}
- {(() => {
- if (route2 === null || route2 === undefined) {
- return ;
- } else {
- return (
- router.push(route2)}
- >
- {icon}
-
- );
- }
- })()}
-
-
- >
- );
-}
diff --git a/src/app_modules/katalog/component/header_transparent.tsx b/src/app_modules/katalog/component/header_transparent.tsx
deleted file mode 100644
index 27c3c7e4..00000000
--- a/src/app_modules/katalog/component/header_transparent.tsx
+++ /dev/null
@@ -1,33 +0,0 @@
-"use client";
-
-import { Header, Group, ActionIcon, Text } from "@mantine/core";
-import { IconArrowLeft } from "@tabler/icons-react";
-import { useRouter } from "next/navigation";
-import React from "react";
-
-export default function HeaderTransparent({
- route,
- icon2,
- title,
-}: {
- route: any;
- icon2: any;
- title: string;
-}) {
- const router = useRouter();
- return (
- <>
-
-
-
- router.push(route)}>
-
-
-
- {title}
- {icon2}
-
-
- >
- );
-}
diff --git a/src/app_modules/katalog/index.ts b/src/app_modules/katalog/index.ts
index c95adbb5..9892f2b6 100644
--- a/src/app_modules/katalog/index.ts
+++ b/src/app_modules/katalog/index.ts
@@ -1,4 +1,2 @@
-import HeaderTransparent from "./component/header_transparent";
-export { HeaderTransparent as headerTransparent };
export { Katalog_MainView } from "./view_katalog";
diff --git a/src/app_modules/katalog/portofolio/edit/layout.tsx b/src/app_modules/katalog/portofolio/edit/layout.tsx
deleted file mode 100644
index 96c5fb21..00000000
--- a/src/app_modules/katalog/portofolio/edit/layout.tsx
+++ /dev/null
@@ -1,21 +0,0 @@
-"use client";
-
-import { AppShell } from "@mantine/core";
-import React from "react";
-import ComponentKatalog_HeaderTamplate from "../../component/header_tamplate";
-
-export default function LayoutPortofolio_EditBisnis({
- children,
-}: {
- children: React.ReactNode;
-}) {
- return (
- <>
- }
- >
- {children}
-
- >
- );
-}
diff --git a/src/app_modules/katalog/portofolio/edit/logo/layout.tsx b/src/app_modules/katalog/portofolio/edit/logo/layout.tsx
index 577d70eb..df132625 100644
--- a/src/app_modules/katalog/portofolio/edit/logo/layout.tsx
+++ b/src/app_modules/katalog/portofolio/edit/logo/layout.tsx
@@ -1,10 +1,7 @@
"use client";
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
import UIGlobal_LayoutHeaderTamplate from "@/app_modules/_global/ui/ui_header_tamplate";
import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
-import ComponentKatalog_HeaderTamplate from "@/app_modules/katalog/component/header_tamplate";
-import { AppShell } from "@mantine/core";
import React from "react";
export default function LayoutPortofolio_EditLogoBisnis({
diff --git a/src/app_modules/katalog/portofolio/index.ts b/src/app_modules/katalog/portofolio/index.ts
index 6268cf40..062117f7 100644
--- a/src/app_modules/katalog/portofolio/index.ts
+++ b/src/app_modules/katalog/portofolio/index.ts
@@ -5,7 +5,6 @@ import Portofolio_UiDetail from "./ui/ui_detail_portofolio";
import Portofolio_EditDataBisnis from "./edit/data/ui_edit_data";
import Portofolio_EditLogoBisnis from "./edit/logo/ui_edit_logo";
import Portofolio_EditMedsosBisnis from "./edit/medsos/ui_edit_medsos";
-import LayoutPortofolio_EditBisnis from "./edit/layout";
import LayoutPortofolio_EditDataBisnis from "./edit/data/layout";
import LayoutPortofolio_EditLogoBisnis from "./edit/logo/layout";
import LayoutPortofolio_EditMedsosBisnis from "./edit/medsos/layout";
@@ -18,7 +17,6 @@ export {
Portofolio_EditDataBisnis,
Portofolio_EditLogoBisnis,
Portofolio_EditMedsosBisnis,
- LayoutPortofolio_EditBisnis,
LayoutPortofolio_EditDataBisnis,
LayoutPortofolio_EditLogoBisnis,
LayoutPortofolio_EditMedsosBisnis,
diff --git a/src/app_modules/vote/component/header_tamplate.tsx b/src/app_modules/vote/component/header_tamplate.tsx
deleted file mode 100644
index f4adcf56..00000000
--- a/src/app_modules/vote/component/header_tamplate.tsx
+++ /dev/null
@@ -1,79 +0,0 @@
-"use client";
-
-import { Header, Group, ActionIcon, Text, Title } from "@mantine/core";
-import { IconArrowLeft, IconChevronLeft } from "@tabler/icons-react";
-import { useRouter } from "next/navigation";
-import { useState } from "react";
-
-export default function ComponentVote_HeaderTamplate({
- hideBack,
- changeIconBack,
- route,
- route2,
- title,
- icon,
- bg,
-}: {
- hideBack?: boolean;
- changeIconBack?: any;
- route?: any;
- route2?: any;
- title: string;
- icon?: any;
- bg?: any;
-}) {
- const router = useRouter();
- const [isLoading, setIsLoading] = useState(false);
- const [isRightLoading, setRightLoading] = useState(false);
-
- return (
- <>
-
-
- {hideBack ? (
-
- ) : (
- {
- setIsLoading(true);
- if (route === null || route === undefined) {
- return router.back();
- } else {
- return router.push(route);
- }
- }}
- >
- {changeIconBack ? changeIconBack : }
-
- )}
- {title}
- {(() => {
- if (route2 === null || route2 === undefined) {
- return ;
- } else {
- return (
- {
- setRightLoading;
- true;
- router.push(route2);
- }}
- >
- {icon}
-
- );
- }
- })()}
-
-
- >
- );
-}
diff --git a/src/app_modules/vote/detail/draft/layout.tsx b/src/app_modules/vote/detail/draft/layout.tsx
index 9a13182c..78ca1440 100644
--- a/src/app_modules/vote/detail/draft/layout.tsx
+++ b/src/app_modules/vote/detail/draft/layout.tsx
@@ -1,14 +1,12 @@
"use client";
-import { ActionIcon, AppShell } from "@mantine/core";
-import React, { useState } from "react";
-import ComponentVote_HeaderTamplate from "../../component/header_tamplate";
-import { IconDotsVertical, IconEdit } from "@tabler/icons-react";
import { RouterVote } from "@/app/lib/router_hipmi/router_vote";
-import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
-import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
-import UIGlobal_LayoutHeaderTamplate from "@/app_modules/_global/ui/ui_header_tamplate";
import UIGlobal_Drawer from "@/app_modules/_global/ui/ui_drawer";
+import UIGlobal_LayoutHeaderTamplate from "@/app_modules/_global/ui/ui_header_tamplate";
+import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
+import { ActionIcon } from "@mantine/core";
+import { IconDotsVertical, IconEdit } from "@tabler/icons-react";
+import React, { useState } from "react";
export default function LayoutVote_DetailDraft({
children,