upd: cleaning
Deskripsi: - mengganti navbar new pada page detail feature - cleaning codingan NO Issues
This commit is contained in:
@@ -1,21 +0,0 @@
|
|||||||
'use client'
|
|
||||||
import { LayoutIconBack, LayoutNavbarHome } from "@/module/_global";
|
|
||||||
import { Box, Grid, Text } from "@mantine/core";
|
|
||||||
|
|
||||||
export default function NavbarCreateAnnouncement() {
|
|
||||||
return (
|
|
||||||
<Box>
|
|
||||||
<LayoutNavbarHome>
|
|
||||||
<Grid justify='center' align='center'>
|
|
||||||
<Grid.Col span="auto">
|
|
||||||
<LayoutIconBack />
|
|
||||||
</Grid.Col>
|
|
||||||
<Grid.Col span={6}>
|
|
||||||
<Text ta={'center'} fw={'bold'} c={'white'}>Tambah Pengumuman</Text>
|
|
||||||
</Grid.Col>
|
|
||||||
<Grid.Col span="auto"></Grid.Col>
|
|
||||||
</Grid>
|
|
||||||
</LayoutNavbarHome>
|
|
||||||
</Box>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
'use client'
|
|
||||||
import { LayoutIconBack, LayoutNavbarHome } from "@/module/_global";
|
|
||||||
import { Box, Grid, Text } from "@mantine/core";
|
|
||||||
|
|
||||||
export default function NavbarEditAnnouncement() {
|
|
||||||
return (
|
|
||||||
<Box>
|
|
||||||
<LayoutNavbarHome>
|
|
||||||
<Grid justify='center' align='center'>
|
|
||||||
<Grid.Col span="auto">
|
|
||||||
<LayoutIconBack />
|
|
||||||
</Grid.Col>
|
|
||||||
<Grid.Col span={6}>
|
|
||||||
<Text ta={'center'} fw={'bold'} c={'white'}>Edit Pengumuman</Text>
|
|
||||||
</Grid.Col>
|
|
||||||
<Grid.Col span="auto"></Grid.Col>
|
|
||||||
</Grid>
|
|
||||||
</LayoutNavbarHome>
|
|
||||||
</Box>
|
|
||||||
)
|
|
||||||
}
|
|
||||||
@@ -1,14 +1,12 @@
|
|||||||
import { LayoutNavbarNew, WARNA } from "@/module/_global";
|
import { LayoutNavbarNew, WARNA } from "@/module/_global";
|
||||||
import { Box, Stack, TextInput, Button, Textarea } from "@mantine/core";
|
import { Box } from "@mantine/core";
|
||||||
import { HiOutlineChevronRight, HiUser } from "react-icons/hi2";
|
|
||||||
import CreateAnnouncement from "../component/create_announcement";
|
import CreateAnnouncement from "../component/create_announcement";
|
||||||
|
|
||||||
export default function ViewCreateAnnouncement() {
|
export default function ViewCreateAnnouncement() {
|
||||||
return (
|
return (
|
||||||
<Box>
|
<Box>
|
||||||
{/* <NavbarCreateAnnouncement /> */}
|
|
||||||
<LayoutNavbarNew back="" title="Tambah Pengumuman" menu={<></>} />
|
<LayoutNavbarNew back="" title="Tambah Pengumuman" menu={<></>} />
|
||||||
<CreateAnnouncement/>
|
<CreateAnnouncement />
|
||||||
</Box>
|
</Box>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -1,12 +1,10 @@
|
|||||||
import { Box, Button, Stack, Textarea, TextInput } from "@mantine/core";
|
import { Box } from "@mantine/core";
|
||||||
import { LayoutNavbarNew, WARNA } from "@/module/_global";
|
import { LayoutNavbarNew } from "@/module/_global";
|
||||||
import { HiOutlineChevronRight } from "react-icons/hi2";
|
|
||||||
import EditAnnouncement from "../component/edit_announcement";
|
import EditAnnouncement from "../component/edit_announcement";
|
||||||
|
|
||||||
export default function ViewEditAnnouncement({ data }: { data: string }) {
|
export default function ViewEditAnnouncement({ data }: { data: string }) {
|
||||||
return (
|
return (
|
||||||
<Box>
|
<Box>
|
||||||
{/* <NavbarEditAnnouncement /> */}
|
|
||||||
<LayoutNavbarNew back="" title="Edit Pengumuman" menu={<></>} />
|
<LayoutNavbarNew back="" title="Edit Pengumuman" menu={<></>} />
|
||||||
<EditAnnouncement />
|
<EditAnnouncement />
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
@@ -1,28 +1,17 @@
|
|||||||
'use client'
|
'use client'
|
||||||
import { LayoutNavbarHome, WARNA } from '@/module/_global';
|
import { LayoutNavbarNew, WARNA } from '@/module/_global';
|
||||||
import { ActionIcon, Box, Center, Grid, Group, SimpleGrid, Text } from '@mantine/core';
|
import { ActionIcon, Box, Center, SimpleGrid, Text } from '@mantine/core';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { HiMiniUserGroup, HiMiniPresentationChartBar, HiMegaphone, HiSquares2X2, HiChevronLeft, HiUserGroup, HiUsers } from "react-icons/hi2";
|
import { HiMiniUserGroup, HiMiniPresentationChartBar, HiMegaphone, HiSquares2X2, HiChevronLeft, HiUserGroup, HiUsers } from "react-icons/hi2";
|
||||||
import { PiUsersFourFill } from "react-icons/pi";
|
import { PiUsersFourFill } from "react-icons/pi";
|
||||||
import { FaUsersRays, FaUserTie } from "react-icons/fa6";
|
|
||||||
import { useRouter } from 'next/navigation';
|
import { useRouter } from 'next/navigation';
|
||||||
import LayoutIconBack from '@/module/_global/layout/layout_icon_back';
|
import { FaUserTie } from 'react-icons/fa6';
|
||||||
|
|
||||||
export default function ViewDetailFeature() {
|
export default function ViewDetailFeature() {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<LayoutNavbarHome>
|
<LayoutNavbarNew back='/home' title='Fitur' menu={<></>} />
|
||||||
<Grid justify='center' align='center'>
|
|
||||||
<Grid.Col span="auto">
|
|
||||||
<LayoutIconBack back='/home' />
|
|
||||||
</Grid.Col>
|
|
||||||
<Grid.Col span={6}>
|
|
||||||
<Text ta={'center'} fw={'bold'} c={'white'} >SEMUA FITUR</Text>
|
|
||||||
</Grid.Col>
|
|
||||||
<Grid.Col span="auto"></Grid.Col>
|
|
||||||
</Grid>
|
|
||||||
</LayoutNavbarHome>
|
|
||||||
<Box p={20}>
|
<Box p={20}>
|
||||||
<Box >
|
<Box >
|
||||||
<SimpleGrid
|
<SimpleGrid
|
||||||
|
|||||||
Reference in New Issue
Block a user