- Tampilan buat berita
- Tampilan dialog page buat proyek investasi
- Tampilan list edit beritq
- # No issue
fix:
- Perubahan minor
This commit is contained in:
2023-10-31 16:18:44 +08:00
parent a75f92c478
commit 54eae1bce3
38 changed files with 730 additions and 192 deletions

View File

@@ -1,17 +1,36 @@
"use client";
import { RouterInvestasi } from "@/app/lib/router_hipmi/router_investasi";
import { Warna } from "@/app/lib/warna";
import HeaderTamplate from "@/app_modules/component/header_tamplate";
import { AppShell } from "@mantine/core";
import { AppShell, Button, Center, Footer } from "@mantine/core";
import { useRouter } from "next/navigation";
import React from "react";
import toast from "react-simple-toasts";
export default function LayoutEditBeritaInvestasi({
children,
}: {
children: React.ReactNode;
}) {
const router = useRouter()
return (
<>
<AppShell header={<HeaderTamplate title="Edit Berita" />}>
<AppShell
header={<HeaderTamplate title="Edit Berita" />}
footer={
<Footer height={70} sx={{ borderStyle: "none" }}>
<Center>
<Button w={300} radius={50} bg={Warna.hijau_muda} color="green" onClick={() => {
router.back()
toast("Berita terupdate")
}}>
Update
</Button>
</Center>
</Footer>
}
>
{children}
</AppShell>
</>