1- import { ChainId } from '@aave/contract-helpers' ;
21import { Box } from '@mui/material' ;
32import React , { ReactNode } from 'react' ;
43import AnalyticsConsent from 'src/components/Analytics/AnalyticsConsent' ;
@@ -10,125 +9,7 @@ import { AppFooter } from './AppFooter';
109import { AppHeader } from './AppHeader' ;
1110import TopBarNotify from './TopBarNotify' ;
1211
13- const getCampaignConfigs = ( ) => ( {
14- [ ChainId . base ] : {
15- notifyText : 'Aave V4 is now live on Ethereum mainnet.' ,
16- buttonText : 'Try it out here' ,
17- buttonAction : {
18- type : 'url' as const ,
19- value : 'https://pro.aave.com/' ,
20- target : '_blank' as const ,
21- } ,
22- bannerVersion : 'aave-pro-mainnet-v1' ,
23- } ,
24-
25- [ ChainId . sonic ] : {
26- notifyText : 'Aave V4 is now live on Ethereum mainnet.' ,
27- buttonText : 'Try it out here' ,
28- buttonAction : {
29- type : 'url' as const ,
30- value : 'https://pro.aave.com/' ,
31- target : '_blank' as const ,
32- } ,
33- bannerVersion : 'aave-pro-mainnet-v1' ,
34- // icon: '/icons/networks/sonic.svg',
35- } ,
36-
37- [ ChainId . mainnet ] : {
38- notifyText : 'Aave V4 is now live on Ethereum mainnet.' ,
39- buttonText : 'Try it out here' ,
40- buttonAction : {
41- type : 'url' as const ,
42- value : 'https://pro.aave.com/' ,
43- target : '_blank' as const ,
44- } ,
45- bannerVersion : 'aave-pro-mainnet-v1' ,
46- } ,
47-
48- [ ChainId . polygon ] : {
49- notifyText : 'Aave V4 is now live on Ethereum mainnet.' ,
50- buttonText : 'Try it out here' ,
51- buttonAction : {
52- type : 'url' as const ,
53- value : 'https://pro.aave.com/' ,
54- target : '_blank' as const ,
55- } ,
56- bannerVersion : 'aave-pro-mainnet-v1' ,
57- // icon: '/icons/networks/polygon.svg',
58- } ,
59-
60- [ ChainId . avalanche ] : {
61- notifyText : 'Aave V4 is now live on Ethereum mainnet.' ,
62- buttonText : 'Try it out here' ,
63- buttonAction : {
64- type : 'url' as const ,
65- value : 'https://pro.aave.com/' ,
66- target : '_blank' as const ,
67- } ,
68- bannerVersion : 'aave-pro-mainnet-v1' ,
69- // icon: '/icons/networks/avalanche.svg',
70- } ,
71-
72- [ ChainId . arbitrum_one ] : {
73- notifyText : 'Aave V4 is now live on Ethereum mainnet.' ,
74- buttonText : 'Try it out here' ,
75- buttonAction : {
76- type : 'url' as const ,
77- value : 'https://pro.aave.com/' ,
78- target : '_blank' as const ,
79- } ,
80- bannerVersion : 'aave-pro-mainnet-v1' ,
81- // icon: '/icons/networks/arbitrum.svg',
82- } ,
83-
84- [ ChainId . optimism ] : {
85- notifyText : 'Aave V4 is now live on Ethereum mainnet.' ,
86- buttonText : 'Try it out here' ,
87- buttonAction : {
88- type : 'url' as const ,
89- value : 'https://pro.aave.com/' ,
90- target : '_blank' as const ,
91- } ,
92- bannerVersion : 'aave-pro-mainnet-v1' ,
93- // icon: '/icons/networks/optimism.svg',
94- } ,
95-
96- [ ChainId . xdai ] : {
97- notifyText : 'Aave V4 is now live on Ethereum mainnet.' ,
98- buttonText : 'Try it out here' ,
99- buttonAction : {
100- type : 'url' as const ,
101- value : 'https://pro.aave.com/' ,
102- target : '_blank' as const ,
103- } ,
104- bannerVersion : 'aave-pro-mainnet-v1' ,
105- // icon: '/icons/networks/gnosis.svg',
106- } ,
107-
108- [ ChainId . bnb ] : {
109- notifyText : 'Aave V4 is now live on Ethereum mainnet.' ,
110- buttonText : 'Try it out here' ,
111- buttonAction : {
112- type : 'url' as const ,
113- value : 'https://pro.aave.com/' ,
114- target : '_blank' as const ,
115- } ,
116- bannerVersion : 'aave-pro-mainnet-v1' ,
117- // icon: '/icons/networks/binance.svg',
118- } ,
119-
120- [ ChainId . ink ] : {
121- notifyText : 'Aave V4 is now live on Ethereum mainnet.' ,
122- buttonText : 'Try it out here' ,
123- buttonAction : {
124- type : 'url' as const ,
125- value : 'https://pro.aave.com/' ,
126- target : '_blank' as const ,
127- } ,
128- bannerVersion : 'aave-pro-mainnet-v1' ,
129- // icon: '/icons/networks/ink.svg',
130- } ,
131- } ) ;
12+ const getCampaignConfigs = ( ) => ( { } ) ;
13213
13314// For defining Route specific campaigns if needed in future
13415const routeCampaigns = {
0 commit comments