Skip to content

Commit ef07105

Browse files
nikoshellpre-commit-ci[bot]clytaemnestra
authored
Add media partners and startups tier. (#1317)
Startups tier and Media Partners added to main page. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Mia Bajić <[email protected]>
1 parent 7cf3eb9 commit ef07105

File tree

18 files changed

+163
-14
lines changed

18 files changed

+163
-14
lines changed

src/components/SponsorLogo.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const {
2020
} = sponsor.data;
2121
2222
const logo = sponsorLogos[sponsor.id];
23-
const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier==="Platinum" ? `/sponsor/${sponsorId}` : `/sponsors#sponsor-${sponsorId}`
23+
const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier==="Platinum" ? `/sponsor/${sponsorId}` : tier==="Media Partners" ? `/media-partners#sponsor-${sponsorId}` : tier==="Startups" ? `/startups#sponsor-${sponsorId}` : ""
2424
2525
---
2626

@@ -29,7 +29,7 @@ const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier
2929
>
3030
<div class="w-full flex justify-center items-center md:items-center">
3131
{
32-
website ? (
32+
website && slug ? (
3333

3434
<a href={slug} aria-label={`Link to ${title}`}
3535
>

src/components/sections/sponsors/sponsor-tier.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ const { tier, level = 2} = Astro.props;
3030
`level-${level}`,
3131
{
3232
"grid-cols-1 md:grid-cols-2 m-20 [&>*]:scale-110": level===0,
33-
"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 [&>*]:scale-80": level > 0 && level << 6,
34-
"grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [&>*]:scale-80" : level===6,
33+
"grid-cols-1 md:grid-cols-2 lg:grid-cols-3 [&>*]:scale-90": level > 0 && level << 6,
34+
"grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [&>*]:scale-90" : level===6,
35+
"grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [&>*]:scale-85" : level>6,
3536
},
3637
]}
3738
>

src/components/sections/sponsors/sponsors.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ const tiers = [
1414
"Platinum X",
1515
"Gold",
1616
"Silver",
17+
"Startups",
1718
"Bronze",
1819
"Patron",
1920
"Financial Aid",
2021
"Supporters",
21-
"Partners"
22+
"Partners",
23+
"Media Partners"
2224
] as const;
2325
2426
const sponsors = await getCollection("sponsors");
Lines changed: 12 additions & 0 deletions
Loading
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: CultRepo
3+
description: ""
4+
url: https://www.youtube.com/@cultrepo
5+
socials:
6+
twitter: https://x.com/CultRepo
7+
bluesky: https://bsky.app/profile/cultrepo.bsky.social
8+
youtube: https://www.youtube.com/channel/UCsUalyRg43M8D60mtHe6YcA
9+
tier: Media Partners
10+
logo_padding: "0"
11+
---

src/content/sponsors/gel/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ socials:
1515
youtube: "https://www.youtube.com/@EdgeDB"
1616
tier: Platinum
1717
logo_padding: 5px
18-
draft: true
1918
---
2019

21-
## About Gel
20+
# About Gel
2221

2322
Gel is a scalable, integrated data platform on top of Postgres. Gel gives the
2423
relational model a fresh facelift, solves n+1, simplifies migrations, and

src/content/sponsors/google-cloud/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@ socials:
1010

1111
tier: Gold
1212
logo_padding: 15px
13-
draft: true
1413
---
1514

16-
## About Google Cloud
15+
# About Google Cloud
1716

1817
The new way to cloud starts here: Build with generative AI, deploy apps fast,
1918
and analyze data in seconds—all with Google-grade security.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
name: Junior Guru
3+
description: ""
4+
url: https://junior.guru/
5+
socials:
6+
youtube: https://www.youtube.com/@juniordotguru
7+
8+
tier: Media Partners
9+
logo_padding: 15px
10+
---

0 commit comments

Comments
 (0)