Skip to content

Commit fda44a5

Browse files
chore(sponsors): Add DigitalOcean as a special supporter (#38)
1 parent 41c52ac commit fda44a5

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

configs/sponsors/contribkit.config.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
11
import { BadgePreset, defineConfig, tierPresets } from '@lizardbyte/contribkit'
22

33
const specialSupporters = [
4+
{
5+
name: 'DigitalOcean',
6+
url: 'https://m.do.co/c/a3da07748203',
7+
logoUrl: 'https://opensource.nyc3.cdn.digitaloceanspaces.com/attribution/assets/SVG/DO_Logo_icon_blue.svg',
8+
svgContent: `
9+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="65.2 173.5 180 180" style="enable-background:new 65.2 173.5 180 180;" xml:space="preserve">
10+
<style type="text/css">
11+
.st0{fill:#0080FF;}
12+
</style>
13+
<g id="XMLID_229_">
14+
<g id="XMLID_690_">
15+
<g id="XMLID_691_">
16+
<g>
17+
<g id="XMLID_44_">
18+
<g id="XMLID_48_">
19+
<path id="XMLID_49_" class="st0" d="M155.2,351.7v-34.2c36.2,0,64.3-35.9,50.4-74c-5.1-14.1-16.4-25.4-30.5-30.5 c-38.1-13.8-74,14.2-74,50.4l0,0H67c0-57.7,55.8-102.7,116.3-83.8c26.4,8.3,47.5,29.3,55.7,55.7 C257.9,295.9,213,351.7,155.2,351.7z"/>
20+
</g>
21+
<polygon id="XMLID_47_" class="st0" points="155.3,317.6 121.3,317.6 121.3,283.6 121.3,283.6 155.3,283.6 155.3,283.6 "/>
22+
<polygon id="XMLID_46_" class="st0" points="121.3,343.8 95.1,343.8 95.1,343.8 95.1,317.6 121.3,317.6 "/>
23+
<path id="XMLID_45_" class="st0" d="M95.1,317.6H73.2l0,0v-21.9l0,0h21.9l0,0V317.6z"/>
24+
</g>
25+
</g>
26+
</g>
27+
</g>
28+
</g>
29+
</svg>`,
30+
},
431
{
532
name: 'JetBrains',
633
url: 'https://www.jetbrains.com/',
@@ -79,6 +106,7 @@ function createWrappedSponsorSvg(
79106
return `
80107
<a xlink:href="${sponsor.url}" class="contribkit-link" target="_blank" id="${sponsor.name.replace(/\s+/g, '')}">
81108
<svg x="${x}" y="${y}" width="${scaledWidth}" height="${scaledHeight}" viewBox="0 0 ${svgWidth} ${svgHeight}">
109+
<rect width="${svgWidth}" height="${svgHeight}" fill="transparent" />
82110
${svgContent}
83111
</svg>
84112
</a>`;

0 commit comments

Comments
 (0)