imbric-theme 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
package/atoms/Icon/Icon.js
CHANGED
@@ -8,8 +8,6 @@ import { useRouter } from 'next/router'
|
|
8
8
|
import styles from './Sidebar.module.css'
|
9
9
|
|
10
10
|
import Picture from '../../atoms/Picture'
|
11
|
-
import Icon from '../../atoms/Icon'
|
12
|
-
import Divider from '../../atoms/Divider'
|
13
11
|
import ItemMenu from '../../molecules/ItemMenu/ItemMenu'
|
14
12
|
|
15
13
|
export const Sidebar = ({ getStyles, menuCollapseView, options, isHrefLogo, isSrcLogoS, isSrcLogo }) => {
|
@@ -259,7 +259,7 @@ export const CardServiceDetail = ({
|
|
259
259
|
|
260
260
|
<div className={getStyles('card-content')}>
|
261
261
|
|
262
|
-
<div className={getStyles('card-subcontent')}>
|
262
|
+
{/* <div className={getStyles('card-subcontent')}>
|
263
263
|
|
264
264
|
<Label >
|
265
265
|
<Icon
|
@@ -273,7 +273,7 @@ export const CardServiceDetail = ({
|
|
273
273
|
|
274
274
|
<p className={getStyles('card-content-p')}>{txtNumberDriverService}</p>
|
275
275
|
|
276
|
-
</div>
|
276
|
+
</div> */}
|
277
277
|
|
278
278
|
<div className={getStyles('card-subcontent')}>
|
279
279
|
|
@@ -35,7 +35,7 @@ export const ItemMenu = ({ children, getStyles, size, icon, color, background, s
|
|
35
35
|
<Icon
|
36
36
|
size={size}
|
37
37
|
name={icon}
|
38
|
-
color={
|
38
|
+
color={itemActive ? 'primary' : color}
|
39
39
|
background={background}
|
40
40
|
onClick={function noRefCheck() { }}
|
41
41
|
/>
|
@@ -66,7 +66,7 @@ export const ItemMenu = ({ children, getStyles, size, icon, color, background, s
|
|
66
66
|
<Icon
|
67
67
|
size={size}
|
68
68
|
name={icon}
|
69
|
-
color={
|
69
|
+
color={itemActive ? 'primary' : color}
|
70
70
|
background={background}
|
71
71
|
onClick={function noRefCheck() { }}
|
72
72
|
/>
|
@@ -88,13 +88,13 @@ export const ItemMenu = ({ children, getStyles, size, icon, color, background, s
|
|
88
88
|
|
89
89
|
{itemSubmenu.map((item, index) => (
|
90
90
|
item.view ?
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
91
|
+
<Link key={index} href={item.href} passHref>
|
92
|
+
<li className={getStyles('pro-menu-item', { 'activesub': item.active })}>
|
93
|
+
<div className={getStyles('pro-inner-item')} role="button">
|
94
|
+
<span className={getStyles('pro-item-content')}>{item.text}</span></div>
|
95
|
+
</li>
|
96
|
+
</Link>
|
97
|
+
: null
|
98
98
|
))}
|
99
99
|
</ul>
|
100
100
|
</div>
|