Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Commit 5c2010a

Browse files
author
X Li
authored
Merge pull request #241 from Ultimaker/Ultimaker/CS-256_Replace-robot-placeholder
Replace the old person placeholder with the new design
2 parents 33a367b + 3871b55 commit 5c2010a

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

src/components/icons/profile_icon.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@ import { IconWrapper, IconProps } from './icon_wrapper';
33

44
const ProfileIcon: React.StatelessComponent<IconProps> = ({ className }): JSX.Element => (
55
<div className={`${className} icon--profile`}>
6-
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
7-
<path d="M16,3c2.45,0,3.44.44,3.44,4.83,0,2.61-1.57,4.82-3.44,4.82s-3.44-2.21-3.44-4.82C12.56,3.44,13.55,3,16,3m0-3C10.5,0,9.56,3.5,9.56,7.83s2.88,7.82,6.44,7.82,6.44-3.5,6.44-7.82S21.49,0,16,0Z" />
8-
<path d="M3.83,27.46v0Z" />
9-
<path d="M28.17,27.56v0Z" />
10-
<path d="M20.3,19.46A8.13,8.13,0,0,1,16,20.6a8.13,8.13,0,0,1-4.3-1.14c-2.13.48-3.34,1-3.88,1.74-.73,1-.92,3.06-1,5.89v.11c.92.63,3.42,1.8,9.15,1.8s8.22-1.17,9.15-1.8c0-2.87-.23-5-1-6C23.67,20.5,22.44,19.94,20.3,19.46Z" fill="none" />
11-
<path d="M28.15,27.28c-.12-7.53-1.1-9.67-8.62-11A4.51,4.51,0,0,1,16,17.6a4.51,4.51,0,0,1-3.53-1.35C5,17.59,4,19.71,3.85,27a4.59,4.59,0,0,1,0,.58v.77S5.62,32,16,32s12.17-3.61,12.17-3.61V27.8h0A4,4,0,0,1,28.15,27.28ZM16,29c-5.73,0-8.23-1.17-9.15-1.8v-.11c.05-2.83.24-4.91,1-5.89.54-.72,1.75-1.26,3.88-1.74A8.13,8.13,0,0,0,16,20.6a8.13,8.13,0,0,0,4.3-1.14c2.14.48,3.37,1,3.89,1.76.73,1,.91,3.11,1,6C24.22,27.83,21.73,29,16,29Z" />
6+
<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
7+
<path d="M12,14.6c-3.6,0-6.5-2.9-6.5-6.5c0-3.6,2.9-6.5,6.5-6.5c3.6,0,6.5,2.9,6.5,6.5C18.5,11.7,15.6,14.6,12,14.6zM12,3.7c-2.5,0-4.5,2-4.5,4.5s2,4.5,4.5,4.5s4.5-2,4.5-4.5S14.5,3.7,12,3.7z"/>
8+
<path d="M21.1,22.3c-0.3,0-0.5-0.1-0.7-0.3c0,0-3.4-3.3-8.4-3.3c-5,0-8.4,3.3-8.4,3.3c-0.4,0.4-1,0.4-1.4,0c-0.4-0.4-0.4-1,0-1.4c0.2-0.2,4-3.9,9.8-3.9c5.8,0,9.6,3.8,9.8,3.9c0.4,0.4,0.4,1,0,1.4C21.6,22.2,21.3,22.3,21.1,22.3z"/>
129
</svg>
1310
</div>
1411
);
Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
.profile-image {
22
display: inline-block;
33

4-
.icon--profile {
5-
width: 50%;
6-
height: 50%;
4+
.icon.icon--circle.primary.disabled {
5+
.icon--profile {
6+
width: 50%;
7+
height: 50%;
8+
9+
svg {
10+
fill: $color-grey-mid;
11+
}
12+
}
713
}
814
}

0 commit comments

Comments
 (0)