Skip to content

Update keynoters. #1278

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

Merged
merged 4 commits into from
Jun 1, 2025
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
12 changes: 4 additions & 8 deletions src/components/sections/keynoters/keynoter.astro
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
import type { ImageMetadata } from "astro";
import { getCollection } from "astro:content";
import { Image } from "astro:assets";
import Person1 from "./placeholders/person-1.astro";
import Person2 from "./placeholders/person-2.astro";
Expand All @@ -10,7 +9,7 @@ import Person5 from "./placeholders/person-5.astro";

export interface Props {
name: string;
slug: string;
url: string;
tagline?: string | undefined;
image?: ImageMetadata;
placeholder?: boolean | undefined;
Expand All @@ -20,7 +19,7 @@ export interface Props {

const {
name,
slug,
url,
tagline,
image,
placeholder,
Expand All @@ -31,9 +30,6 @@ const placeholders = [Person1, Person2, Person3, Person4, Person5];

const Placeholder =
placeholders[Math.floor(Math.random() * placeholders.length)];

const entries = await getCollection("speakers");
const isSpeaker = entries.some((entry) => entry.id === slug);
---

<li class:list={["list-none rounded-2xl overflow-clip flex group", className]}>
Expand Down Expand Up @@ -61,10 +57,10 @@ const isSpeaker = entries.some((entry) => entry.id === slug);
<p class="text-body-inverted">More keynoters coming soon</p>
) : (
<>
{isSpeaker ? (
{url ? (
<h2 class="text-[#17223A] font-bold">
<a
href={`/speaker/${slug}`}
href={url}
class="text-2xl font-bold hover:underline"
>
{name}
Expand Down
4 changes: 2 additions & 2 deletions src/components/sections/keynoters/keynoters.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const placeholders = Math.max(0, 5 - keynoters.length);
.map((keynoter, _index) => (
<Keynoter
name={keynoter.data.name}
slug={keynoter.slug}
url={keynoter.data.url || ""}
tagline={keynoter.data.tagline}
image={keynoter.data.image}
placeholder={false}
Expand All @@ -36,7 +36,7 @@ const placeholders = Math.max(0, 5 - keynoters.length);
.map((_, _index) => (
<Keynoter
name=""
slug=""
url=""
tagline=""
placeholder={true}
class:list={["w-full sm:w-[calc(50%-1rem)] md:w-[calc(30%-1rem)]"]}
Expand Down
1 change: 1 addition & 0 deletions src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ const keynoters = defineCollection({
schema: ({ image }) =>
z.object({
name: z.string(),
url: z.string().optional(),
tagline: z.string().optional(),
image: image(),
order: z.number(),
Expand Down
2 changes: 1 addition & 1 deletion src/content/keynoters/brett.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Brett Cannon
image: ./brett.jpg
slug: brett-cannon
url: /speaker/brett-cannon
tagline: CPython Core Developer & the 5th most prolific PEP (co-)author
order: 1
---
Binary file added src/content/keynoters/cultrepo.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: 2 additions & 1 deletion src/content/keynoters/documentary.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: '"Python: the Documentary" screening and Q&A'
image: ./cultrepo.svg
image: ./cultrepo.png
url: /session/python-the-documentary-screening-and-q-a
tagline: 'Keynote panel and screening of "Python: the Documentary" by CultRepo (formerly Honeypot)'
order: 6
---
2 changes: 1 addition & 1 deletion src/content/keynoters/nerea.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Nerea Luis
image: ./nerea.jpeg
slug: nerea-luis
url: /speaker/nerea-luis
tagline: Award-winning AI Consultant & Cofounder of Lumi Labs

order: 5
Expand Down
2 changes: 1 addition & 1 deletion src/content/keynoters/petr.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Petr Baudiš
image: ./petr.jpg
slug: petr-baudis
url: /speaker/petr-baudis
tagline: CTO & Co-founder of an AI SaaS deep tech scale-up
order: 5
---
1 change: 0 additions & 1 deletion src/content/keynoters/savannah.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: Savannah Bailey
image: ./savannah.png
slug: savannah-bailey
tagline: CPython Core Developer & JIT Maintainer
order: 3
---
2 changes: 1 addition & 1 deletion src/content/keynoters/sebastian.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Sebastián Ramírez (tiangolo)
image: ./sebastian.jpg
slug: sebastian-ramirez
url: /speaker/sebastian-ramirez
tagline: Creator of FastAPI, Typer, and other open source tools
order: 2
---
1 change: 1 addition & 0 deletions src/content/pages/sponsorship/sponsor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ toc: false
Join **EuroPython 2025 from 14 – 20 July** at the Prague Congress Centre (PCC) to connect, showcase your company, and shape the future of Python!

<YouTube id="oW8FHL4PiuI" alt="Hear from our sponsors at EuroPython 2023" />
https://www.youtube.com/watch?v=oW8FHL4PiuI
<figcaption>Hear from our sponsors at EuroPython 2023</figcaption>

Explore the benefits of sponsoring EuroPython:
Expand Down