Skip to content

Move Escape Room breadcrumbs from hero to header#559

Open
alexisreytech wants to merge 7 commits into
mainfrom
alexis/escape-room-crumbs
Open

Move Escape Room breadcrumbs from hero to header#559
alexisreytech wants to merge 7 commits into
mainfrom
alexis/escape-room-crumbs

Conversation

@alexisreytech
Copy link
Copy Markdown
Contributor

Fixes #404

@netlify
Copy link
Copy Markdown

netlify Bot commented May 7, 2026

Deploy Preview for accessiblecommunity ready!

Name Link
🔨 Latest commit bfddac9
🔍 Latest deploy log https://app.netlify.com/projects/accessiblecommunity/deploys/6a0f641988eb690008cc95cf
😎 Deploy Preview https://deploy-preview-559--accessiblecommunity.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@alexisreytech
Copy link
Copy Markdown
Contributor Author

If this approach is approved, I can go ahead an remove the HeroWithBreadcrumbs component, as it would no longer be used.

Copy link
Copy Markdown
Contributor

@brian-montgomery brian-montgomery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Alexis. Your concept looks good, although all of the breadcrumbs are showing up a bit incorrectly (see below).

Let me run this by Rachael and see what she thinks about it.

href: "/escape-room/our-story",
}];

const breadCrumbs: Breadcrumbs =
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For these breadcrumbs, we want to Escape Room Home (/escape-room/) to be the "Home" link.

import ThemedSection from "@components/ThemedSection.astro";
---

<Layout {metadata} {title}>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You didn't update the Layout to pass the crumbs into the ERHeader, so they are all showing up as the default. You need to pass the crumbs to the Layout and in the Layout, pass the crumbs to the HeaderER component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skip to Main Content link(s) incorrectly target Breadcrumb on ER pages

2 participants