Skip to content

Commit 89e7d2f

Browse files
committed
feat: added new gold sponsor
1 parent da57fd7 commit 89e7d2f

File tree

4 files changed

+69
-17
lines changed

4 files changed

+69
-17
lines changed

public/svg/praha-dark.svg

Lines changed: 7 additions & 0 deletions
Loading

public/svg/praha-light.svg

Lines changed: 7 additions & 0 deletions
Loading

src/data/aside-sponsors.ts

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -333,25 +333,22 @@ export const asideSponsors: ISponsor[] = [
333333
},
334334
sponsorEntity: {
335335
__typename: "Organization",
336-
login: "driz.link/mooncake",
337-
name: "Mooncake",
336+
login: "driz.link/praha",
337+
name: "PrAha",
338338
avatarUrl:
339339
'<svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>',
340340
},
341-
createdAt: "2024-06-07T13:32:16Z",
341+
createdAt: "2023-06-11T13:32:16Z",
342342
isActive: true,
343343
imageType: ImageType.SVG,
344344
darkStyle: {
345-
padding: "4px",
346-
filter: "grayscale(1) brightness(2) opacity(0.2)",
345+
filter: "brightness(10) grayscale(1) opacity(0.3)",
347346
background:
348-
'url("/images/mooncake-white.png") 0% 0% / contain no-repeat content-box',
347+
'url("/svg/praha-dark.svg") 0% 0% / cover no-repeat content-box',
349348
},
350349
lightStyle: {
351-
padding: "4px",
352-
filter: "grayscale(1) opacity(0.4)",
353-
background:
354-
'url("/images/mooncake.png") 0% 0% / contain no-repeat content-box',
350+
filter: "invert(0.6) brightness(0) opacity(0.3)",
351+
background: 'url("/svg/praha-light.svg") 0% 0% / cover no-repeat content-box',
355352
},
356353
},
357354
{
@@ -361,13 +358,25 @@ export const asideSponsors: ISponsor[] = [
361358
},
362359
sponsorEntity: {
363360
__typename: "Organization",
364-
login: "driz.link/sponsor",
365-
name: "Sponsor",
361+
login: "driz.link/mooncake",
362+
name: "Mooncake",
366363
avatarUrl:
367-
'<svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>',
364+
'<svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>',
368365
},
369-
createdAt: "2024-08-13T16:35:56Z",
366+
createdAt: "2024-06-07T13:32:16Z",
370367
isActive: true,
371-
imageType: ImageType.IMAGE,
372-
}
368+
imageType: ImageType.SVG,
369+
darkStyle: {
370+
padding: "4px",
371+
filter: "grayscale(1) brightness(2) opacity(0.2)",
372+
background:
373+
'url("/images/mooncake-white.png") 0% 0% / contain no-repeat content-box',
374+
},
375+
lightStyle: {
376+
padding: "4px",
377+
filter: "grayscale(1) opacity(0.4)",
378+
background:
379+
'url("/images/mooncake.png") 0% 0% / contain no-repeat content-box',
380+
},
381+
},
373382
];

src/data/custom-sponsors.ts

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,35 @@ export const customSponsors: ISponsor[] = [
447447
filter: "invert(1)",
448448
},
449449
},
450+
{
451+
tier: {
452+
name: "$1000 a month",
453+
isOneTime: false,
454+
},
455+
sponsorEntity: {
456+
__typename: "Organization",
457+
login: "driz.link/praha",
458+
name: "PrAha",
459+
avatarUrl: `<svg width="300" height="300" viewBox="0 0 300 300" fill="none" xmlns="http://www.w3.org/2000/svg">
460+
<g clip-path="url(#clip0_237_2)">
461+
<path d="M240 0H60C26.8629 0 0 26.8629 0 60V240C0 273.137 26.8629 300 60 300H240C273.137 300 300 273.137 300 240V60C300 26.8629 273.137 0 240 0Z" fill="white"/>
462+
<path d="M55.6969 121.807H30.6548V180.63H45.697V159.958H55.6969C68.6382 159.958 76.0331 151.891 76.0331 140.883C76.0331 129.874 68.6382 121.807 55.6969 121.807ZM54.6881 147.689H45.697V134.076H54.6881C59.4788 134.076 61.7473 137.269 61.7473 140.883C61.7473 144.496 59.4788 147.689 54.6881 147.689Z" fill="#121416"/>
463+
<path d="M97.7971 144.664V138.278H83.9312V180.63H97.7971V159.202C97.7971 153.235 100.486 149.706 105.108 149.706H112.503V138.278H108.049C103.343 138.278 100.234 139.622 97.7971 144.664Z" fill="#121416"/>
464+
<path d="M149.309 121.807H135.023L113.09 180.63H128.637L132.587 169.118H132.599L136.878 156.681H136.872L142.166 141.387L147.066 155.54L155.811 180.63H171.242L149.309 121.807Z" fill="#0074FF"/>
465+
<path d="M204.939 137.605C199.393 137.605 194.938 139.874 192.502 143.151V119.454H178.636V180.63H192.502V157.269C192.502 153.067 195.443 149.874 199.645 149.874C203.846 149.874 206.788 153.067 206.788 157.269V180.63H220.653V153.992C220.653 144.58 214.435 137.605 204.939 137.605Z" fill="#121416"/>
466+
<path d="M249.14 137.605C236.62 137.605 230.149 144.748 229.813 153.319H241.914C241.998 150.294 243.679 147.437 248.3 147.437C252.082 147.437 254.183 149.202 254.183 151.723C254.183 153.74 253.006 155.252 250.821 155.252H244.771C235.863 155.252 229.813 160.294 229.813 168.613C229.813 175.672 235.443 181.303 243.342 181.303C248.804 181.303 253.09 178.95 254.183 175.42V180.63H267.964V153.404C267.964 143.824 259.729 137.605 249.14 137.605ZM254.183 163.992C254.183 167.942 251.662 171.639 247.208 171.639C244.771 171.639 242.922 170.126 242.922 167.942C242.922 165.42 244.687 163.656 247.124 163.656H254.183V163.992Z" fill="#121416"/>
467+
</g>
468+
<defs>
469+
<clipPath id="clip0_237_2">
470+
<rect width="300" height="300" fill="white"/>
471+
</clipPath>
472+
</defs>
473+
</svg>`,
474+
},
475+
createdAt: "2024-08-13T16:35:56Z",
476+
isActive: true,
477+
imageType: ImageType.SVG,
478+
},
450479
{
451480
tier: {
452481
name: "$1000 a month",
@@ -468,5 +497,5 @@ export const customSponsors: ISponsor[] = [
468497
lightStyle: {
469498
padding: "9px",
470499
}
471-
}
500+
},
472501
];

0 commit comments

Comments
 (0)