Skip to content

Commit

Permalink
fix: add rust client, make client links clearly external links and li…
Browse files Browse the repository at this point in the history
…nk in new window
  • Loading branch information
distractedm1nd committed Oct 6, 2023
1 parent e4a0173 commit 2af41d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ const clients = [
href: 'https://github.com/celestiaorg/celestia-node/blob/main/api/rpc/client/client.go',
current: false,
},
{
name: 'Rust',
href: 'https://github.com/eigerco/celestia-node-rs',
current: false,
},
];

function classNames(...classes: any[]) {
Expand Down Expand Up @@ -269,6 +274,8 @@ export default function Example() {
<a
key={client.name}
href={client.href}
target='_blank'
rel='noopener noreferrer'
className={classNames(
client.current
? 'bg-gray-100 text-gray-900'
Expand Down

0 comments on commit 2af41d0

Please sign in to comment.