Skip to content

Make the whole project card clickable - #70

Merged
mikaalnaik merged 1 commit into
mainfrom
mikaal/whole-project-click
Aug 25, 2026
Merged

Make the whole project card clickable#70
mikaalnaik merged 1 commit into
mainfrom
mikaal/whole-project-click

Conversation

@mikaalnaik

Copy link
Copy Markdown
Contributor

Summary

On /projects, the entire card is now a link instead of requiring a click on the "View Project" button.

  • WidgetCard wraps its contents in a Link (internal projects, e.g. /tracker) or an <a target="_blank" rel="noopener noreferrer"> (external projects).
  • The "View Project" footer becomes a non-interactive <span> with the same styling, so there is no nested interactive element.
  • The arrow animation now triggers on group-hover/card, so hovering anywhere on the card moves it — right arrow for internal links, diagonal for external.

Testing

  • npx tsc --noEmit passes.

🤖 Generated with Claude Code

The card on /projects now wraps its contents in the project link
instead of hiding navigation behind the View Project button. The
footer keeps its label and arrow, driven by hover on the card.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Aug 25, 2026

Copy link
Copy Markdown

Greptile Summary

The PR makes each project card a single navigation target while preserving distinct internal and external-link behavior.

  • Replaces the footer button with a non-interactive styled label.
  • Wraps internal cards in Next.js Link and external cards in an anchor with new-tab isolation.
  • Moves arrow animation behavior to whole-card hover state.

Confidence Score: 5/5

The PR appears safe to merge with the current project catalog and widget implementations.

The card-level links preserve existing destinations and external-link protections, and currently reachable widget content contains no nested controls that conflict with the expanded clickable area.

Important Files Changed

Filename Overview
src/components/widgets/WidgetCard.tsx Converts the complete widget card into an internal or external link without introducing a concrete failure for the currently rendered widget content.

Reviews (1): Last reviewed commit: "Make the whole project card clickable" | Re-trigger Greptile

@mikaalnaik
mikaalnaik merged commit d5be951 into main Aug 25, 2026
2 checks passed
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