Skip to content

Commit 2c79ecf

Browse files
Added ref param
1 parent 939fd7b commit 2c79ecf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/app/(public)/repos/[language]/_components/repo-card.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function RepoCard({ repo }: RepoCardProps) {
5151
</a>
5252
<h2 className="overflow-hidden text-3xl cursor-pointer text-hacktoberfest-pink whitespace-nowrap text-ellipsis underline-expand">
5353
<a
54-
href={repo.html_url}
54+
href={repo.html_url + '?ref=finder.usmans.me'}
5555
title={repo.name}
5656
target="_blank"
5757
rel="noreferrer"
@@ -66,7 +66,7 @@ export function RepoCard({ repo }: RepoCardProps) {
6666
{emojify(truncatedDescription)}
6767
{repo.description.length > MAX_DESCRIPTION_LENGTH && (
6868
<a
69-
href={repo.html_url}
69+
href={repo.html_url + '?ref=finder.usmans.me'}
7070
target="_blank"
7171
rel="noreferrer"
7272
className="text-hacktoberfest-pink ml-2 underline-expand"
@@ -101,7 +101,7 @@ export function RepoCard({ repo }: RepoCardProps) {
101101
{/* stars and forks cards */}
102102
<div className="flex flex-wrap justify-between gap-4 mt-8 cursor-pointer container-query text-neutral-100">
103103
<a
104-
href={`${repo.html_url}/stargazers`}
104+
href={`${repo.html_url}/stargazers?ref=finder.usmans.me`}
105105
target="_blank"
106106
className="w-full flex-shrink-0 flex-grow basis-[120px] border rounded-xl flex items-center justify-center py-4 gap-3 relative border-hacktoberfest-pink tooltip tooltip-bottom"
107107
data-tip="Click to see stargazers"
@@ -115,7 +115,7 @@ export function RepoCard({ repo }: RepoCardProps) {
115115
</div>
116116
</a>
117117
<a
118-
href={`${repo.html_url}/forks`}
118+
href={`${repo.html_url}/forks?ref=finder.usmans.me`}
119119
target="_blank"
120120
className="flex-shrink-0 flex-grow basis-[120px] border rounded-xl p-4 flex items-center justify-center gap-3 relative border-hacktoberfest-pink tooltip tooltip-bottom"
121121
data-tip="Click to see forks"
@@ -129,7 +129,7 @@ export function RepoCard({ repo }: RepoCardProps) {
129129
</div>
130130
</a>
131131
<a
132-
href={`${repo.html_url}/issues`}
132+
href={`${repo.html_url}/issues?ref=finder.usmans.me`}
133133
target="_blank"
134134
className="flex-shrink-0 flex-grow basis-[120px] border rounded-xl p-4 flex items-center justify-center gap-3 relative border-hacktoberfest-pink tooltip tooltip-bottom"
135135
data-tip="Click to see issues"

0 commit comments

Comments
 (0)