Skip to content

Commit

Permalink
Crosslink the leader board (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyDelott authored Oct 19, 2023
1 parent bcad1b9 commit 77f3ceb
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion apps/hyperdrive-trading/src/ui/app/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { ConnectButton } from "@rainbow-me/rainbowkit";
import { ReactElement } from "react";
import { useChainId } from "wagmi";

export function Navbar(): ReactElement {
const chainId = useChainId();
return (
<div className="daisy-navbar bg-base-100 ">
<div className="daisy-navbar-start ml-2">
Expand All @@ -14,7 +16,17 @@ export function Navbar(): ReactElement {
Hyperdrive
</a>
</div>
<div className="daisy-navbar-end">
<div className="daisy-navbar-end gap-8">
{chainId === +import.meta.env.VITE_CUSTOM_CHAIN_CHAIN_ID ? (
<a
href="https://infra.delv.tech/dashboard/"
className="daisy-link-hover daisy-link inline-flex items-center underline"
target="_blank"
rel="noreferrer"
>
Leaderboard
</a>
) : null}
<ConnectButton showBalance={false} />
</div>
</div>
Expand Down

4 comments on commit 77f3ceb

@vercel
Copy link

@vercel vercel bot commented on 77f3ceb Oct 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hyperdrive-fixed-borrow – ./apps/fixed-borrow

hyperdrive-fixed-borrow.vercel.app
hyperdrive-fixed-borrow-delvtech.vercel.app
hyperdrive-fixed-borrow-git-main-delvtech.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 77f3ceb Oct 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hyperdrive-sdk-docs – ./apps/hyperdrive-sdk-docs

hyperdrive-sdk-docs-git-main-delvtech.vercel.app
hyperdrive-sdk-docs-delvtech.vercel.app
hyperdrive-sdk-docs.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 77f3ceb Oct 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

hyperdrive-monorepo-hyperdrive-trading – ./apps/hyperdrive-trading

hyperdrive-monorepo-hyperdrive-trading.vercel.app
hyperdrive-monorepo-hyperdrive-trading-delvtech.vercel.app
hyperdrive-monorepo-hyperdrive-trading-git-main-delvtech.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 77f3ceb Oct 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.