From c6e32103dc0cd14d2d3bbf6b0a664b86101e470e Mon Sep 17 00:00:00 2001
From: port <108868128+portdeveloper@users.noreply.github.com>
Date: Sat, 23 Mar 2024 21:05:43 +0300
Subject: [PATCH 1/6] Remove extra footer
---
packages/nextjs/pages/[contractAddress]/[network].tsx | 2 --
1 file changed, 2 deletions(-)
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 = () => {
)}
-
>
);
From d83aaeda42ad4865a9b7ecbd63763758756c14db Mon Sep 17 00:00:00 2001
From: port <108868128+portdeveloper@users.noreply.github.com>
Date: Sat, 23 Mar 2024 21:17:03 +0300
Subject: [PATCH 2/6] Use MiniFooter in ContractUI
---
packages/nextjs/components/MiniFooter.tsx | 46 +++++++++----------
.../scaffold-eth/Contract/ContractUI.tsx | 26 +----------
2 files changed, 23 insertions(+), 49 deletions(-)
diff --git a/packages/nextjs/components/MiniFooter.tsx b/packages/nextjs/components/MiniFooter.tsx
index f8edd52a..be715761 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 (
-
-
+
);
};
diff --git a/packages/nextjs/components/scaffold-eth/Contract/ContractUI.tsx b/packages/nextjs/components/scaffold-eth/Contract/ContractUI.tsx
index 592bab93..5ec46c49 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";
@@ -149,28 +148,7 @@ export const ContractUI = ({ className = "", initialContractData }: ContractUIPr
onMethodSelect={handleMethodSelect}
removeMethod={removeMethod}
/>
-
+
From e5df32bde03e8d0efe1e220246152e7516665042 Mon Sep 17 00:00:00 2001
From: port <108868128+portdeveloper@users.noreply.github.com>
Date: Sun, 24 Mar 2024 15:21:13 +0300
Subject: [PATCH 3/6] Remove unused components in _app.tsx
---
packages/nextjs/pages/_app.tsx | 4 ----
1 file changed, 4 deletions(-)
diff --git a/packages/nextjs/pages/_app.tsx b/packages/nextjs/pages/_app.tsx
index f85f3293..2962c83a 100644
--- a/packages/nextjs/pages/_app.tsx
+++ b/packages/nextjs/pages/_app.tsx
@@ -7,8 +7,6 @@ import NextNProgress from "nextjs-progressbar";
import { Toaster } from "react-hot-toast";
import { useDarkMode } from "usehooks-ts";
import { WagmiConfig } from "wagmi";
-// import { Footer } from "~~/components/Footer";
-// import { Header } from "~~/components/Header";
import { BlockieAvatar } from "~~/components/scaffold-eth";
import { useNativeCurrencyPrice } from "~~/hooks/scaffold-eth";
import { useGlobalState } from "~~/services/store/store";
@@ -29,11 +27,9 @@ const ScaffoldEthApp = ({ Component, pageProps }: AppProps) => {
return (
<>
- {/* */}
- {/* */}
>
From 8292c557cbb4570f98c77a7071dee58b295b7091 Mon Sep 17 00:00:00 2001
From: port <108868128+portdeveloper@users.noreply.github.com>
Date: Sun, 24 Mar 2024 15:26:02 +0300
Subject: [PATCH 4/6] Move pr on MiniFooter to the sidebar
---
packages/nextjs/components/MiniFooter.tsx | 2 +-
packages/nextjs/components/scaffold-eth/Contract/ContractUI.tsx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/nextjs/components/MiniFooter.tsx b/packages/nextjs/components/MiniFooter.tsx
index be715761..8e745a45 100644
--- a/packages/nextjs/components/MiniFooter.tsx
+++ b/packages/nextjs/components/MiniFooter.tsx
@@ -3,7 +3,7 @@ import { BuidlGuidlLogo } from "~~/components/assets/BuidlGuidlLogo";
export const MiniFooter = () => {
return (
-