Skip to content

Commit 28d042f

Browse files
committed
Update Messenger defaults to match provider
1 parent 57c6691 commit 28d042f

1 file changed

Lines changed: 17 additions & 15 deletions

File tree

src/components/Messenger/index.tsx

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -92,22 +92,24 @@ const Widget = ({
9292
onClick={() => loadChat({ open: true })}
9393
onMouseEnter={() => loadChat({ open: false })}
9494
>
95-
<svg width="60px" height="60px" viewBox="0 0 60 60">
96-
<svg x="0" y="0" width="60px" height="60px">
97-
<g stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
98-
<g>
99-
<circle fill={color ? color : '#0084FF'} cx="30" cy="30" r="30" />
100-
<svg x="10" y="10">
101-
<g transform="translate(0.000000, -10.000000)" fill="#FFFFFF">
102-
<g id="logo" transform="translate(0.000000, 10.000000)">
103-
<path d="M20,0 C31.2666,0 40,8.2528 40,19.4 C40,30.5472 31.2666,38.8 20,38.8 C17.9763,38.8 16.0348,38.5327 14.2106,38.0311 C13.856,37.9335 13.4789,37.9612 13.1424,38.1098 L9.1727,39.8621 C8.1343,40.3205 6.9621,39.5819 6.9273,38.4474 L6.8184,34.8894 C6.805,34.4513 6.6078,34.0414 6.2811,33.7492 C2.3896,30.2691 0,25.2307 0,19.4 C0,8.2528 8.7334,0 20,0 Z M7.99009,25.07344 C7.42629,25.96794 8.52579,26.97594 9.36809,26.33674 L15.67879,21.54734 C16.10569,21.22334 16.69559,21.22164 17.12429,21.54314 L21.79709,25.04774 C23.19919,26.09944 25.20039,25.73014 26.13499,24.24744 L32.00999,14.92654 C32.57369,14.03204 31.47419,13.02404 30.63189,13.66324 L24.32119,18.45264 C23.89429,18.77664 23.30439,18.77834 22.87569,18.45674 L18.20299,14.95224 C16.80079,13.90064 14.79959,14.26984 13.86509,15.75264 L7.99009,25.07344 Z" />
104-
</g>
105-
</g>
106-
</svg>
107-
</g>
108-
</g>
95+
<div
96+
style={{
97+
width: '60px',
98+
height: '60px',
99+
backgroundColor: color ? color : '#0A7CFF',
100+
display: 'flex',
101+
justifyContent: 'center',
102+
alignItems: 'center',
103+
borderRadius: '60px'
104+
}}
105+
>
106+
<svg width="36" height="36" viewBox="0 0 36 36">
107+
<path
108+
fill="white"
109+
d="M1 17.99C1 8.51488 8.42339 1.5 18 1.5C27.5766 1.5 35 8.51488 35 17.99C35 27.4651 27.5766 34.48 18 34.48C16.2799 34.48 14.6296 34.2528 13.079 33.8264C12.7776 33.7435 12.4571 33.767 12.171 33.8933L8.79679 35.3828C7.91415 35.7724 6.91779 35.1446 6.88821 34.1803L6.79564 31.156C6.78425 30.7836 6.61663 30.4352 6.33893 30.1868C3.03116 27.2287 1 22.9461 1 17.99ZM12.7854 14.8897L7.79161 22.8124C7.31238 23.5727 8.24695 24.4295 8.96291 23.8862L14.327 19.8152C14.6899 19.5398 15.1913 19.5384 15.5557 19.8116L19.5276 22.7905C20.7193 23.6845 22.4204 23.3706 23.2148 22.1103L28.2085 14.1875C28.6877 13.4272 27.7531 12.5704 27.0371 13.1137L21.673 17.1847C21.3102 17.4601 20.8088 17.4616 20.4444 17.1882L16.4726 14.2094C15.2807 13.3155 13.5797 13.6293 12.7854 14.8897Z"
110+
></path>
109111
</svg>
110-
</svg>
112+
</div>
111113
</div>
112114
)
113115
}

0 commit comments

Comments
 (0)