upd: cleaning
Deskripsi: - mengganti routing search, notifikasi dan detail-features - mengganti module search, notifikasi dan detail-feature No Issues
This commit is contained in:
@@ -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}>
|
||||
|
||||
15
src/module/home/view/view_notification.tsx
Normal file
15
src/module/home/view/view_notification.tsx
Normal 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>
|
||||
)
|
||||
}
|
||||
28
src/module/home/view/view_search.tsx
Normal file
28
src/module/home/view/view_search.tsx
Normal 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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user