Skip to content

Fix Mentorship Resource Link#277

Merged
Deejarh merged 2 commits into
Women-Coding-Community:mainfrom
Deejarh:deejarh-resource-button-fix
May 1, 2026
Merged

Fix Mentorship Resource Link#277
Deejarh merged 2 commits into
Women-Coding-Community:mainfrom
Deejarh:deejarh-resource-button-fix

Conversation

@Deejarh

@Deejarh Deejarh commented Apr 30, 2026

Copy link
Copy Markdown
Contributor

Description

This PR fixes the mentorship resources page so it now consumes the backend response shape and only falls back to the static JSON file when the API is unavailable.

Result

Resource cards now display correct backend-provided links and open them safely in a new browser tab.

Type

  • Bug Fix

Related Issue

Issue 276

Screenshots

Pull request checklist

Please check if your PR fulfills the following requirements:

  • I checked and followed the contributor guide
  • I have tested my changes locally.
  • I have added a screenshot from the website after I tested it locally

@Deejarh Deejarh force-pushed the deejarh-resource-button-fix branch from a3e77f2 to dd2bfd6 Compare April 30, 2026 22:13
Comment thread src/lib/responses/mentorshipResources.json
Comment thread src/lib/api.ts
Comment thread src/pages/mentorship/resources.tsx
Comment thread src/components/__tests__/ResourcesCard.test.tsx
Comment thread src/lib/responses/mentorshipResources.json
@Deejarh Deejarh force-pushed the deejarh-resource-button-fix branch from 94c008c to 37ce10c Compare May 1, 2026 16:20
@sonarqubecloud

sonarqubecloud Bot commented May 1, 2026

Copy link
Copy Markdown

@Deejarh Deejarh merged commit b9d6099 into Women-Coding-Community:main May 1, 2026
4 of 6 checks passed
@Deejarh Deejarh mentioned this pull request Jun 1, 2026
8 tasks
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.

2 participants