Skip to content

Commit e687723

Browse files
authored
Merge pull request #4389 from Blargian/integrations_tags
Integrations: add a partner badge for integrations
2 parents 0ea5dde + 1d50a37 commit e687723

File tree

3 files changed

+78
-11
lines changed

3 files changed

+78
-11
lines changed
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
.CommunityMaintainedBadge {
2-
background-color: #fbc9ef;
2+
background-color: #69afff;
33
border-radius: 16px;
44
margin-top: 0px;
55
margin-bottom: 15px;
66
display: flex;
77
align-items: center;
88
padding: 5px 12px;
9-
color: #990073;
9+
color: #ffffff;
1010
display: inline-flex;
1111
margin-right: 5px;
1212
}
1313

1414
.CommunityMaintainedIcon svg path {
15-
fill: #fbc9ef;
16-
stroke: #990073;
15+
fill: #69afff;
16+
stroke: #ffffff;
1717
}
1818

1919
.CommunityMaintainedBadge a {
20-
color: #990073;
20+
color: #69afff;
2121
}
2222

2323
.CommunityMaintainedBadge svg path {
24-
color: #990073;
24+
color: #69afff;
2525
}
2626

2727
[data-theme="dark"] .CommunityMaintainedBadge {
28-
background-color: #990073;
29-
color: #fbeff8;
28+
background-color: #69afff;
29+
color: #ffffff;
3030
}
3131

3232
[data-theme="dark"] .CommunityMaintainedBadge a {
33-
color: #fbeff8;
33+
color: #ffffff;
3434
}
3535

3636
[data-theme="dark"] .CommunityMaintainedIcon svg path {
37-
fill: #990073;
38-
stroke: #fbeff8;
37+
fill: #69afff;
38+
stroke: #ffffff;
3939
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import React from "react"
2+
import styles from "./styles.module.css"
3+
4+
const Icon = () => {
5+
return (
6+
<div className={styles.PartnerIcon} style={{ marginRight: '8px', marginTop: '4px' }}>
7+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
8+
<polyline points="12.5 9.5 10 12 6 11 2.5 8.5" stroke="#FBEFF8" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1"/>
9+
<polyline points="4.54 4.41 8 3.5 11.46 4.41" stroke="#FBEFF8" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1"/>
10+
<path d="M2.15,3.78 L0.55,6.95 A0.5,0.5 0,0,0 0.77,7.62 L2.5,8.5 L4.54,4.41 L2.82,3.55 A0.5,0.5 0,0,0 2.15,3.78 Z" stroke="#FBEFF8" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1"/>
11+
<path d="M13.5,8.5 L15.23,7.62 A0.5,0.5 0,0,0 15.45,6.95 L13.85,3.78 A0.5,0.5 0,0,0 13.18,3.55 L11.46,4.41 Z" stroke="#FBEFF8" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1"/>
12+
<path d="M11.5,4.5 L9,4.5 L6.15,7.27 A0.5,0.5 0,0,0 6.24,8.05 C7.33,8.74 8.81,8.72 10,7.5 L12.5,9.5 L13.5,8.5" stroke="#FBEFF8" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1"/>
13+
<polyline points="7.75 13.5 5.15 12.85 3.5 11.67" stroke="#FBEFF8" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1"/>
14+
</svg>
15+
</div>
16+
)
17+
}
18+
19+
20+
const PartnerBadge = () => {
21+
return (
22+
<div className={styles.PartnerBadge}>
23+
<Icon />Partner Integration
24+
</div>
25+
)
26+
}
27+
28+
export default PartnerBadge
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.PartnerBadge {
2+
background-color: #990073;
3+
border-radius: 16px;
4+
margin-top: 0px;
5+
margin-bottom: 15px;
6+
display: flex;
7+
align-items: center;
8+
padding: 5px 12px;
9+
color: #ffffff;
10+
display: inline-flex;
11+
margin-right: 5px;
12+
}
13+
14+
.PartnerBadgeIcon svg path {
15+
fill: #fbc9ef;
16+
stroke: #990073;
17+
}
18+
19+
.PartnerBadge a {
20+
color: #990073;
21+
}
22+
23+
.PartnerBadge svg path {
24+
color: #990073;
25+
}
26+
27+
[data-theme="dark"] .PartnerBadge {
28+
background-color: #990073;
29+
color: #fbeff8;
30+
}
31+
32+
[data-theme="dark"] .PartnerBadge a {
33+
color: #fbeff8;
34+
}
35+
36+
[data-theme="dark"] .PartnerBadgeIcon svg path {
37+
fill: #990073;
38+
stroke: #fbeff8;
39+
}

0 commit comments

Comments
 (0)