From 62e73fcf844ff6d0209a0b0a7bccb3e0a2e5cdbc 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/6] 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 1413e21e5b5b602f2df3571bf0027c4137ef65bc 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/6] 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 8a8ac70570ed71746304b83a0f97f698168665c4 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/6] 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 279cd5d1e6b5d416f6843bc00675b781295a778b Mon Sep 17 00:00:00 2001 From: Niko Date: Thu, 2 Jul 2026 11:22:55 +0200 Subject: [PATCH 4/6] 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 ec21eed47..9fc097d33 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"; @@ -96,6 +97,7 @@ const description = post.data.subtitle; IconLabel, Center, EPSLogo, + LinkedImage, Map, YouTube, HighlightCard, From 2f07c77028f0dce302f8bc07027a15de34d2e404 Mon Sep 17 00:00:00 2001 From: Niko Date: Thu, 2 Jul 2026 14:10:09 +0200 Subject: [PATCH 5/6] Add sponsor page content from sidebar --- 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 | 5 ++ src/pages/[...slug].astro | 4 ++ src/pages/sponsor/[sponsor]/index.astro | 6 +-- 9 files changed, 113 insertions(+), 26 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 && (