From cd5dffc48973deaa5ce5753fad71bb539f4617b8 Mon Sep 17 00:00:00 2001
From: Andrew Northall
Date: Thu, 23 Jul 2026 02:48:24 +0100
Subject: [PATCH 1/2] feat: disable links no longer relevant post-conference
Disable ticket, remote, and visa page links site-wide, by removing them from the menus and placing a TODO to re-enable next year.
The pages themselves still exist.
The remote ticket banner at the top of the site was also hidden.
---
src/components/Header.astro | 12 +++++-
src/components/sections/hero/hero.astro | 3 ++
src/data/nav.ts | 52 +++++++++++++------------
src/layouts/Layout.astro | 6 ++-
4 files changed, 46 insertions(+), 27 deletions(-)
diff --git a/src/components/Header.astro b/src/components/Header.astro
index 699cafbec..6b346aa3f 100644
--- a/src/components/Header.astro
+++ b/src/components/Header.astro
@@ -111,12 +111,15 @@ const activeMenus = NAV_MENUS.map((menu) => ({
),
)
}
+
({
+
+
({
nav {
position: fixed;
- top: 40px;
+ /* top: 40px when #ep-banner HTML is enabled in Layout.astro */
+ top: 0;
left: 0;
right: 0;
z-index: 1000;
diff --git a/src/components/sections/hero/hero.astro b/src/components/sections/hero/hero.astro
index 167e1bbcd..47d77aab3 100644
--- a/src/components/sections/hero/hero.astro
+++ b/src/components/sections/hero/hero.astro
@@ -42,7 +42,10 @@ PYTHON">
> 18–23 July
diff --git a/src/data/nav.ts b/src/data/nav.ts
index 4d777ad57..4f3c59592 100644
--- a/src/data/nav.ts
+++ b/src/data/nav.ts
@@ -65,10 +65,11 @@ const L = {
},
// Participate
- tickets: { label: "Tickets", url: "/tickets" },
- remote: { label: "Remote", url: "/remote" },
+ // TODO: Re-enable next year!
+ // tickets: { label: "Tickets", url: "/tickets" },
+ // remote: { label: "Remote", url: "/remote" },
finaid: { label: "Financial Aid", url: "/finaid" },
- visa: { label: "Visa Information", url: "/visa" },
+ // visa: { label: "Visa Information", url: "/visa" },
volunteering: { label: "Volunteering", url: "/volunteering" },
faq: { label: "FAQ", url: "/faq" },
coc: {
@@ -179,26 +180,27 @@ export const NAV_MENUS: NavMenu[] = [
],
},
- // Attend — simple flat list
- {
- label: "Attend",
- url: "/tickets",
- sections: [
- {
- items: [
- L.tickets,
- L.remote,
- L.finaid,
- L.visa,
- L.volunteering,
- L.faq,
- L.coc,
- L.accessibility,
- L.childcare,
- ],
- },
- ],
- },
+ // TODO: Re-enable next year!
+ // Attend
+ // {
+ // label: "Attend",
+ // url: "/tickets",
+ // sections: [
+ // {
+ // items: [
+ // L.tickets,
+ // L.remote,
+ // L.finaid,
+ // L.visa,
+ // L.volunteering,
+ // L.faq,
+ // L.coc,
+ // L.accessibility,
+ // L.childcare,
+ // ],
+ // },
+ // ],
+ // },
// Venue — simple flat list
{
@@ -270,7 +272,9 @@ export const TERMS: Link[] = [
export const FOOTER_COLUMNS: FooterColumn[] = [
{
title: "Quick links",
- items: [L.tickets, L.remote, L.krakow, L.visa],
+ // TODO: Re-enable next year!
+ // items: [L.tickets, L.remote, L.krakow, L.visa],
+ items: [L.krakow],
},
{
title: "Programme",
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 6465aaeda..6d2f75515 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -60,8 +60,9 @@ const hideFooter = Astro.props.hideFooter ?? false;
+ OLD-EUROPYTHON BANNER (disabled — uncomment to re-enable)
+ When enabling: also set nav { top: 40px } in Header.astro
+ ═══════════════════════════════════════════
Can’t join us in Kraków? Attend remotely — online options available!
+ -->
{
!hideHeader && (
From afcffd297a52fc90024ba4bcbbd5e55c6695649e Mon Sep 17 00:00:00 2001
From: Andrew Northall <3952223+anorthall@users.noreply.github.com>
Date: Thu, 23 Jul 2026 03:27:01 +0100
Subject: [PATCH 2/2] refactor: format comment better
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
---
src/components/sections/hero/hero.astro | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/components/sections/hero/hero.astro b/src/components/sections/hero/hero.astro
index 47d77aab3..76e1430de 100644
--- a/src/components/sections/hero/hero.astro
+++ b/src/components/sections/hero/hero.astro
@@ -42,10 +42,8 @@ PYTHON">
> 18–23 July