upd: project
Deskripsi: - pembatasan user role - bersih log user - masang log user - bersih console.log No Issues
This commit is contained in:
@@ -5,7 +5,7 @@ import { WARNA } from '../fun/WARNA';
|
||||
import LayoutIconBack from './layout_icon_back';
|
||||
import _ from 'lodash';
|
||||
|
||||
export const LayoutNavbarNew = ({ back, title, menu }: { back?: string, title: string, menu: React.ReactNode }) => {
|
||||
export const LayoutNavbarNew = ({ back, state, title, menu }: { back?: string, title: string, menu: React.ReactNode, state?: React.ReactNode }) => {
|
||||
return (
|
||||
<Box pt={25} pl={20} pr={20} m={0} pos={'sticky'} top={0} pb={25} bg={WARNA.biruTua}
|
||||
style={{
|
||||
@@ -16,11 +16,18 @@ export const LayoutNavbarNew = ({ back, title, menu }: { back?: string, title: s
|
||||
}}
|
||||
>
|
||||
<Grid justify='center' align='center'>
|
||||
<Grid.Col span="auto">
|
||||
{
|
||||
back!=undefined && (<LayoutIconBack back={back} />)
|
||||
}
|
||||
</Grid.Col>
|
||||
{
|
||||
state != undefined &&
|
||||
<Grid.Col span="auto">
|
||||
{state}
|
||||
</Grid.Col>
|
||||
}
|
||||
{
|
||||
back != undefined &&
|
||||
<Grid.Col span="auto">
|
||||
<LayoutIconBack back={back} />
|
||||
</Grid.Col>
|
||||
}
|
||||
<Grid.Col span={8}>
|
||||
<Title c={WARNA.bgWhite} ta={'center'} order={5} lineClamp={1}>{_.startCase(title)}</Title>
|
||||
</Grid.Col>
|
||||
|
||||
Reference in New Issue
Block a user