Skip to content

feat: cards as links#485

Merged
wesleyboar merged 3 commits into
mainfrom
feat/cards-as-links
Mar 27, 2025
Merged

feat: cards as links#485
wesleyboar merged 3 commits into
mainfrom
feat/cards-as-links

Conversation

@wesleyboar

@wesleyboar wesleyboar commented Mar 25, 2025

Copy link
Copy Markdown
Member

Overview

Cards can be links now.

Important

Design accepted. But, only use when the card is just an image and a heading. Do not use if the card has regular text under heading.

Related

Changes

  • add styles & demo for cards as links

Testing

  1. Open http://localhost:3000/components/preview/c-card--images.
  2. Search for all (8) "as Link" sections.
  3. Verify cards look like counterparts in other sections.
  4. Hover over cards.
  5. Verify cards have a blue outline on hover.

UI

Annotated Demo
a b c
a b c
a.mov
b.mov
c.mov
Complete Demo
card.as.link.1.mov
card.as.link.2.mov
card.as.link.3.mov

@wesleyboar

Copy link
Copy Markdown
Member Author

Important

Designer approved style. But it is only to be used when a card does not have regular text under heading.

@wesleyboar wesleyboar merged commit 8ab89d3 into main Mar 27, 2025
@wesleyboar wesleyboar deleted the feat/cards-as-links branch March 27, 2025 22:40
@wesleyboar wesleyboar mentioned this pull request Mar 27, 2025
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.

1 participant