Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion src/components/SocialLinks.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const socialMap = {
};
---

<div class=`social-links flex justify-center space-x-4 ${className}`>
<div class=`social-links flex justify-center space-x-4 ${className} h-[36px]`>
{
Object.entries(socialMap)
.filter(([key]) => socials?.[key])
Expand Down
13 changes: 8 additions & 5 deletions src/components/SponsorCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const logo = sponsorLogos[sponsor.id];
{
description && (
<div class="flex-1">
<h2 class="text-2xl font-bold mb-2 ">
<h2 id=`sponsor-${sponsorId}` class="sponsor text-2xl font-bold mb-2 ">
{ !isSponsorPage && tier !== 'Partners' ?
<a href={`/sponsor/${sponsor.id}`}>
{title}
Expand Down Expand Up @@ -95,10 +95,15 @@ const logo = sponsorLogos[sponsor.id];
)}


</div>
)
}
<div>

{(tier !== "Partners") && website && (
<div class="website-btn-container flex flex-col sm:flex-row justify-center gap-2 mt-4">

{ !isSponsorPage && sponsor.body &&
{ !isSponsorPage && sponsor.body && tier && ["Gold", "Platinum"].includes(tier) &&
<a href={`/sponsor/${sponsor.id}`} class="website-btn-outline">
About {title}
</a>
Expand All @@ -114,9 +119,7 @@ const logo = sponsorLogos[sponsor.id];
{ (tier !== "Partners") &&
<SocialLinks socials={socials} />
}
</div>
)
}
</div>
</div>

<style>
Expand Down
2 changes: 1 addition & 1 deletion src/components/SponsorDisplay.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { sponsorDisplay } from "@data/sponsorDisplay";
const image = sponsorDisplay[sponsor.id]
---

{ image &&
{ sponsor.data.tier == "Platinum" && image &&
<section class="space-y-12 pb-6 overflow-hidden">
<Image
src={image}
Expand Down
9 changes: 6 additions & 3 deletions src/components/SponsorLogo.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,13 @@ if (!sponsor) {
const {
name: title,
url: website,
tier,
logo_padding = false,
} = sponsor.data;

const logo = sponsorLogos[sponsor.id];
const slug = tier==="Partners"? `/community-partners#sponsor-${sponsorId}`: tier==="Platinum" ? `/sponsor/${sponsorId}` : `/sponsors#sponsor-${sponsorId}`

---

<div
Expand All @@ -28,13 +31,13 @@ const logo = sponsorLogos[sponsor.id];
{
website ? (

<a href={website} target="_blank" aria-label={`Link to ${title}`}
<a href={slug} aria-label={`Link to ${title}`}
>
<Image
src={logo}
alt={`${title} Logo`}
style={{
minWidth: "250px",
minWidth: "170px",
maxHeight: "120px",
objectFit: "contain",
padding: logo_padding ? logo_padding : undefined,
Expand All @@ -46,7 +49,7 @@ const logo = sponsorLogos[sponsor.id];
src={logo}
alt={`${title} Logo`}
style={{
minWidth: "250px",
minWidth: "170px",
maxHeight: "120px",
objectFit: "contain",
padding: logo_padding ? logo_padding : undefined,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export interface Props {
sponsors: Sponsor[];
};

top?: boolean;
level: number;
}

const { tier, top } = Astro.props;
const { tier, level = 2} = Astro.props;
---

<div class="relative">
Expand All @@ -27,9 +27,11 @@ const { tier, top } = Astro.props;
<div
class:list={[
"grid ml-12 items-center justify-items-center",
`level-${level}`,
{
"grid-cols-1 md:grid-cols-2 lg:grid-cols-3": !top,
"grid-cols-1 md:grid-cols-2": top,
"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-80": level > 0 && level << 6,
"grid-cols-2 md:grid-cols-3 lg:grid-cols-4 [&>*]:scale-80" : level===6,
},
]}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,15 @@ const topTier = sponsorTiers.find((tier) => tier.name === "Keystone");
<div class="mt-4 text-center">
<Button url="/sponsor">Become a sponsor</Button>
</div>
{
topTier && topTier.sponsors.length > 0 && (
<SponsorTier tier={topTier} top={true} />
)
}
</div>

{sponsorTiers.length > 0 && <hr />}

<div class="">
<div >
{
sponsorTiers.map((tier, index) => (
<Fragment>
<SponsorTier tier={tier} top={tier.name === "Platinum"} />
<SponsorTier tier={tier} level={index} />
{index !== sponsorTiers.length - 1 && <hr />}
</Fragment>
))
Expand Down
2 changes: 1 addition & 1 deletion src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ const sponsors = defineCollection({
schema: z.object({
name: z.string(),
url: z.string().url(),
tier: z.string().nullable(),
tier: z.string(),
location: z.string().optional(),
industry: z.string().optional(),
description: z.string().optional(),
Expand Down
Binary file modified src/content/sponsors/arm/display.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions src/content/sponsors/arm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ socials:

tier: Gold
logo_padding: 35px
draft: true
---

## About Arm
# About Arm

Born more than 30 years ago with the goal of designing a computer intended to
run on a battery, Arm has become a global compute platform delivering advanced
Expand Down
3 changes: 1 addition & 2 deletions src/content/sponsors/ataccama/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ socials:
twitter: "https://x.com/ataccama?lang=en"
facebook: "https://www.facebook.com/Ataccama/"
tier: Silver
draft: true
---

## About Ataccama
# About Ataccama

Ataccama ONE is a unified data trust platform for enterprise data leaders that
combines data quality, observability, lineage, governance and master data
Expand Down
4 changes: 1 addition & 3 deletions src/content/sponsors/bloomberg/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ socials:
twitter: "https://x.com/TechAtBloomberg"
tier: Platinum
logo_padding: 10px 0px

draft: true
---

## About Bloomberg
# About Bloomberg

Bloomberg is a global leader in business and financial information, delivering
trusted data, news, and insights that bring transparency, efficiency, and
Expand Down
3 changes: 1 addition & 2 deletions src/content/sponsors/eps/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ socials:
mastodon:
bluesky:
tier: Financial Aid
draft: true
---

## About EuroPython Society
# About EuroPython Society

The EuroPython Society (EPS) is a Swedish non-profit organization dedicated to
supporting Python communities across Europe and organizing EuroPython
Expand Down
3 changes: 1 addition & 2 deletions src/content/sponsors/evolabel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ socials:
bluesky:
tier: Supporters
logo_padding: 30px 0
draft: true
---

## About Evolabel
# About Evolabel

Evolabel focuses on democratizing AI through efficient data annotation tools and
workflows. Though 2025 updates are sparse, its role in enabling accurate machine
Expand Down
3 changes: 1 addition & 2 deletions src/content/sponsors/jetbrains/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ socials:
bluesky:
tier: Gold
logo_padding: 20px 10px
draft: true
---

## About JetBrains
# About JetBrains

JetBrains is a global leader in developer productivity tools, offering solutions
for Python, Java, JavaScript, and more. In 2025, it supported community events
Expand Down
4 changes: 1 addition & 3 deletions src/content/sponsors/microsoft/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ socials:
bluesky: "https://bsky.app/profile/visualstudio.com"
tier: Platinum
logo_padding: 10px 0px

draft: true
---

## About Microsoft
# About Microsoft

Open Source enables Microsoft products and services to bring choice, technology
and community to our customers.
3 changes: 1 addition & 2 deletions src/content/sponsors/picnic/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ socials:
mastodon:
bluesky:
tier: Gold
draft: true
---

## About Picnic
# About Picnic

Picnic leverages AI and automation to streamline grocery delivery, reducing
costs and environmental impact. Though not explicitly tied to 2025 events in
Expand Down
3 changes: 1 addition & 2 deletions src/content/sponsors/pretalx/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ socials:
mastodon:
bluesky:
tier: Supporters
draft: true
---

## About Pretalx
# About Pretalx

Pretalx simplifies event logistics with a free, privacy-focused tool for
call-for-papers, scheduling, and attendee engagement. It powers conferences like
Expand Down
3 changes: 1 addition & 2 deletions src/content/sponsors/pretix/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ socials:
mastodon:
bluesky:
tier: Silver
draft: true
---

## About Pretix
# About Pretix

Pretix enables event organizers to manage ticket sales and registrations without
vendor lock-in. Its open-source model and focus on data protection make it a
Expand Down
3 changes: 1 addition & 2 deletions src/content/sponsors/sentry/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ socials:
bluesky:
tier: Bronze
logo_padding: 20px 0
draft: true
---

## About Sentry
# About Sentry

Sentry’s platform streamlines debugging and performance monitoring for apps
across platforms. Though 2025 partnerships aren’t listed here, its integration
Expand Down
3 changes: 1 addition & 2 deletions src/content/sponsors/snowflake/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@ socials:
bluesky:
tier: Silver
logo_padding: 20px 0
draft: true
---

## About Snowflake
# About Snowflake

Snowflake’s data platform enables organizations to store, process, and analyze
massive datasets efficiently. Though no 2025 event ties are listed, its role in
Expand Down
3 changes: 1 addition & 2 deletions src/content/sponsors/travelperk/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,9 @@ socials:
instagram: https://www.instagram.com/travelperk
tier: Gold
logo_padding: 20px 20px
draft: true
---

## About TravelPerk
# About TravelPerk

TravelPerk is a travel-management company that provides companies with a variety
of travel- and expense-management services. A business travel platform that
Expand Down
3 changes: 2 additions & 1 deletion src/pages/community-partners.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { getCollection } from "astro:content";
import Layout from "@layouts/SectionLayout.astro";
import SponsorCard from "@components/SponsorCard.astro";
import Headline from "@ui/Headline.astro";
import Button from "@ui/Button.astro";

const sponsors = (await getCollection("sponsors", ({ data }) => {
const isProd = import.meta.env.MODE === "production";
Expand Down Expand Up @@ -31,5 +32,5 @@ const sponsors = (await getCollection("sponsors", ({ data }) => {
</div>
)}
<p class="pb-5">
Are you a Python Community organiser, interested in knowing more about EuroPython Society? Feel free to reach out at [email protected]!
Are you a Python Community organiser, interested in knowing more about EuroPython Society? Feel free to reach out at <Button custom class="font-bold text-button-active hover:underline" url="mailto:[email protected]">[email protected]</Button>!
</p></Layout>
2 changes: 1 addition & 1 deletion src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Week from "@sections/updates/week.astro";
import Keynoters from "@sections/keynoters/keynoters.astro";
import Speakers from "@sections/speakers.astro";
import Prague from "@sections/prague.astro";
import Sponsors from "@components/sponsors/sponsors.astro";
import Sponsors from "@sections/sponsors/sponsors.astro";
import Subscribe from "@sections/subscribe.astro";
---

Expand Down
3 changes: 2 additions & 1 deletion src/pages/sponsor/[sponsor]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export async function getStaticPaths() {
const isProduction = import.meta.env.MODE === "production";

const sponsors = await getCollection("sponsors", ({ data }) =>
data.tier !== "Partners" && (isProduction ? data.draft !== true : true)
data.tier && ["Gold", "Platinum"].includes(data.tier) && (isProduction ? data.draft !== true : true)
);

return sponsors.map((sponsor: any) => ({
Expand All @@ -29,6 +29,7 @@ export async function getStaticPaths() {
title="EuroPython 2025 | July 14th-20th 2025 | Prague, Czech Republic & Remote"
description="EuroPython is the largest Python conference in Europe. We are looking forward to seeing you in Prague, Czech Republic & Remote from July 14th-20th 2025."
>
<h1>
<SponsorDisplay {sponsor} />
<TwoCols>
<Fragment slot="content">
Expand Down
Loading