Skip to content
Open
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: 11 additions & 1 deletion src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,15 @@ const activeMenus = NAV_MENUS.map((menu) => ({
),
)
}
<!--
TODO: Re-enable next year!
<li class="nav-item nav-mobile-cta">
<a class="nav-link-btn" href="/jobs">Jobs</a>
</li>
Comment thread
anorthall marked this conversation as resolved.
<li class="nav-item nav-mobile-cta">
<a class="nav-link-btn" href="/tickets">Register Now</a>
</li>
-->
</ul>

<button
Expand All @@ -140,6 +143,8 @@ const activeMenus = NAV_MENUS.map((menu) => ({
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
</svg>
</button>
<!--
TODO: Re-enable next year!
<a
href="/discord"
class="nav-icon-btn"
Comment thread
anorthall marked this conversation as resolved.
Expand All @@ -159,9 +164,13 @@ const activeMenus = NAV_MENUS.map((menu) => ({
></path>
</svg>
</a>
-->
<ThemeToggle />
<!--
TODO: Re-enable next year!
<a href="/jobs" class="nav-cta-desktop">Jobs</a>
<a href="/tickets" class="nav-cta">Register Now</a>
-->
<button
class="nav-toggle"
aria-label="Toggle menu"
Expand All @@ -181,7 +190,8 @@ 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;
Expand Down
3 changes: 2 additions & 1 deletion src/components/sections/hero/hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ PYTHON">
> 18–23 July
</p>
<div class="hero-cta-row">
<a href="/tickets" class="hero-cta">Register Now</a>
<!-- TODO: Re-enable next year! -->
<!-- <a href="/tickets" class="hero-cta">Register Now</a> -->
<a href="#programme" class="hero-cta-alt">View Programme</a>
</div>
<div class="hero-flowers" aria-hidden="true">
Expand Down
52 changes: 28 additions & 24 deletions src/data/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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",
Expand Down
6 changes: 4 additions & 2 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,17 @@ const hideFooter = Astro.props.hideFooter ?? false;
</head>
<body>
<!-- ═══════════════════════════════════════════
OLD-EUROPYTHON BANNER
═══════════════════════════════════════════ -->
OLD-EUROPYTHON BANNER (disabled — uncomment to re-enable)
When enabling: also set nav { top: 40px } in Header.astro
═══════════════════════════════════════════
Comment thread
anorthall marked this conversation as resolved.
<a
id="ep-banner"
href="/remote"
class="text-white hover:text-white hover:underline text-center px-2 font-bold fixed top-0 w-full h-[40px] z-50 flex items-center justify-center transition-transform duration-300 ease-out"
>
Can’t join us in Kraków? Attend remotely — online options available!
</a>
-->
{
!hideHeader && (
<header>
Expand Down