Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/components/SponsorLogo.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const {
name: title,
url: website,
tier,
event_name,
logo_padding = false,
} = sponsor.data;

Expand All @@ -27,7 +28,7 @@ const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier
<div
class="lg:max-w-[400px] flex flex-col p-6 bg-white"
>
<div class="w-full flex justify-center items-center md:items-center">
<div class="w-full grid text-center justify-center items-center md:items-center">
{
website && slug ? (

Expand Down Expand Up @@ -56,5 +57,8 @@ const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier
}}
/>
}
{ tier == "Special Event" && event_name &&
<span class="">{event_name}</span>
}
</div>
</div>
3 changes: 2 additions & 1 deletion src/components/sections/sponsors/sponsors.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const tiers = [
"Startups",
"Bronze",
"Patron",
"Special Event",
"Financial Aid",
"Supporters",
"Partners",
Expand Down Expand Up @@ -77,7 +78,7 @@ const sponsorTiers = tiers
{
sponsorTiers.map((tier, index) => (
<Fragment>
<SponsorTier tier={tier} level={index} />
<SponsorTier tier={tier} level={index} />
{index !== sponsorTiers.length - 1 && <hr />}
</Fragment>
))
Expand Down
1 change: 1 addition & 0 deletions src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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([]),
Expand Down
1 change: 1 addition & 0 deletions src/content/sponsors/anaconda/anaconda.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions src/content/sponsors/anaconda/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: "Anaconda"
url: "https://.com"
location: ""
industry: ""
description: "asda"
socials:
linkedin:
twitter:
github:
discord:
mastodon:
bluesky:
tier: Special Event
event_name: Open Spaces & Sprints
logo_padding: 30px 10px
---