Skip to content

Commit

Permalink
feat: link to nation3 contributions (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
aahna-ashina committed Sep 19, 2023
1 parent 796d0dd commit b71e9f7
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
38 changes: 38 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"eslint-config-next": "13.3.0",
"next": "13.3.0",
"papaparse": "^5.4.1",
"passport": "^0.6.0",
"passport-github2": "^0.1.12",
"postcss": "8.4.21",
"react": "18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions src/components/ProfileDetailsGitHub.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ export default function ProfileDetailsGitHub({ address }: any) {
return (
<>
<code>Not linked</code>
<Link target="_blank" className="ml-8 font-bold text-transparent bg-clip-text bg-gradient-to-br from-sky-400 to-green-400" href={`https://etherscan.io/address/0xb989c0c17a3bce679d7586d9e55b6eab11c18687#writeContract#F1`}>
<Link href={`https://etherscan.io/address/0xb989c0c17a3bce679d7586d9e55b6eab11c18687#writeContract#F1`} target="_blank" className="ml-8 font-bold text-transparent bg-clip-text bg-gradient-to-br from-sky-400 to-green-400">
Link 🔗
</Link>
</>
)
} else {
return (
<Link target="_blank" className="font-bold text-transparent bg-clip-text bg-gradient-to-br from-sky-400 to-green-400" href={`https://github.com/${gitHubUsername}`}>
<Link href={`https://github.com/${gitHubUsername}?org=nation3`} target="_blank" className="font-bold text-transparent bg-clip-text bg-gradient-to-br from-sky-400 to-green-400">
<code>@{gitHubUsername}</code>
</Link>
)
Expand Down

0 comments on commit b71e9f7

Please sign in to comment.