Skip to content

Commit 755b901

Browse files
committed
feat: added filled users icon
1 parent b4dd391 commit 755b901

File tree

7 files changed

+38
-16
lines changed

7 files changed

+38
-16
lines changed

thingconnect.pulse.client/src/components/layout/Navigation.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { Box, VStack, Text, Icon, Image, HStack, Badge, Button } from '@chakra-ui/react';
22
import { Link as RouterLink, useLocation } from 'react-router-dom';
3-
import { Wifi, Activity, LogOut, Users } from 'lucide-react';
3+
import { Wifi, Activity, LogOut } from 'lucide-react';
44
import thingConnectIcon from '@/assets/thingconnect-pulse-logo.svg';
5-
import { Clock, Wrench, Settings, Info, Dashboard, Help } from '@/icons';
5+
import { Clock, Wrench, Settings, Info, Dashboard, Help, Users } from '@/icons';
66
import { useAuth } from '@/features/auth/context/AuthContext';
77
interface NavigationProps {
88
onItemClick?: () => void;

thingconnect.pulse.client/src/icons/Dashboard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ export function Dashboard(props: React.SVGProps<SVGSVGElement>) {
99
viewBox='0 0 24 24'
1010
fill='currentColor'
1111
stroke='currentColor'
12-
stroke-width='2'
13-
stroke-linecap='round'
14-
stroke-linejoin='round'
12+
strokeWidth='2'
13+
strokeLinecap='round'
14+
strokeLinejoin='round'
1515
{...props}
1616
>
1717
<rect width='7' height='9' x='3' y='3' rx='1' />

thingconnect.pulse.client/src/icons/Moon.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ export function Moon({ size = 24, ...props }: IProps) {
1212
viewBox='0 0 24 24'
1313
fill='currentColor'
1414
stroke='transparent'
15-
stroke-width='2'
16-
stroke-linecap='round'
17-
stroke-linejoin='round'
15+
strokeWidth='2'
16+
strokeLinecap='round'
17+
strokeLinejoin='round'
1818
{...props}
1919
>
2020
<path d='M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401' />

thingconnect.pulse.client/src/icons/Sun.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ export function Sun({ size = 24, ...props }: IProps) {
1313
viewBox='0 0 24 24'
1414
fill='currentColor'
1515
stroke='currentColor'
16-
stroke-width='2'
17-
stroke-linecap='round'
18-
stroke-linejoin='round'
16+
strokeWidth='2'
17+
strokeLinecap='round'
18+
strokeLinejoin='round'
1919
{...props}
2020
>
2121
<circle cx='12' cy='12' r='4' />
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import type { ComponentPropsWithoutRef } from 'react';
2+
3+
export const Users = (props: ComponentPropsWithoutRef<'svg'>) => {
4+
return (
5+
<svg
6+
xmlns='http://www.w3.org/2000/svg'
7+
width='24'
8+
height='24'
9+
viewBox='0 0 24 24'
10+
fill='currentColor'
11+
stroke='currentColor'
12+
stroke-width='2'
13+
stroke-linecap='round'
14+
stroke-linejoin='round'
15+
{...props}
16+
>
17+
<path d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2h14z' />
18+
<path d='M16 3.128a4 4 0 0 1 0 7.744' />
19+
<path d='M22 21v-2a4 5 0 0 0-3-3.87' />
20+
<circle cx='9' cy='7' r='4' />
21+
</svg>
22+
);
23+
};

thingconnect.pulse.client/src/icons/Wrench.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ export function Wrench(props: React.SVGProps<SVGSVGElement>) {
99
viewBox='0 0 24 24'
1010
fill='currentColor'
1111
stroke='transparent'
12-
stroke-width='2'
13-
stroke-linecap='round'
14-
stroke-linejoin='round'
12+
strokeWidth='2'
13+
strokeLinecap='round'
14+
strokeLinejoin='round'
1515
className='lucide lucide-wrench-icon lucide-wrench'
1616
{...props}
1717
>

thingconnect.pulse.client/src/icons/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,4 @@ export { Info } from './Info';
55
export { Wrench } from './Wrench';
66
export { Dashboard } from './Dashboard';
77
export { Help } from './Help';
8-
// export { Sun } from './sun';
9-
// export { Moon } from './moon';
8+
export { Users } from './Users';

0 commit comments

Comments
 (0)