Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new, extensible role-based navigation system for the CCIP product, including a structured configuration for product roles, type definitions, and reusable UI components for role cards. It also refactors several CCIP-related pages to streamline frontmatter and heading management, and updates icon handling for role cards.
Role-based navigation and configuration:
ccipRolesconfiguration object insrc/config/roles/ccip.ts, defining roles, descriptions, icons, and categorized links for the CCIP product. This enables a scalable, role-driven navigation and documentation experience.src/config/roles/types.tsto ensure type safety and maintainability.src/config/roles/getRolesByProduct.ts, currently supporting CCIP and ready for future products.Role card UI components and styling:
RoleCardGenericReact component insrc/features/landing/components/RoleCardGeneric.tsxto display role information and grouped links, utilizing a new icon map fromsrc/assets/role-icons/index.ts. [1] [2]RoleCards.module.cssandRoleCardsGeneric.module.css, providing responsive and accessible design for the role cards grid. [1] [2]CCIP page frontmatter and heading refactor:
Chain.astro,Token.astro, andccip-landing.astroto define frontmatter and headings directly in each file, removing dependency ongetEntryand simplifying data flow to layouts. [1] [2] [3] [4] [5] [6] [7] [8] [9]Content and sidebar updates:
src/content/ccip/index.mdxtoabout.mdxand updated its frontmatter for improved metadata and description.