upd: cleaning

Deskripsi:
- mengganti routing search, notifikasi dan detail-features
- mengganti module search, notifikasi dan detail-feature

No Issues
This commit is contained in:
amel
2024-07-09 14:39:07 +08:00
parent b43ee91022
commit b512c09bf0
13 changed files with 20 additions and 49 deletions

View File

@@ -1,7 +1,6 @@
import { LayoutNavbarHome, WARNA } from '@/module/_global';
import { ActionIcon, Anchor, Box, Group, rem, Stack, Text } from '@mantine/core';
import { LayoutNavbarHome } from '@/module/_global';
import { Box, Group, Stack, Text } from '@mantine/core';
import React from 'react';
import { HiMagnifyingGlass, HiOutlineBell, HiOutlineUser } from "react-icons/hi2";
import Carosole from '../components/carosole';
import Features from '../components/features';
import IconNavbar from '../components/ui/icon_navbar';
@@ -14,7 +13,7 @@ export default function ViewHome() {
<LayoutNavbarHome>
<Group justify='space-between'>
<Text fw={'bold'} c={'white'} >Perbekal Darmasaba</Text>
<IconNavbar/>
<IconNavbar />
</Group>
</LayoutNavbarHome>
<Box p={20}>

View File

@@ -0,0 +1,15 @@
import { LayoutNavbarNew } from '@/module/_global'
import { Box, } from '@mantine/core'
import React from 'react'
import ListNotification from '../components/list_notification'
export default function ViewNotification() {
return (
<Box>
<LayoutNavbarNew back='/home' title='Notifikasi' menu={<></>} />
<Box p={20}>
<ListNotification />
</Box>
</Box>
)
}

View File

@@ -0,0 +1,28 @@
import { LayoutNavbarNew, WARNA } from '@/module/_global';
import { Box, TextInput } from '@mantine/core';
import React from 'react';
import { HiMagnifyingGlass } from 'react-icons/hi2';
export default function ViewSearch() {
return (
<>
<LayoutNavbarNew back='/home' title='Pencarian' menu={<></>} />
<Box p={20}>
<TextInput
styles={{
input: {
color: WARNA.biruTua,
borderRadius: WARNA.biruTua,
borderColor: WARNA.biruTua,
},
}}
size="md"
radius={30}
leftSection={<HiMagnifyingGlass size={20} />}
placeholder="Pencarian"
/>
</Box>
</>
);
}