diff --git a/package.json b/package.json index e05c4d04c..962fe8f1b 100644 --- a/package.json +++ b/package.json @@ -78,6 +78,7 @@ "serverless-http": "^2.7.0", "store": "^2.0.12", "stream": "^0.0.2", + "swiper": "^11.0.3", "v-odometer": "^2.0.1", "validator": "^13.7.0", "vue-i18n": "^9.2.2", diff --git a/public/images/ads/how_to_stake.webp b/public/images/ads/how_to_stake.webp new file mode 100644 index 000000000..5425a3f3f Binary files /dev/null and b/public/images/ads/how_to_stake.webp differ diff --git a/public/images/ads/what_is_dapp_staking.webp b/public/images/ads/what_is_dapp_staking.webp new file mode 100644 index 000000000..036477909 Binary files /dev/null and b/public/images/ads/what_is_dapp_staking.webp differ diff --git a/public/images/dapp_promotions/algem.jpg b/public/images/dapp_promotions/algem.jpg new file mode 100644 index 000000000..f4e837caa Binary files /dev/null and b/public/images/dapp_promotions/algem.jpg differ diff --git a/src/assets/img/dapps_staking_bg_dark.webp b/src/assets/img/dapps_staking_bg_dark.webp new file mode 100644 index 000000000..46f0730a4 Binary files /dev/null and b/src/assets/img/dapps_staking_bg_dark.webp differ diff --git a/src/assets/img/dapps_staking_bg_light.webp b/src/assets/img/dapps_staking_bg_light.webp new file mode 100644 index 000000000..8cccddfe9 Binary files /dev/null and b/src/assets/img/dapps_staking_bg_light.webp differ diff --git a/src/components/dapp-staking/StakingTop.vue b/src/components/dapp-staking/StakingTop.vue index 43b73db30..80da710dd 100644 --- a/src/components/dapp-staking/StakingTop.vue +++ b/src/components/dapp-staking/StakingTop.vue @@ -24,6 +24,13 @@ + + +
+
@@ -94,7 +101,13 @@ export default defineComponent({ store.dispatch('dapps/getTvl'); }); - return { isReady, isZkEvm }; + const isDarkTheme = computed(() => store.getters['general/theme'] === 'DARK'); + const bg_img = { + light: require('/src/assets/img/dapps_staking_bg_light.webp'), + dark: require('/src/assets/img/dapps_staking_bg_dark.webp'), + }; + + return { isReady, isZkEvm, isDarkTheme, bg_img }; }, }); diff --git a/src/components/dapp-staking/my-staking/AdsArea.vue b/src/components/dapp-staking/my-staking/AdsArea.vue index 47fb3d92c..4303a47e7 100644 --- a/src/components/dapp-staking/my-staking/AdsArea.vue +++ b/src/components/dapp-staking/my-staking/AdsArea.vue @@ -1,13 +1,32 @@ diff --git a/src/components/dapp-staking/my-staking/DynamicAdsArea.vue b/src/components/dapp-staking/my-staking/DynamicAdsArea.vue index b8c4fd78a..9e83004f5 100644 --- a/src/components/dapp-staking/my-staking/DynamicAdsArea.vue +++ b/src/components/dapp-staking/my-staking/DynamicAdsArea.vue @@ -1,118 +1,120 @@ + + diff --git a/src/components/dapp-staking/my-staking/MyRewards.vue b/src/components/dapp-staking/my-staking/MyRewards.vue index aae52cdbc..8e5124e6e 100644 --- a/src/components/dapp-staking/my-staking/MyRewards.vue +++ b/src/components/dapp-staking/my-staking/MyRewards.vue @@ -138,6 +138,12 @@
{{ $t('dappStaking.cantClaimWihtoutError') }}
+ +
+ {{ $t('new') }} + {{ $t('myReward.dappsOwners') }} + {{ $t('myReward.dappsOwnersLink') }} +
+ + diff --git a/src/components/dapp-staking/register/styles/register.scss b/src/components/dapp-staking/register/styles/register.scss index 92e483752..bbb12c63d 100644 --- a/src/components/dapp-staking/register/styles/register.scss +++ b/src/components/dapp-staking/register/styles/register.scss @@ -58,16 +58,15 @@ } .banner--container { - background-image: url('assets/img/astar_hero.png'); - background-repeat: no-repeat; - background-size: cover; - font-family: 'Inter'; - font-style: normal; - font-weight: 700; - font-size: 20px; + font-weight: 600; + font-size: 22px; line-height: 157.3%; - color: #f7f7f8; - text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); - padding: 30px; - border-radius: 6px; + color: $navy-1; + max-width: 800px; + margin: 0 auto 40px auto; +} +.body--dark { + .banner--container { + color: $gray-1; + } } diff --git a/src/components/header/modals/ModalConnectWallet.vue b/src/components/header/modals/ModalConnectWallet.vue index b86796ec9..c20e26768 100644 --- a/src/components/header/modals/ModalConnectWallet.vue +++ b/src/components/header/modals/ModalConnectWallet.vue @@ -42,10 +42,10 @@