Skip to content

Draft: Add markdown-authored About and Help pages#205

Draft
karenmajewicz wants to merge 1 commit intodevelopfrom
static-pages
Draft

Draft: Add markdown-authored About and Help pages#205
karenmajewicz wants to merge 1 commit intodevelopfrom
static-pages

Conversation

@karenmajewicz
Copy link
Copy Markdown
Member

@karenmajewicz karenmajewicz commented May 7, 2026

Summary

This draft adds a proposed approach for static, in-portal content pages that can be authored in markdown.

Included in this branch:

  • Adds /about and /help pages inside the React geoportal.
  • Adds markdown content files:
    • frontend/src/content/pages/about.md
    • frontend/src/content/pages/help.md
  • Adds a small MarkdownContent renderer for trusted local markdown content.
  • Adds About and Help links to the header navigation.
  • Removes Bookmarks from the header navigation, but keeps the /bookmarks route and functionality intact.
  • Leaves the footer unchanged.

Notes For Review

This is intended as a draft implementation. The main goal is to show some draft/placeholder content and one possible markdown-based approach. We may decide to replace the custom renderer with something different.

The current renderer supports only a small subset needed for these pages:

  • headings
  • paragraphs
  • unordered lists
  • links

Verification

  • git diff --check passed.
  • Targeted lint passed for the new Help page and edited navigation components.
  • docker compose exec frontend-dev npm run build passed.

Known note: full targeted lint that included src/App.tsx still reports the existing window as any lint issue, which predates this branch.

Add in-portal About and Help pages backed by markdown content, with a small markdown renderer for simple page content. Register both routes in the React Router app and add About/Help to the header navigation.

This keeps the footer unchanged and preserves the existing Bookmarks route while removing Bookmarks from the header nav.
@karenmajewicz
Copy link
Copy Markdown
Member Author

Simple text pages

Screenshot 2026-05-07 at 11 01 15 AM

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.

About link should go to a page that is about the geoportal

1 participant