Skip to content

Commit

Permalink
remove background color image
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-aurele-besner committed Dec 18, 2024
1 parent 59c9d01 commit 7348e1c
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 87 deletions.
14 changes: 0 additions & 14 deletions explorer/public/images/backgroundColor.svg

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -84,19 +84,13 @@ function Screen({
<div
tw='relative w-full h-full flex flex-col items-center justify-between'
style={{
background: 'linear-gradient(180deg, #0B050F 0%, #4D2F92 50%, #BC8EDA 100%)',
background: 'linear-gradient(180deg, #050D26 0%, #27355D 100%)',
}}
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src={url + '/images/backgroundColor.svg'}
tw='w-[1200px] h-[630px]'
alt={'Background Color'}
/>
<div
tw='absolute flex flex-row border-none rounded-[20px] p-4 w-240 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<h2
Expand Down Expand Up @@ -124,7 +118,7 @@ function Screen({
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-30 mt-70 mb-4 p-6 w-100 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-100 m-6'>
Expand Down Expand Up @@ -158,7 +152,7 @@ function Screen({
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-140 mt-70 mb-4 p-6 w-130 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-130 m-6'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,19 +77,13 @@ function Screen({
<div
tw='relative w-full h-full flex flex-col items-center justify-between'
style={{
background: 'linear-gradient(180deg, #0B050F 0%, #4D2F92 50%, #BC8EDA 100%)',
background: 'linear-gradient(180deg, #050D26 0%, #27355D 100%)',
}}
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src={url + '/images/backgroundColor.svg'}
tw='w-[1200px] h-[630px]'
alt={'Background Color'}
/>
<div
tw='absolute flex flex-row border-none rounded-[20px] p-4 w-240 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<h2
Expand Down Expand Up @@ -117,7 +111,7 @@ function Screen({
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-30 mt-70 mb-4 p-6 w-100 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-100 m-6'>
Expand Down Expand Up @@ -151,7 +145,7 @@ function Screen({
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-140 mt-70 mb-4 p-6 w-130 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-130 m-6'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,19 +75,13 @@ function Screen({
<div
tw='relative w-full h-full flex flex-col items-center justify-between'
style={{
background: 'linear-gradient(180deg, #0B050F 0%, #4D2F92 50%, #BC8EDA 100%)',
background: 'linear-gradient(180deg, #050D26 0%, #27355D 100%)',
}}
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src={url + '/images/backgroundColor.svg'}
tw='w-[1200px] h-[630px]'
alt={'Background Color'}
/>
<div
tw='absolute flex flex-row border-none rounded-[20px] p-4 w-240 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<h2
Expand Down Expand Up @@ -115,7 +109,7 @@ function Screen({
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-30 mt-70 mb-4 p-6 w-100 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-100 m-6'>
Expand All @@ -141,7 +135,7 @@ function Screen({
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-140 mt-70 mb-4 p-6 w-130 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-130 m-6'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,13 @@ function Screen({
<div
tw='relative w-full h-full flex flex-col items-center justify-between'
style={{
background: 'linear-gradient(180deg, #0B050F 0%, #4D2F92 50%, #BC8EDA 100%)',
background: 'linear-gradient(180deg, #050D26 0%, #27355D 100%)',
}}
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src={url + '/images/backgroundColor.svg'}
tw='w-[1200px] h-[630px]'
alt={'Background Color'}
/>
<div
tw='absolute flex flex-row border-none rounded-[20px] p-4 w-240 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<h2
Expand Down Expand Up @@ -118,7 +112,7 @@ function Screen({
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-30 mt-70 mb-4 p-6 w-100 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-100 m-6'>
Expand Down Expand Up @@ -152,7 +146,7 @@ function Screen({
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-140 mt-70 mb-4 p-6 w-130 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-130 m-6'>
Expand Down
18 changes: 6 additions & 12 deletions explorer/src/app/[chain]/consensus/image/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,13 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
<div
tw='relative w-full h-full flex flex-col items-center justify-between'
style={{
background: 'linear-gradient(180deg, #0B050F 0%, #4D2F92 50%, #BC8EDA 100%)',
background: 'linear-gradient(180deg, #050D26 0%, #27355D 100%)',
}}
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src={url + '/images/backgroundColor.svg'}
tw='w-[1200px] h-[630px]'
alt={'Background Color'}
/>
<div
tw='absolute flex flex-row border-none rounded-[20px] p-4 w-240 h-30'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<h2
Expand All @@ -97,7 +91,7 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-30 mt-60 mb-2 p-6 w-100 h-30'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-100 m-6'>
Expand All @@ -115,7 +109,7 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-30 mt-100 mb-1 p-6 w-100 h-30'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-100 m-6'>
Expand All @@ -133,7 +127,7 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-140 mt-60 mb-4 p-6 w-130 h-30'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-130 m-6'>
Expand All @@ -151,7 +145,7 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-140 mt-100 mb-1 p-6 w-130 h-30'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-130 m-6'>
Expand Down
14 changes: 4 additions & 10 deletions explorer/src/app/[chain]/consensus/logs/[logId]/image/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,13 @@ function Screen({
<div
tw='relative w-full h-full flex flex-col items-center justify-between'
style={{
background: 'linear-gradient(180deg, #0B050F 0%, #4D2F92 50%, #BC8EDA 100%)',
background: 'linear-gradient(180deg, #050D26 0%, #27355D 100%)',
}}
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src={url + '/images/backgroundColor.svg'}
tw='w-[1200px] h-[630px]'
alt={'Background Color'}
/>
<div
tw='absolute flex flex-row border-none rounded-[20px] p-4 w-240 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<h2
Expand Down Expand Up @@ -114,7 +108,7 @@ function Screen({
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-30 mt-70 mb-4 p-6 w-100 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-100 m-6'>
Expand Down Expand Up @@ -148,7 +142,7 @@ function Screen({
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-140 mt-70 mb-4 p-6 w-130 h-40'
style={{
background: 'linear-gradient(180deg, #4141B3 0%, #6B5ACF 50%, #896BD2 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-col w-130 m-6'>
Expand Down
14 changes: 4 additions & 10 deletions explorer/src/app/[chain]/image/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,9 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
<div
tw='relative w-full h-full flex flex-col items-center justify-between'
style={{
background: 'linear-gradient(180deg, #0B050F 0%, #4D2F92 50%, #BC8EDA 100%)',
background: 'linear-gradient(180deg, #050D26 0%, #27355D 100%)',
}}
>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src={'http://localhost:3000//images/backgroundColor.svg'}
tw='w-[1200px] h-[630px]'
alt={'Background Color'}
/>
<div tw='absolute flex flex-row border-none w-full h-full'>
<div tw='flex flex-col w-full justify ml-15'>
<LogoIcon />
Expand Down Expand Up @@ -107,13 +101,13 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-155 mt-65 mb-4 p-6 w-60 h-50'
style={{
background: 'linear-gradient(180deg, #AC70E1 0%, #E6ADDC 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
></div>
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-155 mt-65 mb-4 p-6 w-60 h-50'
style={{
background: 'linear-gradient(180deg, #AC70E1 0%, #E6ADDC 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-row w-full m-6 justify-center'>
Expand All @@ -139,7 +133,7 @@ function Screen({ chainMatch, data }: { chainMatch: (typeof indexers)[number]; d
<div
tw='absolute flex flex-row border-none rounded-[20px] ml-225 mt-65 mb-4 p-6 w-60 h-50'
style={{
background: 'linear-gradient(180deg, #6E6ECD 0%, #A196E1 50%, #C2B0EE 100%)',
background: 'linear-gradient(180deg, #032372 0%, #1949D2 100%)',
}}
>
<div tw='absolute flex flex-row w-full m-6 justify-center'>
Expand Down
2 changes: 1 addition & 1 deletion explorer/src/components/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const MainLayout: FC<Props> = ({ children, subHeader }) => {

return (
<div className="from-backgroundLight to-backgroundDark dark:from-backgroundDarker dark:to-backgroundDarkest dark:bg-boxDark relative flex min-h-screen w-full flex-col bg-gradient-to-b font-['Montserrat']">
<div className="relative flex min-h-screen w-full flex-col bg-[url('/images/backgroundColor.svg')] bg-cover font-['Montserrat']">
<div className="relative flex min-h-screen w-full flex-col font-['Montserrat']">
{outOfSync}
<SectionHeader />
{subHeader}
Expand Down

0 comments on commit 7348e1c

Please sign in to comment.