Skip to content

278 corps castle link not redirecting correctly#281

Open
willbreitkreutz wants to merge 4 commits into
mainfrom
278-corps-castle-link-not-redirecting-correctly
Open

278 corps castle link not redirecting correctly#281
willbreitkreutz wants to merge 4 commits into
mainfrom
278-corps-castle-link-not-redirecting-correctly

Conversation

@willbreitkreutz
Copy link
Copy Markdown
Contributor

Summary

Fix a couple of the link issues. This should solve the breadcrumbs not working #273 and the corps castle link issue #278 .

Checklist

  • I updated docs/examples if the component API or behavior changed
  • I added screenshots for UI changes when useful
  • I applied exactly one version label: patch-bump, minor-bump, or major-bump

Release impact

Should not have any breaking changes, but adds to the api of SiteWrapper

@willbreitkreutz willbreitkreutz requested a review from krowvin May 11, 2026 21:04
@willbreitkreutz willbreitkreutz linked an issue May 11, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown

Please set a versioning label of either major-bump, minor-bump, or patch-bump to the pull request.

Copy link
Copy Markdown
Contributor

@krowvin krowvin left a comment

Choose a reason for hiding this comment

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

Seems we both took a crack at this!

I should have assigned I only set it as a child issue

Also good we both did because I did not go the route of adding the home link param. Agreed on that.

But consider the default. If you believe it should be # ?

msgBanner = undefined,
msgBannerPosition = "top",
title = "US Army Corps of Engineers",
homeUrl = "#",
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.

Should this default to #?

I would think / or nothing by default not an empty anchor tag. I realize the hash router might require it though.

return (
<Container fluid>
<Breadcrumbs baseUrl={BASE_URL}>
<Breadcrumbs baseUrl={`${BASE_URL}#/`}>
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.

Good catch, I thought the base had the # in it for the hash router stuff

Comment thread vite.config.js
mode === "production"
? "https://usace.github.io/groundwork/"
: "http://localhost:5173/";
: "http://localhost:5173/groundwork/";
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.

Makes sense. Avoids the awkward chance of missing path related issues on localhost

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Corps Castle link not redirecting correctly

2 participants