fix: add actionable links to Ways to Engage cards on Community page#4559
fix: add actionable links to Ways to Engage cards on Community page#4559NjeriCodeCraft wants to merge 4 commits intoOWASP:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
Summary by CodeRabbitRelease Notes
WalkthroughThe PR converts the "Ways to Engage" engagement cards on the community page from static div elements to navigable Link components, adding href properties to the underlying data structure for internal routes (/chapters, /members, /contribute) and an external Slack invite link, with conditional external link attributes. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



Proposed change
Resolves #4546
The Ways to Engage section on /community displayed 4 cards with no clickable links.
Visitors had no way to navigate directly from the cards.
Changes made:
hrefproperty to each object in theengagementWaysarray inutils/communityData.tscommunity/page.tsxto use Next.jsLinkcomponent instead of a plaindivtarget="_blank"andrel="noopener noreferrer"Checklist
make check-testlocally: all warnings addressed, tests passed