-
-
Notifications
You must be signed in to change notification settings - Fork 181
Expand file tree
/
Copy pathLinkedinExtension.tsx
More file actions
35 lines (33 loc) · 1.6 KB
/
Copy pathLinkedinExtension.tsx
File metadata and controls
35 lines (33 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import React from 'react';
import { ExtensionComponentProps } from '../../types';
/**
* See <https://github.com/asyncapi/extensions-catalog/blob/master/extensions/linkedin.md>.
*/
export default function LinkedinExtension({
propertyValue,
}: ExtensionComponentProps<string>) {
return (
<a
title={propertyValue}
style={{ display: 'inline-block' }}
href={propertyValue}
rel="noopener noreferrer"
target="_blank"
>
<svg
xmlns="http://www.w3.org/2000/svg"
xmlSpace="preserve"
id="Layer_1"
width="16px"
height="16px"
version="1.1"
viewBox="0 0 382 382"
>
<path
fill="#0077B7"
d="M347.445 0H34.555C15.471 0 0 15.471 0 34.555v312.889C0 366.529 15.471 382 34.555 382h312.889C366.529 382 382 366.529 382 347.444V34.555C382 15.471 366.529 0 347.445 0M118.207 329.844c0 5.554-4.502 10.056-10.056 10.056H65.345c-5.554 0-10.056-4.502-10.056-10.056V150.403c0-5.554 4.502-10.056 10.056-10.056h42.806c5.554 0 10.056 4.502 10.056 10.056zM86.748 123.432c-22.459 0-40.666-18.207-40.666-40.666S64.289 42.1 86.748 42.1s40.666 18.207 40.666 40.666-18.206 40.666-40.666 40.666M341.91 330.654a9.247 9.247 0 0 1-9.246 9.246H286.73a9.247 9.247 0 0 1-9.246-9.246v-84.168c0-12.556 3.683-55.021-32.813-55.021-28.309 0-34.051 29.066-35.204 42.11v97.079a9.246 9.246 0 0 1-9.246 9.246h-44.426a9.247 9.247 0 0 1-9.246-9.246V149.593a9.247 9.247 0 0 1 9.246-9.246h44.426a9.247 9.247 0 0 1 9.246 9.246v15.655c10.497-15.753 26.097-27.912 59.312-27.912 73.552 0 73.131 68.716 73.131 106.472z"
></path>
</svg>
</a>
);
}