From 7348e1ccccabf8ad50efce3424f974bb48913d9a Mon Sep 17 00:00:00 2001
From: Marc-Aurele Besner
<82244926+marc-aurele-besner@users.noreply.github.com>
Date: Wed, 18 Dec 2024 10:00:05 -0500
Subject: [PATCH] remove background color image
---
explorer/public/images/backgroundColor.svg | 14 --------------
.../accounts/[accountId]/image/route.tsx | 14 ++++----------
.../consensus/blocks/[blockId]/image/route.tsx | 14 ++++----------
.../consensus/events/[eventId]/image/route.tsx | 14 ++++----------
.../extrinsics/[extrinsicId]/image/route.tsx | 14 ++++----------
.../src/app/[chain]/consensus/image/route.tsx | 18 ++++++------------
.../consensus/logs/[logId]/image/route.tsx | 14 ++++----------
explorer/src/app/[chain]/image/route.tsx | 14 ++++----------
explorer/src/components/layout/Layout.tsx | 2 +-
9 files changed, 31 insertions(+), 87 deletions(-)
delete mode 100644 explorer/public/images/backgroundColor.svg
diff --git a/explorer/public/images/backgroundColor.svg b/explorer/public/images/backgroundColor.svg
deleted file mode 100644
index 4d929ac91..000000000
--- a/explorer/public/images/backgroundColor.svg
+++ /dev/null
@@ -1,14 +0,0 @@
-
diff --git a/explorer/src/app/[chain]/consensus/accounts/[accountId]/image/route.tsx b/explorer/src/app/[chain]/consensus/accounts/[accountId]/image/route.tsx
index 946305156..da50ee89a 100644
--- a/explorer/src/app/[chain]/consensus/accounts/[accountId]/image/route.tsx
+++ b/explorer/src/app/[chain]/consensus/accounts/[accountId]/image/route.tsx
@@ -84,19 +84,13 @@ function Screen({
- {/* eslint-disable-next-line @next/next/no-img-element */}
-
@@ -158,7 +152,7 @@ function Screen({
diff --git a/explorer/src/app/[chain]/consensus/blocks/[blockId]/image/route.tsx b/explorer/src/app/[chain]/consensus/blocks/[blockId]/image/route.tsx
index b916edcc9..d24cbb675 100644
--- a/explorer/src/app/[chain]/consensus/blocks/[blockId]/image/route.tsx
+++ b/explorer/src/app/[chain]/consensus/blocks/[blockId]/image/route.tsx
@@ -77,19 +77,13 @@ function Screen({
- {/* eslint-disable-next-line @next/next/no-img-element */}
-
@@ -151,7 +145,7 @@ function Screen({
diff --git a/explorer/src/app/[chain]/consensus/events/[eventId]/image/route.tsx b/explorer/src/app/[chain]/consensus/events/[eventId]/image/route.tsx
index c679409d7..81c457359 100644
--- a/explorer/src/app/[chain]/consensus/events/[eventId]/image/route.tsx
+++ b/explorer/src/app/[chain]/consensus/events/[eventId]/image/route.tsx
@@ -75,19 +75,13 @@ function Screen({
- {/* eslint-disable-next-line @next/next/no-img-element */}
-
@@ -141,7 +135,7 @@ function Screen({
diff --git a/explorer/src/app/[chain]/consensus/extrinsics/[extrinsicId]/image/route.tsx b/explorer/src/app/[chain]/consensus/extrinsics/[extrinsicId]/image/route.tsx
index 8a1deffdc..2b737b73e 100644
--- a/explorer/src/app/[chain]/consensus/extrinsics/[extrinsicId]/image/route.tsx
+++ b/explorer/src/app/[chain]/consensus/extrinsics/[extrinsicId]/image/route.tsx
@@ -78,19 +78,13 @@ function Screen({
- {/* eslint-disable-next-line @next/next/no-img-element */}
-
@@ -152,7 +146,7 @@ function Screen({
diff --git a/explorer/src/app/[chain]/consensus/image/route.tsx b/explorer/src/app/[chain]/consensus/image/route.tsx
index c4ed1611f..e986dde01 100644
--- a/explorer/src/app/[chain]/consensus/image/route.tsx
+++ b/explorer/src/app/[chain]/consensus/image/route.tsx
@@ -65,19 +65,13 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
- {/* eslint-disable-next-line @next/next/no-img-element */}
-
@@ -115,7 +109,7 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
@@ -133,7 +127,7 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
@@ -151,7 +145,7 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
diff --git a/explorer/src/app/[chain]/consensus/logs/[logId]/image/route.tsx b/explorer/src/app/[chain]/consensus/logs/[logId]/image/route.tsx
index 73ba4a021..d33eac2d3 100644
--- a/explorer/src/app/[chain]/consensus/logs/[logId]/image/route.tsx
+++ b/explorer/src/app/[chain]/consensus/logs/[logId]/image/route.tsx
@@ -74,19 +74,13 @@ function Screen({
- {/* eslint-disable-next-line @next/next/no-img-element */}
-
@@ -148,7 +142,7 @@ function Screen({
diff --git a/explorer/src/app/[chain]/image/route.tsx b/explorer/src/app/[chain]/image/route.tsx
index bd72fd0cf..81a285e16 100644
--- a/explorer/src/app/[chain]/image/route.tsx
+++ b/explorer/src/app/[chain]/image/route.tsx
@@ -52,15 +52,9 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
- {/* eslint-disable-next-line @next/next/no-img-element */}
-
@@ -107,13 +101,13 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
@@ -139,7 +133,7 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
diff --git a/explorer/src/components/layout/Layout.tsx b/explorer/src/components/layout/Layout.tsx
index d62293a09..3f5945ec0 100644
--- a/explorer/src/components/layout/Layout.tsx
+++ b/explorer/src/components/layout/Layout.tsx
@@ -27,7 +27,7 @@ export const MainLayout: FC
= ({ children, subHeader }) => {
return (
-
+
{outOfSync}
{subHeader}