-
Notifications
You must be signed in to change notification settings - Fork 73
add media partners #1665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dariagrudzien
wants to merge
4
commits into
ep2026
Choose a base branch
from
daria/media-partners-2
base: ep2026
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
add media partners #1665
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| --- | ||
| import { getCollection } from "astro:content"; | ||
| import Section2 from "@ui/Section2.astro"; | ||
| import Title from "@ui/Title.astro"; | ||
| import Button from "@ui/Button.astro"; | ||
| import SponsorLogo from "@components/SponsorLogo.astro"; | ||
|
|
||
|
|
||
| const partners = (await getCollection("sponsors", ({ data }) => { | ||
| const isProd = import.meta.env.MODE === "production"; | ||
| const notDraft = !isProd || data.draft !== true; | ||
| const isMediaPartner = data.tier === "Media Partners"; | ||
| return notDraft && isMediaPartner; | ||
| })).sort((a, b) => a.data.name.localeCompare(b.data.name)); | ||
|
|
||
| const sectionSubtitle = "Meet the media organisations supporting EuroPython 2026"; | ||
| --- | ||
|
|
||
| <Section2 id="media-partners" variant="light"> | ||
|
|
||
| <div class="media-partners-header"> | ||
| <Title id="media-partners" color="var(--color-black)">Media Partners</Title> | ||
| </div> | ||
| <div class="text-center mb-12"> | ||
| <p class="text-lg text-gray-600 max-w-2xl mx-auto">{sectionSubtitle}</p> | ||
| </div> | ||
| <div class="mt-10 text-center"> | ||
| <Button url="/media-partners">Learn more about our media partners</Button> | ||
| </div> | ||
|
|
||
| <div class="partners-grid grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 xl:grid-cols-5 gap-8 "> | ||
| {partners.map((partner) => ( | ||
| <SponsorLogo sponsor={partner.id} /> | ||
| ))} | ||
| </div> | ||
|
|
||
| </Section2> | ||
|
|
||
| <style> | ||
|
|
||
| .media-partners-header { | ||
| text-align: center; | ||
| margin-bottom: 2.5rem; | ||
| } | ||
|
|
||
| .partners-grid { | ||
| animation: fadeInUp 0.6s ease-out; | ||
| } | ||
|
|
||
| @keyframes fadeInUp { | ||
| from { | ||
| opacity: 0; | ||
| transform: translateY(30px); | ||
| } | ||
| to { | ||
| opacity: 1; | ||
| transform: translateY(0); | ||
| } | ||
| } | ||
|
|
||
| .container { | ||
| max-width: 1150px; | ||
| } | ||
| </style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| --- | ||
| name: ArjanCodes | ||
| url: https://www.arjancodes.com/ | ||
| location: "World" | ||
| industry: "Technology" | ||
| description: | ||
| "ArjanCodes helps software developers and engineering teams build better | ||
| software through practical education, training, and content. Founded by | ||
| software developer, educator, and entrepreneur Arjan Egges, ArjanCodes draws | ||
| on more than 20 years of experience in software development and teaching. | ||
| Through its YouTube channel, online courses, and corporate training programs, | ||
| ArjanCodes has helped millions of developers improve their coding, | ||
| architecture, and software design skills." | ||
| socials: | ||
| linkedin: "https://www.linkedin.com/company/84778227" | ||
| twitter: "https://x.com/arjancodes" | ||
| youtube: "https://www.youtube.com/arjancodes" | ||
| instagram: "https://www.instagram.com/arjancodes/" | ||
| github: "https://github.com/arjancodes" | ||
| facebook: "https://www.facebook.com/arjancodes" | ||
| discord: "https://discord.com/invite/K9CKfWrX4A" | ||
| logo_padding: 10px | ||
| tier: Media Partners | ||
| --- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| --- | ||
| name: Django Chat | ||
| url: https://djangochat.com/ | ||
| location: "World" | ||
| industry: "Technology & Education" | ||
| description: | ||
| "Django Chat is a podcast about the Django web framework, hosted by William | ||
| Vincent and Carlton Gibson. Each episode covers Django internals, best | ||
| practices, and interviews with developers and contributors who are shaping the | ||
| Django ecosystem. It's an essential listen for anyone building with Django or | ||
| looking to deepen their understanding of Python web development." | ||
| logo_padding: 10px | ||
| tier: Media Partners | ||
| --- |
123 changes: 123 additions & 0 deletions
123
src/content/sponsors/hackerspace-wroclaw/hackerspace-wroclaw.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| --- | ||
| name: Hackerspace Wrocław | ||
| url: https://hswro.org/ | ||
| location: Poland | ||
| industry: "Technology & Community" | ||
| description: | ||
| "Hackerspace Wrocław is a community of technology enthusiasts that has existed | ||
| in Wrocław for over 11 years. Our weekly Wednesday meetings are a perfect | ||
| opportunity to meet people fascinated by retro computing, amateur radio, | ||
| programming, electronics, woodworking and metalworking, as well as many other, | ||
| often surprising, things." | ||
| socials: | ||
| facebook: "https://www.facebook.com/HackerspaceWroclaw" | ||
| mastodon: "https://mastodon.radio/@SP6HACK" | ||
| logo_padding: 10px | ||
| tier: Media Partners | ||
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| --- | ||
| name: Paged Out! | ||
| url: https://pagedout.institute/ | ||
| location: World | ||
| industry: "Technology & Community" | ||
| description: | ||
| "Paged Out! is a free experimental (one article == one page) technical | ||
| magazine about programming (especially programming tricks!), hacking, security | ||
| hacking, retro computers, modern computers, electronics, demoscene, and other | ||
| similar topics. It's made by the community for the community." | ||
| socials: | ||
| linkedin: "https://www.linkedin.com/company/paged-out" | ||
| twitter: "https://x.com/pagedout_zine" | ||
| bluesky: "https://bsky.app/profile/pagedout.bsky.social" | ||
| logo_padding: 10px | ||
| tier: Media Partners | ||
| --- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| --- | ||
| name: Real Python Podcast | ||
| url: https://realpython.com/podcasts/rpp/ | ||
| location: "World" | ||
| industry: "Technology & Education" | ||
| description: | ||
| "The Real Python Podcast is a weekly Python podcast hosted by Christopher | ||
| Bailey, featuring interviews with Python developers, educators, and community | ||
| members from around the world. Each episode dives into topics ranging from | ||
| Python best practices and tools, to career advice and open source projects, | ||
| making it a go-to resource for Pythonistas of all skill levels." | ||
| socials: | ||
| twitter: "https://x.com/realpython" | ||
| youtube: "https://www.youtube.com/@realpython" | ||
| github: "https://github.com/realpython" | ||
| facebook: "https://www.facebook.com/LearnRealPython" | ||
| logo_padding: 10px | ||
| tier: Media Partners | ||
| --- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have second thoughts about this part. I added it to be able to display partners before adding a logo, but I guess we want the build to fail explicitly when we forgot to add a photo before pushing to prod?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I think failing the build if something is missing is better than gracefully handling it 😅
but that's just my general preference.
It's better to explicitly add some generic placeholder in the data than handle that in code, and then make the code require a logo.