From a17f772a4035cf0359ac78f02025a665bf94757f Mon Sep 17 00:00:00 2001 From: DIYgod Date: Thu, 8 Sep 2022 06:11:29 +0100 Subject: [PATCH] feat: home page add links --- src/components/main/MainLayout.tsx | 8 +++++++- src/pages/index.tsx | 12 ++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/components/main/MainLayout.tsx b/src/components/main/MainLayout.tsx index dcfb7fab..0f4be374 100644 --- a/src/components/main/MainLayout.tsx +++ b/src/components/main/MainLayout.tsx @@ -33,7 +33,7 @@ export function MainLayout({ {tabs?.map((tab, index) => ( ))} + + GitHub + diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 0e32b277..515e3550 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -15,7 +15,7 @@ import { BlockchainIcon } from "~/components/icons/BlockchainIcon" import { Button } from "~/components/ui/Button" import { useConnectModal } from "@rainbow-me/rainbowkit" import { useRouter } from "next/router" -import { GITHUB_LINK, APP_NAME } from "~/lib/env" +import { GITHUB_LINK, APP_NAME, CSB_SCAN } from "~/lib/env" import { getSiteLink } from "~/lib/helpers" import { Link, Element } from "react-scroll" @@ -115,7 +115,11 @@ export default function Home({ region }: { region: string | null }) {

Blog Free

- {APP_NAME}, an on-chain and{" "} + {APP_NAME}, an{" "} + + on-chain + {" "} + and{" "} open-source {" "} @@ -231,11 +235,11 @@ export default function Home({ region }: { region: string | null }) { href="/dashboard" className="text-theme-color inline-flex items-center space-x-2" > - + ) : ( )}