From cd3242496d56ab297aaf4eb215708ca7d5414e14 Mon Sep 17 00:00:00 2001 From: Hieu Vu Date: Mon, 18 Dec 2023 10:39:56 +0700 Subject: [PATCH] fix: topbar scrolling and external link icon --- components/layout/Footer.tsx | 29 +- components/layout/Navbar.tsx | 7 +- package.json | 6 +- pages/_app.tsx | 6 +- pnpm-lock.yaml | 544 +++++++++++++++++------------------ public/images/arrow-link.svg | 10 +- 6 files changed, 314 insertions(+), 288 deletions(-) diff --git a/components/layout/Footer.tsx b/components/layout/Footer.tsx index 9a793b5..6d8cf8c 100644 --- a/components/layout/Footer.tsx +++ b/components/layout/Footer.tsx @@ -10,6 +10,7 @@ import { NekoShop, WagmiConics, } from '@configs/links' +import ArrowLink from '@components/icons/ArrowLink' export default function Footer() { return ( @@ -48,22 +49,42 @@ export default function Footer() { links: [ { href: NekoNFT, - text: 'NFT', + // @ts-ignore + text: ( +
+ NFT +
+ ), newTab: true, }, { href: '#', - text: 'Wallet', + // @ts-ignore + text: ( +
+ Wallet +
+ ), newTab: true, }, { href: NekoShop, - text: 'Shop', newTab: true, + // @ts-ignore + text: ( +
+ Shop +
+ ), }, { href: WagmiConics, - text: 'Comic', + // @ts-ignore + text: ( +
+ Comic +
+ ), newTab: true, }, ], diff --git a/components/layout/Navbar.tsx b/components/layout/Navbar.tsx index 3d2e25d..d36443e 100644 --- a/components/layout/Navbar.tsx +++ b/components/layout/Navbar.tsx @@ -1,4 +1,5 @@ import InstallButton, { installContentMenus } from '@components/InstallButton' +import ArrowLink from '@components/icons/ArrowLink' import { NekoNFT, NekoShop } from '@configs/links' import { Accordion, @@ -23,7 +24,7 @@ const shareItems = [ href={NekoNFT} target="_blank" > - NFT + NFT , , ,