Skip to content

Commit 00dab74

Browse files
committed
Add new gold sponsor
1 parent 39d745b commit 00dab74

File tree

6 files changed

+33
-28
lines changed

6 files changed

+33
-28
lines changed

public/svg/gibsonai-dark.svg

Lines changed: 8 additions & 0 deletions
Loading

public/svg/gibsonai-light.svg

Lines changed: 8 additions & 0 deletions
Loading

src/data/aside-sponsors.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -471,25 +471,23 @@ export const asideSponsors: ISponsor[] = [
471471
},
472472
sponsorEntity: {
473473
__typename: "Organization",
474-
login: "driz.link/mooncake",
475-
name: "Mooncake",
474+
login: "driz.link/gibsonai",
475+
name: "GibsonAI",
476476
avatarUrl:
477477
'<svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>',
478478
},
479479
createdAt: "2024-06-07T13:32:16Z",
480480
isActive: true,
481481
imageType: ImageType.SVG,
482482
darkStyle: {
483-
padding: "4px",
484483
filter: "grayscale(1) brightness(2) opacity(0.2)",
485484
background:
486-
'url("/images/mooncake-white.png") 0% 0% / contain no-repeat content-box',
485+
'url("/svg/gibsonai-dark.svg") 0% 0% / contain no-repeat content-box',
487486
},
488487
lightStyle: {
489-
padding: "4px",
490488
filter: "grayscale(1) opacity(0.4)",
491489
background:
492-
'url("/images/mooncake.png") 0% 0% / contain no-repeat content-box',
490+
'url("/svg/gibsonai-light.svg") 0% 0% / contain no-repeat content-box',
493491
},
494492
},
495493
{

src/data/custom-sponsors.ts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,7 @@ export const customSponsors: ISponsor[] = [
314314
__typename: "Organization",
315315
login: "driz.link/edgedb",
316316
name: "Gel",
317-
avatarUrl:
318-
`<svg xmlns="http://www.w3.org/2000/svg" width="200" height="154" viewBox="0 0 200 154" fill="none">
317+
avatarUrl: `<svg xmlns="http://www.w3.org/2000/svg" width="200" height="154" viewBox="0 0 200 154" fill="none">
319318
<path d="M0 68.6C0 90.4 17.8499 108 39.9594 108C61.8661 108 79.9189 90.4 79.9189 68.6C79.9189 47 61.8661 29.2 39.9594 29.2C17.8499 29.2 0 47 0 68.6ZM171.197 14C171.197 6.6 177.485 0 185.396 0C193.306 0 200 6.6 200 14V94C200 101.4 193.306 108 185.396 108C177.485 108 171.197 101.4 171.197 94V14ZM10.5477 127.6C12.1704 141.4 23.7323 154 39.9594 154C55.9838 154 67.9513 141.4 69.574 127.6C71.8053 107.6 53.3469 114.2 39.9594 114.2C26.572 114.2 8.31643 107.6 10.5477 127.6ZM139.351 74.2C140.771 71 144.422 69 151.521 69C162.677 68.8 167.14 61.6 161.258 50.2C157.201 42.4 150.913 36.4 142.394 32.6C122.312 23.8 98.5801 32.8 89.6552 52.6C80.7302 72.2 89.6552 95.6 109.939 104.6C118.458 108.2 126.978 108.8 135.7 106.6C148.276 103.2 150.913 95 143.408 86.8C138.742 81.4 137.728 77.6 139.351 74.2Z" fill="url(#paint0_linear_59_46)"/>
320319
<defs>
321320
<linearGradient id="paint0_linear_59_46" x1="250.254" y1="0" x2="250.254" y2="154" gradientUnits="userSpaceOnUse">
@@ -333,7 +332,7 @@ export const customSponsors: ISponsor[] = [
333332
},
334333
lightStyle: {
335334
padding: "12px",
336-
}
335+
},
337336
},
338337
{
339338
tier: {
@@ -558,19 +557,21 @@ export const customSponsors: ISponsor[] = [
558557
},
559558
sponsorEntity: {
560559
__typename: "Organization",
561-
login: "driz.link/mooncake",
562-
name: "Mooncake",
563-
avatarUrl: "/images/mooncake.png",
560+
login: "driz.link/gibsonai",
561+
name: "GibsonAI",
562+
avatarUrl:
563+
'<svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg"></svg>',
564564
},
565565
createdAt: "2024-08-13T16:35:56Z",
566566
isActive: true,
567-
imageType: ImageType.IMAGE,
567+
imageType: ImageType.SVG,
568568
darkStyle: {
569-
filter: "invert(1)",
570-
padding: "9px",
569+
background:
570+
'url("/svg/gibsonai-dark.svg") 0% 0% / contain no-repeat content-box',
571571
},
572572
lightStyle: {
573-
padding: "9px",
574-
}
573+
background:
574+
'url("/svg/gibsonai-light.svg") 0% 0% / contain no-repeat content-box',
575+
},
575576
},
576577
];

src/ui/components/AsideSponsors.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ const goldSponsors = asideSponsors.filter(
366366
}
367367
}
368368

369-
@media screen and (max-height: 891px) {
369+
@media screen and (max-height: 964px) {
370370
.aside-sponsors__sponsor--hide {
371371
display: none;
372372
}

src/ui/components/RightAside.astro

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,13 @@
11
---
2-
import { Image } from "astro:assets";
32
import AsideArticle from "./AsidePosts.astro";
43
import AsideSponsors from "./AsideSponsors.astro";
54
import SmallProgressBar from "./SmallProgressBar.astro";
65
import progress from "../../data/progress";
76
import Toasts from "./Toasts.astro";
8-
import MSSQL from "@/assets/images/mssql.png";
97
---
108

119
<div class="aside-right">
1210
<div class="aside-right__content">
13-
<a
14-
class="mssql-wrap"
15-
target="_blank"
16-
rel="norefferer nofollow"
17-
href="https://mssql.drizzle.team/"
18-
>
19-
<Image src={MSSQL} alt="MSSQL Drizzle" />
20-
</a>
2111
<div class="progress-wrap">
2212
<SmallProgressBar progress={progress} />
2313
</div>

0 commit comments

Comments
 (0)