Skip to content

Conversation

@parth-117
Copy link

Description

This PR fixes issue #234 by adding the target="_blank" attribute to the contributor profile link in the RandomContributors component. This ensures that when users click on a random contributor card, the GitHub profile opens in a new window/tab instead of replacing the current page.

Changes Made

  • Modified src/Components/randomcontributor/RandomContributors.jsx
  • Added target="_blank" attribute to the <a> tag linking to contributor GitHub profiles
  • This allows users to view contributor profiles without losing their place on the application

Issue Addressed

Closes #234

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Testing

  • Tested by clicking on random contributor cards and verifying that GitHub profiles now open in a new window/tab
  • No regression issues identified

Checklist

  • I have read the CONTRIBUTION GUIDELINES
  • My changes follow the project's code style
  • I have tested my changes locally
  • This PR fixes an open issue

Fix BeforeIDieCode#234: Add target='_blank' to contributor profile link in RandomCo…
@vercel
Copy link

vercel bot commented Nov 26, 2025

@parth-117 is attempting to deploy a commit to the Before I Die Code Team on Vercel.

A member of the Team first needs to authorize it.

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.

Open the contributors profile in a new window

1 participant