From baffd6a00dc48a662d5a93dba7cd241a7d2ebece Mon Sep 17 00:00:00 2001 From: Matias Date: Tue, 20 Aug 2024 18:51:12 -0300 Subject: [PATCH] feat: - Remove home page link from `ConnectWalletButton` - Add documentation link in `Navbar` --- apps/web/components/ConnectWalletButton.tsx | 35 +---------------- apps/web/components/NavBar.tsx | 43 +++++++++------------ 2 files changed, 20 insertions(+), 58 deletions(-) diff --git a/apps/web/components/ConnectWalletButton.tsx b/apps/web/components/ConnectWalletButton.tsx index 0cbc90ac0..f75cd913b 100644 --- a/apps/web/components/ConnectWalletButton.tsx +++ b/apps/web/components/ConnectWalletButton.tsx @@ -2,11 +2,7 @@ import React, { Fragment } from "react"; import { Menu, Transition } from "@headlessui/react"; -import { - ChevronUpIcon, - PowerIcon, - ArrowTopRightOnSquareIcon, -} from "@heroicons/react/24/solid"; +import { ChevronUpIcon, PowerIcon } from "@heroicons/react/24/solid"; import { ConnectButton } from "@rainbow-me/rainbowkit"; import cn from "classnames"; import Image from "next/image"; @@ -193,35 +189,6 @@ export function ConnectWallet() { Disconnect -
- - Home - - -
|
- - Docs - - -
diff --git a/apps/web/components/NavBar.tsx b/apps/web/components/NavBar.tsx index 217b62f4e..f5f66db0f 100644 --- a/apps/web/components/NavBar.tsx +++ b/apps/web/components/NavBar.tsx @@ -2,7 +2,11 @@ import React from "react"; import { Disclosure } from "@headlessui/react"; -import { Bars3Icon, XMarkIcon } from "@heroicons/react/24/outline"; +import { + BookOpenIcon, + Bars3Icon, + XMarkIcon, +} from "@heroicons/react/24/outline"; import Image from "next/image"; import Link from "next/link"; import { newLogo } from "@/assets"; @@ -38,19 +42,21 @@ export function NavBar() { pre-beta release{" "}

-
- {/* {navItems.map(({ name, href }) => ( - - {name} - - ))} */} -
-
+
+ + + Docs +
@@ -71,7 +77,6 @@ export function NavBar() {
-
{navItems.map(({ name, href }) => ( @@ -84,16 +89,6 @@ export function NavBar() { ))}
-
- {/* */} - {/* */} -
)}