From 0e28d65a0ee3a57f803107dff32f1e3e2d26eb07 Mon Sep 17 00:00:00 2001 From: port <108868128+portdeveloper@users.noreply.github.com> Date: Mon, 25 Mar 2024 22:18:33 +0300 Subject: [PATCH] Remove extra footer (#75) --- packages/nextjs/components/MiniFooter.tsx | 46 +++++++++---------- .../scaffold-eth/Contract/ContractUI.tsx | 28 ++--------- .../pages/[contractAddress]/[network].tsx | 2 - packages/nextjs/pages/_app.tsx | 4 -- packages/nextjs/pages/index.tsx | 2 +- 5 files changed, 25 insertions(+), 57 deletions(-) diff --git a/packages/nextjs/components/MiniFooter.tsx b/packages/nextjs/components/MiniFooter.tsx index f8edd52a..b1aff937 100644 --- a/packages/nextjs/components/MiniFooter.tsx +++ b/packages/nextjs/components/MiniFooter.tsx @@ -3,31 +3,27 @@ import { BuidlGuidlLogo } from "~~/components/assets/BuidlGuidlLogo"; export const MiniFooter = () => { return ( -
- +
+
+ + Fork me + +
+ · +
+

+ Built with at +

+ + + BuidlGuidl + +
); }; diff --git a/packages/nextjs/components/scaffold-eth/Contract/ContractUI.tsx b/packages/nextjs/components/scaffold-eth/Contract/ContractUI.tsx index 592bab93..8e3ba6ef 100644 --- a/packages/nextjs/components/scaffold-eth/Contract/ContractUI.tsx +++ b/packages/nextjs/components/scaffold-eth/Contract/ContractUI.tsx @@ -6,8 +6,7 @@ import { ContractWriteMethods } from "./ContractWriteMethods"; import { AbiFunction } from "abitype"; import { Abi } from "viem"; import { useContractRead } from "wagmi"; -import { HeartIcon } from "@heroicons/react/24/outline"; -import { BuidlGuidlLogo } from "~~/components/assets/BuidlGuidlLogo"; +import { MiniFooter } from "~~/components/MiniFooter"; import { Address, Balance, MethodSelector } from "~~/components/scaffold-eth"; import { useNetworkColor } from "~~/hooks/scaffold-eth"; import { useAbiNinjaState } from "~~/services/store/store"; @@ -142,35 +141,14 @@ export const ContractUI = ({ className = "", initialContractData }: ContractUIPr
-
diff --git a/packages/nextjs/pages/[contractAddress]/[network].tsx b/packages/nextjs/pages/[contractAddress]/[network].tsx index b3b4beb9..dd22bc4e 100644 --- a/packages/nextjs/pages/[contractAddress]/[network].tsx +++ b/packages/nextjs/pages/[contractAddress]/[network].tsx @@ -5,7 +5,6 @@ import { ParsedUrlQuery } from "querystring"; import { Abi, isAddress } from "viem"; import * as chains from "viem/chains"; import { ExclamationTriangleIcon } from "@heroicons/react/24/outline"; -import { Footer } from "~~/components/Footer"; import { MetaHeader } from "~~/components/MetaHeader"; import { MiniHeader } from "~~/components/MiniHeader"; import { ContractUI } from "~~/components/scaffold-eth"; @@ -133,7 +132,6 @@ const ContractDetailPage = () => {
)}
-