From b122eef4d4025c2ee67b05319607a325b4be48dc Mon Sep 17 00:00:00 2001 From: Maria Jose Molina Contreras <32220621+mjmolina@users.noreply.github.com> Date: Wed, 1 Jul 2026 14:50:30 +0200 Subject: [PATCH 1/5] Update index.mdx --- src/content/pages/pyladies/index.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/content/pages/pyladies/index.mdx b/src/content/pages/pyladies/index.mdx index 24270f6f7..b1f3db0bc 100644 --- a/src/content/pages/pyladies/index.mdx +++ b/src/content/pages/pyladies/index.mdx @@ -71,6 +71,11 @@ in tech. Enjoy meaningful conversations and networking opportunities. - **Location:** Red Carpet (Second Floor) - **Time:** Thursday 16th of July at 13:20 +### Lunch generously provided by: +
+

+alt text + ## PyLadies Organizer Open Space During this one-hour PyLadies Open Space session, we invite PyLadies organizers From 5433848049f4e6669283fc26c59d2e57a5b63bba Mon Sep 17 00:00:00 2001 From: Maria Jose Molina Contreras <32220621+mjmolina@users.noreply.github.com> Date: Wed, 1 Jul 2026 14:58:26 +0200 Subject: [PATCH 2/5] Update index.mdx --- src/content/pages/pyladies/index.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/pages/pyladies/index.mdx b/src/content/pages/pyladies/index.mdx index b1f3db0bc..9e99bdf4b 100644 --- a/src/content/pages/pyladies/index.mdx +++ b/src/content/pages/pyladies/index.mdx @@ -75,6 +75,7 @@ in tech. Enjoy meaningful conversations and networking opportunities.

alt text +

## PyLadies Organizer Open Space From 53faab796e338e00ea59c939b188bdde6f54ffdd Mon Sep 17 00:00:00 2001 From: Maria Jose Molina Contreras <32220621+mjmolina@users.noreply.github.com> Date: Wed, 1 Jul 2026 15:03:24 +0200 Subject: [PATCH 3/5] Update index.mdx --- src/content/pages/pyladies/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/pages/pyladies/index.mdx b/src/content/pages/pyladies/index.mdx index 9e99bdf4b..02a143fa6 100644 --- a/src/content/pages/pyladies/index.mdx +++ b/src/content/pages/pyladies/index.mdx @@ -72,7 +72,7 @@ in tech. Enjoy meaningful conversations and networking opportunities. - **Time:** Thursday 16th of July at 13:20 ### Lunch generously provided by: -
+

alt text

From bcf25bf5a3508100aaf3dc9164d7eb3ca1521cbf Mon Sep 17 00:00:00 2001 From: Niko Date: Thu, 2 Jul 2026 11:22:55 +0200 Subject: [PATCH 4/5] Add LinkedImage component with usage in PyLadies page --- src/components/markdown/LinkedImage.astro | 83 +++++++++++++++++++++++ src/content/pages/pyladies/arm-logo.svg | 66 ++++++++++++++++++ src/content/pages/pyladies/index.mdx | 8 +-- src/pages/[...slug].astro | 2 + 4 files changed, 155 insertions(+), 4 deletions(-) create mode 100644 src/components/markdown/LinkedImage.astro create mode 100644 src/content/pages/pyladies/arm-logo.svg diff --git a/src/components/markdown/LinkedImage.astro b/src/components/markdown/LinkedImage.astro new file mode 100644 index 000000000..7fac425a2 --- /dev/null +++ b/src/components/markdown/LinkedImage.astro @@ -0,0 +1,83 @@ +--- +import type { ImageMetadata } from "astro"; + +export interface Props { + src?: string; + image?: ImageMetadata; + alt?: string; + url?: string; + mode?: "button" | "imageLink" | "image"; + class?: string; + maxWidth?: string; + maxHeight?: string; +} + +const { + src, + image: img, + alt = "", + url, + mode, + class: className = "", + maxWidth, + maxHeight = "120px", +} = Astro.props; + +const hasDefaultSlot = Astro.slots.has("default"); + +// Auto-detect mode if not provided +const resolvedMode = + mode ?? (url ? (hasDefaultSlot ? "button" : "imageLink") : "image"); + +const isLinked = url !== undefined; +const isEntireCardLinked = resolvedMode === "imageLink" && isLinked; + +const cardClasses = `max-w-70 mx-auto flex flex-col items-center ${className}${isLinked ? "" : ""}`; + +const imgSrc = img ? img.src : src; + +const imgStyle: Record = { + maxHeight, + objectFit: "contain", +}; +if (maxWidth) { + imgStyle.maxWidth = maxWidth; +} +--- + +{isEntireCardLinked ? ( + + {alt} + +) : ( +
+ {alt} + + {resolvedMode === "button" && url && ( + + + + )} +
+)} diff --git a/src/content/pages/pyladies/arm-logo.svg b/src/content/pages/pyladies/arm-logo.svg new file mode 100644 index 000000000..e9fa30b85 --- /dev/null +++ b/src/content/pages/pyladies/arm-logo.svg @@ -0,0 +1,66 @@ + + + + + + + + + diff --git a/src/content/pages/pyladies/index.mdx b/src/content/pages/pyladies/index.mdx index 02a143fa6..4bfb62b6d 100644 --- a/src/content/pages/pyladies/index.mdx +++ b/src/content/pages/pyladies/index.mdx @@ -4,6 +4,8 @@ url: /pyladies subtitle: Booth, Workshops, Lunch & Networking --- +import armLogo from "./arm-logo.svg" + # PyLadies Activities We’re excited to announce a range of events for underrepresented groups in @@ -71,11 +73,9 @@ in tech. Enjoy meaningful conversations and networking opportunities. - **Location:** Red Carpet (Second Floor) - **Time:** Thursday 16th of July at 13:20 -### Lunch generously provided by: +### Big thanks to our PyLadies Lunch Sponsor! -

-alt text -

+Visit our sponsor Arm ## PyLadies Organizer Open Space diff --git a/src/pages/[...slug].astro b/src/pages/[...slug].astro index da305dc58..11f6cbd6b 100644 --- a/src/pages/[...slug].astro +++ b/src/pages/[...slug].astro @@ -15,6 +15,7 @@ import Icon from "@ui/Icon.astro"; import IconLabel from "@components/markdown/IconLabel.astro"; import Center from "@components/markdown/Center.astro"; import EPSLogo from "@components/markdown/EPSLogo.astro"; +import LinkedImage from "@components/markdown/LinkedImage.astro"; import ProfileCard from "@components/profile/ProfileCard.astro"; import SpeakerCard from "@components/profile/SpeakerCard.astro"; import GoogleCalendar from '@components/GoogleCalendar.astro'; @@ -93,6 +94,7 @@ const description = post.data.subtitle; IconLabel, Center, EPSLogo, + LinkedImage, Map, YouTube, HighlightCard, From 592f7fb26f4eda193a32406507876c190511870d Mon Sep 17 00:00:00 2001 From: Niko Date: Thu, 2 Jul 2026 14:10:09 +0200 Subject: [PATCH 5/5] Add sponsor page. --- src/components/SponsorCard.astro | 4 +- src/components/SponsorLogo.astro | 12 +++-- src/components/markdown/LinkedImage.astro | 56 ++++++++++++++------- src/components/markdown/LinkedSponsor.astro | 49 ++++++++++++++++++ src/content.config.ts | 1 + src/content/pages/pyladies/index.mdx | 2 +- src/content/sponsors/arm/index.md | 3 ++ src/pages/[...slug].astro | 4 ++ src/pages/sponsor/[sponsor]/index.astro | 2 +- 9 files changed, 109 insertions(+), 24 deletions(-) create mode 100644 src/components/markdown/LinkedSponsor.astro diff --git a/src/components/SponsorCard.astro b/src/components/SponsorCard.astro index d47b07813..de65eb8ff 100644 --- a/src/components/SponsorCard.astro +++ b/src/components/SponsorCard.astro @@ -67,7 +67,7 @@ const logo = sponsorLogos[sponsor.id]; description && (