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 { Box, Stack, TextInput, Button, Textarea } from "@mantine/core";
|
||||
import { HiOutlineChevronRight, HiUser } from "react-icons/hi2";
|
||||
import { Box } from "@mantine/core";
|
||||
import CreateAnnouncement from "../component/create_announcement";
|
||||
|
||||
export default function ViewCreateAnnouncement() {
|
||||
return (
|
||||
<Box>
|
||||
{/* <NavbarCreateAnnouncement /> */}
|
||||
<LayoutNavbarNew back="" title="Tambah Pengumuman" menu={<></>} />
|
||||
<CreateAnnouncement/>
|
||||
<CreateAnnouncement />
|
||||
</Box>
|
||||
)
|
||||
}
|
||||
@@ -1,12 +1,10 @@
|
||||
import { Box, Button, Stack, Textarea, TextInput } from "@mantine/core";
|
||||
import { LayoutNavbarNew, WARNA } from "@/module/_global";
|
||||
import { HiOutlineChevronRight } from "react-icons/hi2";
|
||||
import { Box } from "@mantine/core";
|
||||
import { LayoutNavbarNew } from "@/module/_global";
|
||||
import EditAnnouncement from "../component/edit_announcement";
|
||||
|
||||
export default function ViewEditAnnouncement({ data }: { data: string }) {
|
||||
return (
|
||||
<Box>
|
||||
{/* <NavbarEditAnnouncement /> */}
|
||||
<LayoutNavbarNew back="" title="Edit Pengumuman" menu={<></>} />
|
||||
<EditAnnouncement />
|
||||
</Box>
|
||||
|
||||
@@ -1,28 +1,17 @@
|
||||
'use client'
|
||||
import { LayoutNavbarHome, WARNA } from '@/module/_global';
|
||||
import { ActionIcon, Box, Center, Grid, Group, SimpleGrid, Text } from '@mantine/core';
|
||||
import { LayoutNavbarNew, WARNA } from '@/module/_global';
|
||||
import { ActionIcon, Box, Center, SimpleGrid, Text } from '@mantine/core';
|
||||
import React from 'react';
|
||||
import { HiMiniUserGroup, HiMiniPresentationChartBar, HiMegaphone, HiSquares2X2, HiChevronLeft, HiUserGroup, HiUsers } from "react-icons/hi2";
|
||||
import { PiUsersFourFill } from "react-icons/pi";
|
||||
import { FaUsersRays, FaUserTie } from "react-icons/fa6";
|
||||
import { useRouter } from 'next/navigation';
|
||||
import LayoutIconBack from '@/module/_global/layout/layout_icon_back';
|
||||
import { FaUserTie } from 'react-icons/fa6';
|
||||
|
||||
export default function ViewDetailFeature() {
|
||||
const router = useRouter()
|
||||
return (
|
||||
<>
|
||||
<LayoutNavbarHome>
|
||||
<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>
|
||||
<LayoutNavbarNew back='/home' title='Fitur' menu={<></>} />
|
||||
<Box p={20}>
|
||||
<Box >
|
||||
<SimpleGrid
|
||||
|
||||
Reference in New Issue
Block a user