Skip to content

Conversation

@frano-m
Copy link
Contributor

@frano-m frano-m commented Nov 18, 2025

Closes #985.

This pull request introduces a new "Learn About BRC" landing page, refactors the navigation to point to it, and implements a reusable card component for section content. The changes improve the user experience by providing a visually appealing, organized entry point for learning resources, and enhance code maintainability through modularization and reuse.

New "Learn About BRC" landing page and navigation update:

  • Added the LearnView page, which displays a hero section and a grid of informational cards using the new SectionContentCard component (app/views/LearnView/learnView.tsx, pages/learn/index.tsx, app/views/LearnView/constants.ts, app/views/LearnView/learnView.styles.ts). [1] [2] [3] [4]
  • Updated navigation so that the /learn route now points to the new landing page instead of "Featured Analyses" (routes/constants.ts).

Reusable card component for section content:

  • Implemented the generic SectionContentCard component, including its props, styles, and supporting constants for consistent UI (app/components/common/Card/components/SectionContentCard/sectionContentCard.tsx, sectionContentCard.styles.ts, constants.ts, types.ts). [1] [2] [3] [4]
  • Created custom icon components for use in cards, each styled according to the design system (app/views/LearnView/components/icon/RocketLaunchIcon/rocketLaunchIcon.tsx, BookmarkStarIcon/bookmarkStarIcon.tsx, LiveHelpIcon/liveHelpIcon.tsx, GalaxyIcon/galaxyIcon.tsx). [1] [2] [3] [4]

Breadcrumb and documentation updates:

  • Fixed breadcrumbs in "Featured Analyses" documentation pages to correctly reference the new "Learn" landing page (app/docs/learn/featured-analyses.mdx, app/docs/learn/featured-analyses/evolutionary-dynamics-of-coding-overlaps-in-measles.mdx). [1] [2]
image

@frano-m frano-m requested a review from Copilot November 20, 2025 06:19
@frano-m frano-m moved this to Ready for Review in BRC development tasks Nov 20, 2025
@frano-m frano-m marked this pull request as ready for review November 20, 2025 06:20
Copilot finished reviewing on behalf of frano-m November 20, 2025 06:21
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces a new "Learn About BRC" landing page that serves as an organized entry point for learning resources. The implementation includes a reusable card component architecture and updates navigation routing to point to the new landing page.

Key Changes:

  • Created a new landing page at /learn with a hero section and grid-based card layout
  • Implemented a generic SectionContentCard component for consistent UI across sections
  • Updated breadcrumb paths in documentation files to correctly reference the new Learn landing page

Reviewed Changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
routes/constants.ts Updated LEARN route from /learn/featured-analyses to /learn
pages/learn/index.tsx Created new page component for Learn landing with static props
app/views/LearnView/learnView.tsx Implemented LearnView with hero section and card grid layout
app/views/LearnView/learnView.styles.ts Added responsive grid styles for card layout (2 columns on desktop, 1 on mobile)
app/views/LearnView/constants.ts Defined card configurations for Get Started, Using Galaxy, Featured Analyses, and FAQs sections
app/views/LearnView/components/icon/RocketLaunchIcon/rocketLaunchIcon.tsx Created custom "Get Started" icon component with primary color
app/views/LearnView/components/icon/LiveHelpIcon/liveHelpIcon.tsx Created custom FAQ icon component with primary color
app/views/LearnView/components/icon/GalaxyIcon/galaxyIcon.tsx Created custom Galaxy icon with gradient styling
app/views/LearnView/components/icon/BookmarkStarIcon/bookmarkStarIcon.tsx Created custom Featured Analyses icon component
app/docs/learn/using-galaxy.mdx Added new documentation page with Learn breadcrumb
app/docs/learn/getting-started.mdx Added new documentation page with Learn breadcrumb
app/docs/learn/featured-analyses/evolutionary-dynamics-of-coding-overlaps-in-measles.mdx Fixed breadcrumb to include proper Learn path
app/docs/learn/featured-analyses.mdx Fixed breadcrumb to include proper Learn path
app/docs/learn/faqs.mdx Added new documentation page with Learn breadcrumb
app/components/common/Card/components/SectionContentCard/types.ts Defined TypeScript interfaces for card component props
app/components/common/Card/components/SectionContentCard/sectionContentCard.tsx Implemented reusable card component with icon, image, and text support
app/components/common/Card/components/SectionContentCard/sectionContentCard.styles.ts Created styled components for card layout with grid-based design
app/components/common/Card/components/SectionContentCard/constants.ts Defined default props for card, stack, icons, and typography

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

Projects

Status: Ready for Review

Development

Successfully merging this pull request may close these issues.

Update Learn section landing page

3 participants