Skip to content

Conversation

@kevinsmaster5
Copy link
Contributor

@kevinsmaster5 kevinsmaster5 commented Jan 8, 2026

Closes #237

Changes proposed in this pull request:

  • Adds CardGrid as a BlocksFeature to allow users to create a card grid component
    • user can select number of columns 1 - 6
    • cards have optional image, title, and description fields
    • cards may be set up as vertical or horizontal - "flag" orientation (left or right image placement)

pages-site-gantry implementation notes

CardGrid slug: 'cardGrid'

Block node schema

 {
   id:
   image: {
     id:
     altText:
     ...
     url:
     filename:
   title:
   description:
   orientation: ( vertical, horizontal, horizontal-right )
 }

Things to check

  • For any logging statements, is there any chance that they could be logging sensitive data?
  • Are log statements using a logging library with a logging level set? Setting a logging level means that log statements "below" that level will not be written to the output. For example, if the logging level is set to INFO and debugging statements are written with log.debug or similar, then they won't be written to the otput, which can prevent unintentional leaks of sensitive data.

Security considerations

This change adds a CardGrid FeatureBlock and doesn't create security exposure

@kevinsmaster5 kevinsmaster5 marked this pull request as ready for review January 8, 2026 20:28
@kevinsmaster5 kevinsmaster5 requested a review from a team as a code owner January 8, 2026 20:28
Copy link
Contributor

@apburnes apburnes left a comment

Choose a reason for hiding this comment

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

Let's grid it

@kevinsmaster5 kevinsmaster5 merged commit fb251fd into main Jan 8, 2026
7 checks passed
@kevinsmaster5 kevinsmaster5 deleted the feat-create-card-grid-lexical-component branch January 8, 2026 21:15
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.

Create a custom content block to allow users to add a card grid

3 participants