feat: deals table
This commit is contained in:
@@ -10,7 +10,6 @@ import {
|
||||
IconMan,
|
||||
IconMoon,
|
||||
IconSun,
|
||||
IconTable,
|
||||
} from '@tabler/icons-react';
|
||||
import classes from './Navbar.module.css';
|
||||
import {useAppDispatch} from "../../redux/store.ts";
|
||||
@@ -48,11 +47,11 @@ const mockdata = [
|
||||
label: 'Сделки',
|
||||
href: '/leads'
|
||||
},
|
||||
{
|
||||
icon: IconTable,
|
||||
label: 'Таблица сделок',
|
||||
href: '/deals'
|
||||
},
|
||||
// {
|
||||
// icon: IconTable,
|
||||
// label: 'Таблица сделок',
|
||||
// href: '/deals'
|
||||
// },
|
||||
{
|
||||
icon: IconMan,
|
||||
label: 'Клиенты',
|
||||
@@ -104,6 +103,7 @@ export function Navbar() {
|
||||
p={rem(5)}
|
||||
>
|
||||
<Image
|
||||
flex={1}
|
||||
// style={{filter: "drop-shadow(0 0 30px #fff)"}}
|
||||
src={colorScheme == "dark" ? "/icons/logo-light.png" : "/icons/logo.png"}
|
||||
/>
|
||||
|
||||
@@ -19,5 +19,9 @@
|
||||
|
||||
.container-full-height {
|
||||
min-height: calc(100vh - (rem(20) * 2));
|
||||
}
|
||||
|
||||
.container-full-height-fixed {
|
||||
height: calc(100vh - (rem(20) * 2));
|
||||
|
||||
}
|
||||
@@ -7,11 +7,19 @@ type Props = {
|
||||
fluid?: boolean;
|
||||
style?: CSSProperties;
|
||||
fullHeight?: boolean;
|
||||
fullHeightFixed?: boolean;
|
||||
}
|
||||
export const PageBlock: FC<Props> = ({children, style, fluid = true, fullHeight = false}) => {
|
||||
export const PageBlock: FC<Props> = ({children, style, fluid = true, fullHeight = false, fullHeightFixed = false}) => {
|
||||
return (
|
||||
<div style={style}
|
||||
className={classNames(styles['container'], fluid && styles['container-fluid'], fullHeight && styles['container-full-height'])}>
|
||||
className={
|
||||
classNames(
|
||||
styles['container'],
|
||||
fluid && styles['container-fluid'],
|
||||
fullHeight && styles['container-full-height'],
|
||||
fullHeightFixed && styles['container-full-height-fixed']
|
||||
)
|
||||
}>
|
||||
{children}
|
||||
</div>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user