diff --git a/src/components/layout/Swiper.tsx b/src/components/layout/Swiper.tsx index 57356b9a7..6af292b3a 100644 --- a/src/components/layout/Swiper.tsx +++ b/src/components/layout/Swiper.tsx @@ -12,14 +12,14 @@ export default function AdSwiper() { const [closeStatus, setCloseStatus] = useState(true); useEffect(() => { const popupSwiper = localStorage.getItem('ad-announcement'); - if (popupSwiper == '4') { + if (popupSwiper == '6') { setCloseStatus(true); } else { setCloseStatus(false); } }, []); const closePop = (e: any) => { - localStorage.setItem('ad-announcement', '4'); + localStorage.setItem('ad-announcement', '6'); e.stopPropagation(); setCloseStatus(true); }; @@ -38,6 +38,22 @@ export default function AdSwiper() { }} loop={true} > + {/* +
+ +
+
{ + window.open(''); + }} + > + {is_mobile ? : } +
+
*/}
{ - window.open('/orderbook/perps'); + window.open( + 'https://twitter.com/finance_ref/status/1762500901238182007' + ); }} > - {is_mobile ? : } + {is_mobile ? : }
@@ -64,10 +82,12 @@ export default function AdSwiper() {
{ - window.open('/v2farms/4179-r'); + window.open( + 'https://x.com/finance_ref/status/1762132293194330253?s=20' + ); }} > - {is_mobile ? : } + {is_mobile ? : }
@@ -76,7353 +96,51 @@ export default function AdSwiper() { ); } -function Perp() { +function NearPool() { return ( ); } -function PerpMobile() { +function NearPoolMobile() { return ( ); } - -function StablePool() { +function GalxeGiveaway() { + return ( + + ); +} +function GalxeGiveawayMobile() { + return ( + + ); +} +function WhalesCampaign() { return ( ); } -function StablePoolMobile() { +function WhalesCampaignMobile() { return ( ); } diff --git a/src/pages/SwapPage.tsx b/src/pages/SwapPage.tsx index 6f8e311b3..a551ea084 100644 --- a/src/pages/SwapPage.tsx +++ b/src/pages/SwapPage.tsx @@ -470,11 +470,11 @@ function SwapPage() { /> )} - {/* {!isMobile && ( + {!isMobile && (
- )} */} + )} {!isMobile && swapMode === SWAP_MODE.NORMAL && (
@@ -483,11 +483,11 @@ function SwapPage() {
- {/* {isMobile && ( + {isMobile && (
- )} */} + )} ); } diff --git a/src/services/config.ts b/src/services/config.ts index 99cf36ddb..4335ada51 100644 --- a/src/services/config.ts +++ b/src/services/config.ts @@ -229,6 +229,8 @@ export default function getConfig( '2497', '2194', '2320', + '4513', + '4514', ], FARM_LOCK_SWITCH: process.env.FARM_LOCK_SWITCH || 0, VotingGauge: ['10%', '10%'], @@ -552,6 +554,8 @@ export default function getConfig( '2497', '2194', '2320', + '4513', + '4514', ], FARM_LOCK_SWITCH: process.env.FARM_LOCK_SWITCH || 0,