Skip to content

Commit b7561cf

Browse files
committed
+
1 parent 6277751 commit b7561cf

File tree

6 files changed

+71
-5
lines changed

6 files changed

+71
-5
lines changed

public/images/mooncake-white.png

39.2 KB
Loading

public/images/mooncake.png

30.6 KB
Loading

src/data/aside-sponsors.ts

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,4 +326,48 @@ export const asideSponsors: ISponsor[] = [
326326
background: 'url("/svg/single_store_light.svg") 0% 0% / cover no-repeat content-box',
327327
},
328328
},
329+
{
330+
tier: {
331+
name: "$1000 a month",
332+
isOneTime: false,
333+
},
334+
sponsorEntity: {
335+
__typename: "Organization",
336+
login: "mooncake.dev",
337+
name: "Mooncake",
338+
avatarUrl:
339+
'<svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>',
340+
},
341+
createdAt: "2024-06-07T13:32:16Z",
342+
isActive: true,
343+
imageType: ImageType.SVG,
344+
darkStyle: {
345+
padding: "4px",
346+
filter: "grayscale(1) brightness(2) opacity(0.2)",
347+
background:
348+
'url("/images/mooncake-white.png") 0% 0% / contain no-repeat content-box',
349+
},
350+
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',
355+
},
356+
},
357+
{
358+
tier: {
359+
name: "$1000 a month",
360+
isOneTime: false,
361+
},
362+
sponsorEntity: {
363+
__typename: "Organization",
364+
login: "driz.link/sponsor",
365+
name: "Sponsor",
366+
avatarUrl:
367+
'<svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>',
368+
},
369+
createdAt: "2024-08-13T16:35:56Z",
370+
isActive: true,
371+
imageType: ImageType.IMAGE,
372+
}
329373
];

src/data/custom-sponsors.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,5 +446,27 @@ export const customSponsors: ISponsor[] = [
446446
darkStyle: {
447447
filter: "invert(1)",
448448
},
449+
},
450+
{
451+
tier: {
452+
name: "$1000 a month",
453+
isOneTime: false,
454+
},
455+
sponsorEntity: {
456+
__typename: "Organization",
457+
login: "mooncake.dev",
458+
name: "Mooncake",
459+
avatarUrl: "/images/mooncake.png",
460+
},
461+
createdAt: "2024-08-13T16:35:56Z",
462+
isActive: true,
463+
imageType: ImageType.IMAGE,
464+
darkStyle: {
465+
filter: "invert(1)",
466+
padding: "9px",
467+
},
468+
lightStyle: {
469+
padding: "9px",
470+
}
449471
}
450472
];

src/ui/components/AsideSponsors.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -417,18 +417,18 @@ for (let i = 0; i < goldSponsors.length - 1; i += 2) {
417417
opacity: 1;
418418
}
419419

420-
@media screen and (max-height: 826px) {
420+
@media screen and (max-height: 902px) {
421421
body:has(#banner) .aside-sponsors__sponsor {
422422
height: 62px;
423423
}
424424

425-
.aside-sponsors__sponsor-image {
425+
body:has(#banner) .aside-sponsors__sponsor-image {
426426
height: 40px;
427427
width: 40px;
428428
}
429429
}
430430

431-
@media screen and (max-height: 790px) {
431+
@media screen and (max-height: 860px) {
432432
body:not(:has(#banner)) .aside-sponsors__sponsor {
433433
height: 62px;
434434
}

src/ui/components/Toasts.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,13 +246,13 @@ const toasts = [
246246
text-align: center;
247247
}
248248

249-
@media screen and (max-height: 742px) {
249+
@media screen and (max-height: 804px) {
250250
body:has(#banner) .toasts-wrap {
251251
display: none;
252252
}
253253
}
254254

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

0 commit comments

Comments
 (0)