Skip to content

Commit e4b7f0c

Browse files
ADDED: sentry to sponsors
1 parent 6aeffab commit e4b7f0c

File tree

6 files changed

+55
-14
lines changed

6 files changed

+55
-14
lines changed

public/svg/sentry-dark.svg

Lines changed: 1 addition & 0 deletions
Loading

public/svg/sentry-light.svg

Lines changed: 1 addition & 0 deletions
Loading

src/data/aside-sponsors.ts

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,32 @@ export const asideSponsors: ISponsor[] = [
414414
filter: "grayscale(1) opacity(0.6) invert(0.1)",
415415
},
416416
},
417+
{
418+
tier: {
419+
name: "$1000 a month",
420+
isOneTime: false,
421+
},
422+
sponsorEntity: {
423+
__typename: "Organization",
424+
login: "driz.link/sentry",
425+
name: "Sentry",
426+
avatarUrl:
427+
'<svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>',
428+
},
429+
createdAt: "2024-06-07T13:32:16Z",
430+
isActive: true,
431+
imageType: ImageType.SVG,
432+
darkStyle: {
433+
filter: "brightness(0.3)",
434+
background:
435+
'url("/svg/sentry-dark.svg") 0% 0% / contain no-repeat content-box',
436+
},
437+
lightStyle: {
438+
filter: "invert(0.6)",
439+
background:
440+
'url("/svg/sentry-light.svg") 0% 0% / contain no-repeat content-box',
441+
},
442+
},
417443
{
418444
tier: {
419445
name: "$1000 a month",
@@ -441,5 +467,5 @@ export const asideSponsors: ISponsor[] = [
441467
background:
442468
'url("/images/mooncake.png") 0% 0% / contain no-repeat content-box',
443469
},
444-
}
470+
},
445471
];

src/data/custom-sponsors.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,30 @@ export const customSponsors: ISponsor[] = [
511511
isActive: true,
512512
imageType: ImageType.SVG,
513513
},
514+
{
515+
tier: {
516+
name: "$1000 a month",
517+
isOneTime: false,
518+
},
519+
sponsorEntity: {
520+
__typename: "Organization",
521+
login: "driz.link/sentry",
522+
name: "Sentry",
523+
avatarUrl:
524+
'<svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>',
525+
},
526+
createdAt: "2025-01-23T16:35:56Z",
527+
isActive: true,
528+
imageType: ImageType.SVG,
529+
darkStyle: {
530+
background:
531+
'url("/svg/sentry-dark.svg") 0% 0% / cover no-repeat content-box',
532+
},
533+
lightStyle: {
534+
background:
535+
'url("/svg/sentry-light.svg") 0% 0% / cover no-repeat content-box',
536+
},
537+
},
514538
{
515539
tier: {
516540
name: "$1000 a month",

src/ui/components/AsideSponsors.astro

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -436,18 +436,7 @@ for (let i = 0; i < goldSponsors.length - 1; i += 2) {
436436
}
437437
}
438438

439-
@media screen and (max-height: 902px) {
440-
body:has(#banner) .aside-sponsors__sponsor {
441-
height: 62px;
442-
}
443-
444-
body:has(#banner) .aside-sponsors__sponsor-image {
445-
height: 40px;
446-
width: 40px;
447-
}
448-
}
449-
450-
@media screen and (max-height: 860px) {
439+
@media screen and (max-height: 935px) {
451440
body:not(:has(#banner)) .aside-sponsors__sponsor {
452441
height: 62px;
453442
}

src/ui/components/Toasts.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ const toasts = [
253253
}
254254
}
255255

256-
@media screen and (max-height: 766px) {
256+
@media screen and (max-height: 828px) {
257257
body:not(:has(#banner)) .toasts-wrap {
258258
display: none;
259259
}

0 commit comments

Comments
 (0)