Skip to content

Commit 2f88259

Browse files
committed
removing a few chains & testing out dealfront
1 parent 447bc1a commit 2f88259

File tree

2 files changed

+139
-142
lines changed

2 files changed

+139
-142
lines changed

src/components/common/constants.ts

Lines changed: 81 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -23,30 +23,30 @@ export const NETWORK_LIST = [
2323
iconPath: '/images/base-logo.svg',
2424
iconPathInverted: '/images/base-logo.svg',
2525
},
26-
{
27-
name: 'Vanar Mainnet',
28-
key: 'vanar-mainnet',
29-
iconPath: '/images/vanarlogo.svg',
30-
iconPathInverted: '/images/vanarlogo.svg',
31-
},
32-
{
33-
name: 'Vanar Testnet',
34-
key: 'vanar-testnet',
35-
iconPath: '/images/vanarlogo.svg',
36-
iconPathInverted: '/images/vanarlogo.svg',
37-
},
26+
// {
27+
// name: 'Vanar Mainnet',
28+
// key: 'vanar-mainnet',
29+
// iconPath: '/images/vanarlogo.svg',
30+
// iconPathInverted: '/images/vanarlogo.svg',
31+
// },
32+
// {
33+
// name: 'Vanar Testnet',
34+
// key: 'vanar-testnet',
35+
// iconPath: '/images/vanarlogo.svg',
36+
// iconPathInverted: '/images/vanarlogo.svg',
37+
// },
3838
{
3939
name: 'Cyber Mainnet',
4040
key: 'cyber-mainnet',
4141
iconPath: '/images/cyber-logo.svg',
4242
iconPathInverted: '/images/cyber-logo.svg',
4343
},
44-
{
45-
name: 'Fuse',
46-
key: 'fuse',
47-
iconPath: '/images/fuse-logo.svg',
48-
iconPathInverted: '/images/fuse-logo.svg',
49-
},
44+
// {
45+
// name: 'Fuse',
46+
// key: 'fuse',
47+
// iconPath: '/images/fuse-logo.svg',
48+
// iconPathInverted: '/images/fuse-logo.svg',
49+
// },
5050
{
5151
name: 'Base Sepolia',
5252
key: 'base-sepolia',
@@ -65,36 +65,36 @@ export const NETWORK_LIST = [
6565
iconPath: '/images/arbitrum-logo.svg',
6666
iconPathInverted: '/images/arbitrum-logo.svg',
6767
},
68-
{
69-
name: 'Goerli',
70-
key: 'goerli',
71-
iconPath: '/images/eth-diamond-purple.svg',
72-
iconPathInverted: '/images/eth-diamond-purple.svg',
73-
},
68+
// {
69+
// name: 'Goerli',
70+
// key: 'goerli',
71+
// iconPath: '/images/eth-diamond-purple.svg',
72+
// iconPathInverted: '/images/eth-diamond-purple.svg',
73+
// },
7474
{
7575
name: 'Avalanche',
7676
key: 'avalanche',
7777
iconPath: '/images/avalanche-logo-red.svg',
7878
iconPathInverted: '/images/avalanche-logo-red.svg',
7979
},
80-
{
81-
name: 'Mumbai',
82-
key: 'mumbai',
83-
iconPath: '/images/polygon-mumbai-icon.svg',
84-
iconPathInverted: '/images/polygon-mumbai-inverted.svg',
85-
},
80+
// {
81+
// name: 'Mumbai',
82+
// key: 'mumbai',
83+
// iconPath: '/images/polygon-mumbai-icon.svg',
84+
// iconPathInverted: '/images/polygon-mumbai-inverted.svg',
85+
// },
8686
{
8787
name: 'Polygon Amoy',
8888
key: 'polygon-amoy',
8989
iconPath: '/images/polygon-mumbai-icon.svg',
9090
iconPathInverted: '/images/polygon-mumbai-inverted.svg',
9191
},
92-
{
93-
name: 'Arbitrum Goerli',
94-
key: 'arbitrum-goerli',
95-
iconPath: '/images/arbitrum-logo.svg',
96-
iconPathInverted: '/images/arbitrum-logo.svg',
97-
},
92+
// {
93+
// name: 'Arbitrum Goerli',
94+
// key: 'arbitrum-goerli',
95+
// iconPath: '/images/arbitrum-logo.svg',
96+
// iconPathInverted: '/images/arbitrum-logo.svg',
97+
// },
9898
{
9999
name: 'Arbitrum Sepolia',
100100
key: 'arbitrum-sepolia',
@@ -113,48 +113,42 @@ export const NETWORK_LIST = [
113113
iconPath: '/images/avalanche-logo-red.svg',
114114
iconPathInverted: '/images/avalanche-logo-red.svg',
115115
},
116-
{
117-
name: 'Fantom',
118-
key: 'fantom',
119-
iconPath: '/images/fantom-logo.svg',
120-
iconPathInverted: '/images/fantom-logo.svg',
121-
},
122-
{
123-
name: 'Fantom Testnet',
124-
key: 'fantom-testnet',
125-
iconPath: '/images/fantom-logo.svg',
126-
iconPathInverted: '/images/fantom-logo.svg',
127-
},
128-
{
129-
name: 'Gnosis',
130-
key: 'gnosis',
131-
iconPath: '/images/gnosis-logo.svg',
132-
iconPathInverted: '/images/gnosis-logo.svg',
133-
},
116+
// {
117+
// name: 'Fantom',
118+
// key: 'fantom',
119+
// iconPath: '/images/fantom-logo.svg',
120+
// iconPathInverted: '/images/fantom-logo.svg',
121+
// },
122+
// {
123+
// name: 'Fantom Testnet',
124+
// key: 'fantom-testnet',
125+
// iconPath: '/images/fantom-logo.svg',
126+
// iconPathInverted: '/images/fantom-logo.svg',
127+
// },
128+
// {
129+
// name: 'Gnosis',
130+
// key: 'gnosis',
131+
// iconPath: '/images/gnosis-logo.svg',
132+
// iconPathInverted: '/images/gnosis-logo.svg',
133+
// },
134134
{
135135
name: 'Base Testnet',
136136
key: 'base-testnet',
137137
iconPath: '/images/base-logo.svg',
138138
iconPathInverted: '/images/base-logo.svg',
139139
},
140-
{
141-
name: 'Binance Smart Chain',
142-
key: 'bsc',
143-
iconPath: '/images/bsc-logo.svg',
144-
iconPathInverted: '/images/bsc-logo.svg',
145-
},
146-
{
147-
name: 'BNB Testnet',
148-
key: 'bnb-testnet',
149-
iconPath: '/images/bsc-logo.svg',
150-
iconPathInverted: '/images/bsc-logo.svg',
151-
},
152-
{
153-
name: 'EDU Chain',
154-
key: 'open-campus-test',
155-
iconPath: '/images/EduchainLogo.svg',
156-
iconPathInverted: '/images/EduchainLogo.svg',
157-
},
140+
// {
141+
// name: 'Binance Smart Chain',
142+
// key: 'bsc',
143+
// iconPath: '/images/bsc-logo.svg',
144+
// iconPathInverted: '/images/bsc-logo.svg',
145+
// },
146+
// {
147+
// name: 'BNB Testnet',
148+
// key: 'bnb-testnet',
149+
// iconPath: '/images/bsc-logo.svg',
150+
// iconPathInverted: '/images/bsc-logo.svg',
151+
// },
158152

159153
// {
160154
// name: 'Celo Alfajores',
@@ -177,32 +171,30 @@ export const NETWORK_ICON_MAP: NETWORK_ICON_MAP = {
177171
goerli: '/images/eth-diamond-purple.svg',
178172
sepolia: '/images/eth-diamond-purple.svg',
179173
matic: '/images/polygon-icon.svg',
180-
mumbai: '/images/polygon-mumbai-icon.svg',
174+
// mumbai: '/images/polygon-mumbai-icon.svg',
181175
'optimism-sepolia': '/images/icon-container (6).svg',
182176
optimism: '/images/icon-container (6).svg',
183177
'arbitrum-one': '/images/arbitrum-logo.svg',
184-
'arbitrum-goerli': '/images/arbitrum-logo.svg',
178+
// 'arbitrum-goerli': '/images/arbitrum-logo.svg',
185179
'arbitrum-sepolia': '/images/arbitrum-logo.svg',
186180
avalanche: '/images/avalanche-logo-red.svg',
187181
'avalanche-fuji': '/images/avalanche-logo-red.svg',
188-
fantom: '/images/fantom-logo.svg',
189-
'fantom-testnet': '/images/fantom-logo.svg',
190-
'base-testnet': '/images/base-logo.svg',
182+
// fantom: '/images/fantom-logo.svg',
183+
// 'fantom-testnet': '/images/fantom-logo.svg',
184+
// 'base-testnet': '/images/base-logo.svg',
191185
base: '/images/base-logo.svg',
192186
'base-sepolia': '/images/base-logo.svg',
193-
gnosis: '/images/gnosis-logo.svg',
194-
bsc: '/images/bsc-logo.svg',
195-
'bnb-testnet': '/images/bsc-logo.svg',
196-
fuse: '/images/fuse-logo.svg',
197-
'celo-alfajores': '/images/Celo_logo_black.svg',
198-
degen: '/images/degen-logo.png',
187+
// gnosis: '/images/gnosis-logo.svg',
188+
// bsc: '/images/bsc-logo.svg',
189+
// 'bnb-testnet': '/images/bsc-logo.svg',
190+
// fuse: '/images/fuse-logo.svg',
191+
// 'celo-alfajores': '/images/Celo_logo_black.svg',
192+
// degen: '/images/degen-logo.png',
199193
'polygon-amoy': '/images/polygon-mumbai-icon.svg',
200194
'cyber-mainnet': '/images/cyber-logo.svg',
201-
'vanar-testnet': '/images/vanarlogo.svg',
202-
'vanar-mainnet': '/images/vanarlogo.svg',
203-
testnet: '/images/vanar-testnet.svg',
204-
'open-campus-test': '/images/EduchainLogo.svg',
205-
195+
// 'vanar-testnet': '/images/vanarlogo.svg',
196+
// 'vanar-mainnet': '/images/vanarlogo.svg',
197+
// testnet: '/images/vanar-testnet',
206198
};
207199

208200
export const NETWORK_SCANNER_MAP: { [key: string]: string } = {
@@ -235,7 +227,7 @@ export const NETWORK_SCANNER_MAP: { [key: string]: string } = {
235227
'vanar-mainnet': 'https://explorer.vanarchain.com',
236228
testnet: 'https://explorer-vanguard.vanarchain.com',
237229
'open-campus-test': 'https://opencampus-codex.blockscout.com/',
238-
230+
239231
};
240232

241233
export const ENTRY_POINT_ADDRESS_MAP: { [key: string]: string } = {

src/components/global/footer/Footer.tsx

Lines changed: 58 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -8,68 +8,73 @@ import Donations from './Donations';
88
import pages from './pages.json';
99
import socials from './social.json';
1010
import FeedbackCard from './FeedbackCard';
11-
11+
import Script from 'next/script';
1212

1313
function Footer() {
1414
return (
1515
<>
16-
<FeedbackCard/>
17-
<footer className="bg-dark-600 py-8 md:py-12 text-white">
18-
<div className="container flex flex-col gap-8 md:gap-12">
19-
<div className=" flex md:flex-row flex-col md:justify-between md:items-center">
20-
<div className="flex items-center gap-1 md:ml-0 -ml-3">
21-
{socials.map(({ icon, id, url }) => (
22-
<Link className="w-14 h-14 grid place-content-center" target="_blank" href={url} key={id}>
23-
<img src={icon} alt="" />
24-
</Link>
25-
))}
26-
</div>
27-
<div className="">
28-
<BacktoTop />
29-
</div>
30-
</div>
31-
<hr className="border-dark-300" />
32-
<div className="grid grid-cols-2 md:grid-cols-4 gap-6">
33-
<div>
34-
<div className="mb-6">
35-
<Link href="/">
36-
<img src="/images/Frame 22.svg" alt="" />
37-
</Link>
16+
<FeedbackCard />
17+
<footer className="py-8 text-white bg-dark-600 md:py-12">
18+
<div className="container flex flex-col gap-8 md:gap-12">
19+
<div className="flex flex-col md:flex-row md:justify-between md:items-center">
20+
<div className="flex gap-1 items-center -ml-3 md:ml-0">
21+
{socials.map(({ icon, id, url }) => (
22+
<Link className="grid place-content-center w-14 h-14" target="_blank" href={url} key={id}>
23+
<img src={icon} alt="" />
24+
</Link>
25+
))}
26+
</div>
27+
<div className="">
28+
<BacktoTop />
3829
</div>
39-
<p className="text-sm">
40-
A block explorer and analytics platform for Account Abstraction on EVM chains using EIP-4337.
41-
</p>
4230
</div>
43-
{pages.map(({ id, lists, name }) => (
44-
<div key={id} className="md:place-self-center md:self-start">
45-
<b className="font-normal text-sm text-dark-200 block mb-6">{name}</b>
46-
<div className="flex flex-col gap-3 md:gap-5">
47-
{lists.map(([name, url], index) => (
48-
<Link
49-
className="flex items-center gap-2 font-bold group text-white"
50-
key={index}
51-
target="_blank"
52-
href={url}
53-
>
54-
<span>{name}</span>
55-
<img
56-
className="group-hover:translate-x-1 duration-100"
57-
src="/images/icon-container (17).svg"
58-
alt=""
59-
/>
60-
</Link>
61-
))}
31+
<hr className="border-dark-300" />
32+
<div className="grid grid-cols-2 gap-6 md:grid-cols-4">
33+
<div>
34+
<div className="mb-6">
35+
<Link href="/">
36+
<img src="/images/Frame 22.svg" alt="" />
37+
</Link>
6238
</div>
39+
<p className="text-sm">
40+
A block explorer and analytics platform for Account Abstraction on EVM chains using EIP-4337.
41+
</p>
6342
</div>
64-
))}
65-
</div>
66-
<hr className="border-dark-300" />
67-
<div className="flex flex-wrap gap-3 md:gap-10 justify-between ">
68-
<Copyright />
69-
<Donations />
43+
{pages.map(({ id, lists, name }) => (
44+
<div key={id} className="md:place-self-center md:self-start">
45+
<b className="block mb-6 text-sm font-normal text-dark-200">{name}</b>
46+
<div className="flex flex-col gap-3 md:gap-5">
47+
{lists.map(([name, url], index) => (
48+
<Link
49+
className="flex gap-2 items-center font-bold text-white group"
50+
key={index}
51+
target="_blank"
52+
href={url}
53+
>
54+
<span>{name}</span>
55+
<img
56+
className="duration-100 group-hover:translate-x-1"
57+
src="/images/icon-container (17).svg"
58+
alt=""
59+
/>
60+
</Link>
61+
))}
62+
</div>
63+
</div>
64+
))}
65+
</div>
66+
<hr className="border-dark-300" />
67+
<div className="flex flex-wrap gap-3 justify-between md:gap-10">
68+
<Copyright />
69+
<Donations />
70+
</div>
71+
<Script
72+
dangerouslySetInnerHTML={{
73+
__html: `(function(ss,ex){ window.ldfdr=window.ldfdr||function(){(ldfdr._q=ldfdr._q||[]).push([].slice.call(arguments));}; (function(d,s){ fs=d.getElementsByTagName(s)[0]; function ce(src){ var cs=d.createElement(s); cs.src=src; cs.async=1; fs.parentNode.insertBefore(cs,fs); }; ce('https://sc.lfeeder.com/lftracker_v1_'+ss+(ex?'_'+ex:'')+'.js'); })(document,'script'); })('lYNOR8xyObe7WQJZ');`,
74+
}}
75+
/>
7076
</div>
71-
</div>
72-
</footer>
77+
</footer>
7378
</>
7479
);
7580
}

0 commit comments

Comments
 (0)