Kabar Donasi
# feat - Create kabar - Delete kabar - List kabar ## No issue
This commit is contained in:
@@ -74,7 +74,7 @@ export default function GalangDanaDonasi({
|
||||
bg={"orange"}
|
||||
color="orange"
|
||||
leftIcon={<IconCirclePlus />}
|
||||
onClick={() => router.push(RouterDonasi.create)}
|
||||
onClick={() => router.push(RouterDonasi.create_donasi)}
|
||||
>
|
||||
Galang Dana
|
||||
</Button>
|
||||
|
||||
@@ -7,12 +7,18 @@ import {
|
||||
Flex,
|
||||
Footer,
|
||||
Grid,
|
||||
Group,
|
||||
Header,
|
||||
Indicator,
|
||||
Text,
|
||||
Title,
|
||||
} from "@mantine/core";
|
||||
import React, { useState } from "react";
|
||||
import HeaderTamplateDonasi from "../component/header_tamplate";
|
||||
|
||||
import {
|
||||
IconBell,
|
||||
IconChevronLeft,
|
||||
IconCurrencyDollar,
|
||||
IconGift,
|
||||
IconGiftCardFilled,
|
||||
@@ -26,6 +32,7 @@ import { useRouter } from "next/navigation";
|
||||
import { useAtom } from "jotai";
|
||||
import { gs_donasi_hot_menu } from "../global_state";
|
||||
import { RouterCrowd } from "@/app/lib/router_hipmi/router_crowd";
|
||||
import { title } from "process";
|
||||
|
||||
export default function LayoutDonasi({
|
||||
children,
|
||||
@@ -59,7 +66,19 @@ export default function LayoutDonasi({
|
||||
<>
|
||||
<AppShell
|
||||
header={
|
||||
<HeaderTamplateDonasi title="Donasi" route={RouterCrowd.main} />
|
||||
<Header height={50} sx={{ borderStyle: "none" }}>
|
||||
<Group h={50} position="apart" px={"md"}>
|
||||
<ActionIcon onClick={() => router.push(RouterCrowd.main)}>
|
||||
<IconChevronLeft />
|
||||
</ActionIcon>
|
||||
<Title order={5}>Donasi</Title>
|
||||
<ActionIcon radius={"md"} variant="transparent" onClick={() => router.push(RouterDonasi.notif_page + `${"123"}`)}>
|
||||
<Indicator processing color="orange" >
|
||||
<IconBell />
|
||||
</Indicator>
|
||||
</ActionIcon>
|
||||
</Group>
|
||||
</Header>
|
||||
}
|
||||
footer={
|
||||
<Footer height={70} bg={"dark"}>
|
||||
|
||||
17
src/app_modules/donasi/main/notif/layout.tsx
Normal file
17
src/app_modules/donasi/main/notif/layout.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
"use client"
|
||||
|
||||
import { AppShell } from "@mantine/core"
|
||||
import React from "react"
|
||||
import HeaderTamplateDonasi from "../../component/header_tamplate"
|
||||
|
||||
export default function LayoutDonasi_NotifPage({children}: {children: React.ReactNode}){
|
||||
return<>
|
||||
<AppShell
|
||||
header={<HeaderTamplateDonasi title="Pemberitahuan"/>}
|
||||
>
|
||||
|
||||
{children}
|
||||
</AppShell>
|
||||
|
||||
</>
|
||||
}
|
||||
8
src/app_modules/donasi/main/notif/notif_page.tsx
Normal file
8
src/app_modules/donasi/main/notif/notif_page.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
"use client"
|
||||
|
||||
export default function Donasi_NotifPage() {
|
||||
return<>
|
||||
ini halaman notif
|
||||
|
||||
</>
|
||||
}
|
||||
Reference in New Issue
Block a user