From 2cf5403bd87a033faaa1cce3c6f531b7695c3b92 Mon Sep 17 00:00:00 2001 From: Will Date: Tue, 30 May 2023 15:30:31 +0900 Subject: [PATCH] Add paras campaign (#815) * add paras campaign * update title * update details --- src/assets/img/paras_logo.svg | 10 ++++++++++ .../my-staking/DynamicAdsArea.vue | 19 +++++++++++++------ src/data/featured_dapp.json | 9 +++++---- 3 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 src/assets/img/paras_logo.svg diff --git a/src/assets/img/paras_logo.svg b/src/assets/img/paras_logo.svg new file mode 100644 index 000000000..3c621110a --- /dev/null +++ b/src/assets/img/paras_logo.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/components/dapp-staking/my-staking/DynamicAdsArea.vue b/src/components/dapp-staking/my-staking/DynamicAdsArea.vue index 07dde290e..4df233f7b 100644 --- a/src/components/dapp-staking/my-staking/DynamicAdsArea.vue +++ b/src/components/dapp-staking/my-staking/DynamicAdsArea.vue @@ -21,10 +21,14 @@
{{ t.category }}
+ {{ t.title }} +
+
{{ t.subtitle }}
@@ -84,12 +88,15 @@ export default defineComponent({ }; const sourceImg = (img: string, index: number) => { + // MEMO: will be rollback later + // if (index === 0) { + // if (isShiden.value) { + // return require('/src/assets/img/ic_sdn_farm.svg'); + // } else { + // return require('/src/assets/img/ic_astar_farm.svg'); + // } if (index === 0) { - if (isShiden.value) { - return require('/src/assets/img/ic_sdn_farm.svg'); - } else { - return require('/src/assets/img/ic_astar_farm.svg'); - } + return require('/src/assets/img/paras_logo.svg'); } else if (index === 1) { return require('/src/assets/img/ic_algem_staking.svg'); } else if (index === 2) { diff --git a/src/data/featured_dapp.json b/src/data/featured_dapp.json index 0a24fac11..7b247a413 100644 --- a/src/data/featured_dapp.json +++ b/src/data/featured_dapp.json @@ -1,10 +1,11 @@ [ { "img": "", - "category": "Developer Incentive", - "title": "", - "subtitle": "Join the community and know how it works", - "link": "https://docs.astar.network/docs/dapp-staking/" + "category": "Exclusive Free Mint NFT", + "title": "Paras", + "subtitle": "Join Paras dApp staking to mint your USAGII NFT!", + "link": "https://bit.ly/USAGII-NFT", + "gradient": ["#1706A2", "#070438"] }, { "img": "",