diff --git a/src/components/SponsorLogo.astro b/src/components/SponsorLogo.astro
index 4412b66c4..01430bdff 100644
--- a/src/components/SponsorLogo.astro
+++ b/src/components/SponsorLogo.astro
@@ -3,7 +3,7 @@ import { getEntry } from "astro:content";
import { Image } from "astro:assets";
import { sponsorLogos } from "@data/sponsorLogos";
-const { sponsor: sponsorId } = Astro.props;
+const { sponsor: sponsorId, special_event=false } = Astro.props;
const sponsor = await getEntry("sponsors", sponsorId);
@@ -16,6 +16,7 @@ const {
name: title,
url: website,
tier,
+ event_name,
logo_padding = false,
} = sponsor.data;
@@ -27,7 +28,7 @@ const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier
-
+
{
website && slug ? (
@@ -56,5 +57,8 @@ const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier
}}
/>
}
+ { special_event && event_name &&
+ {event_name}
+ }
diff --git a/src/components/sections/sponsors/sponsor-tier.astro b/src/components/sections/sponsors/sponsor-tier.astro
index e9abc7216..274b964c8 100644
--- a/src/components/sections/sponsors/sponsor-tier.astro
+++ b/src/components/sections/sponsors/sponsor-tier.astro
@@ -14,6 +14,7 @@ export interface Props {
}
const { tier, level = 2} = Astro.props;
+const special_event = tier.name === "Special Event";
---
@@ -30,15 +31,15 @@ const { tier, level = 2} = Astro.props;
`level-${level}`,
{
"grid-cols-1 md:grid-cols-2 m-20 [&>*]:scale-110": level===0,
- "grid-cols-1 md:grid-cols-2 lg:grid-cols-3 [&>*]:scale-90": level > 0 && level << 6,
- "grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [&>*]:scale-90" : level===6,
- "grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [&>*]:scale-85" : level>6,
+ "grid-cols-1 md:grid-cols-2 lg:grid-cols-3 [&>*]:scale-90": level > 0 && level < 6,
+ "grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [&>*]:scale-70" : level >= 6 && level < 7,
+ "grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [&>*]:scale-85" : level >= 7,
},
]}
>
{
tier.sponsors.map((sponsor) => (
-
+
))
}
diff --git a/src/components/sections/sponsors/sponsors.astro b/src/components/sections/sponsors/sponsors.astro
index edd2700fe..e8a15ce74 100644
--- a/src/components/sections/sponsors/sponsors.astro
+++ b/src/components/sections/sponsors/sponsors.astro
@@ -17,6 +17,7 @@ const tiers = [
"Startups",
"Bronze",
"Patron",
+ "Special Event",
"Financial Aid",
"Supporters",
"Partners",
@@ -29,9 +30,21 @@ let hasSponsors = false;
const sponsorTiers = tiers
.map((tier) => {
- const tierSponsors = sponsors.filter(
- (sponsor) => sponsor.data.tier === tier,
- );
+ const tierSponsors = sponsors.filter((sponsor) => {
+ // Original tier matching
+ if (sponsor.data.tier === tier) {
+ return true;
+ }
+
+ // Also include in "Special Event" if sponsor has event_name
+ if (tier === "Special Event" &&
+ sponsor.data.event_name &&
+ sponsor.data.event_name.trim() !== "") {
+ return true;
+ }
+
+ return false;
+ });
if (tierSponsors.length > 0) {
hasSponsors = true;
@@ -77,7 +90,7 @@ const sponsorTiers = tiers
{
sponsorTiers.map((tier, index) => (
-
+
{index !== sponsorTiers.length - 1 &&
}
))
diff --git a/src/content/config.ts b/src/content/config.ts
index 6b2f6916f..35621b6c0 100644
--- a/src/content/config.ts
+++ b/src/content/config.ts
@@ -226,6 +226,7 @@ const sponsors = defineCollection({
youtube: z.string().url().optional().nullable(),
})
.optional(),
+ event_name: z.string().optional().nullable(),
logo_padding: z.string().optional(),
draft: z.boolean().optional().default(false),
jobs: z.array(reference("jobs")).optional().default([]),
diff --git a/src/content/sponsors/anaconda/anaconda.svg b/src/content/sponsors/anaconda/anaconda.svg
new file mode 100644
index 000000000..dd34933b4
--- /dev/null
+++ b/src/content/sponsors/anaconda/anaconda.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/content/sponsors/anaconda/index.md b/src/content/sponsors/anaconda/index.md
new file mode 100644
index 000000000..7e9ba5f29
--- /dev/null
+++ b/src/content/sponsors/anaconda/index.md
@@ -0,0 +1,21 @@
+---
+name: Anaconda
+url: https://www.anaconda.com
+description:
+ "Anaconda is built to advance AI with open source at scale, giving builders
+ and organizations the confidence to increase productivity, and save time,
+ spend and risk associated with open source. "
+socials:
+ linkedin: "https://www.linkedin.com/company/anacondainc"
+ twitter: "https://x.com/anacondainc"
+ github: "https://github.com/ContinuumIO"
+ discord: "https://discord.com/invite/3zWZbsEx7A"
+ mastodon:
+ bluesky:
+ facebook: "https://www.facebook.com/anacondainc"
+ instagram: "https://www.instagram.com/anaconda_inc/"
+ youtube: "https://www.youtube.com/c/ContinuumIo"
+tier: Bronze
+event_name: Open Space & Sprint
+logo_padding: "10px 0"
+---