diff --git a/src/constants.ts b/src/constants.ts index 458997485..582029c03 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -2,7 +2,7 @@ export enum HttpCodes { NotFound = 404, } -export const ORIGINAL_BLOCK_TIME = 12; +export const ORIGINAL_BLOCK_TIME = 6; export const PERIOD1_START_BLOCKS = new Map([ ['astar', 5514935], diff --git a/src/i18n/en-US/index.ts b/src/i18n/en-US/index.ts index 039ff1505..3b4e8d9f9 100644 --- a/src/i18n/en-US/index.ts +++ b/src/i18n/en-US/index.ts @@ -473,6 +473,7 @@ export default { switching: 'Switching to', willBeBack: 'We will be back', verySoon: 'very soon', + visitLater: 'Please visit the page later.', }, }, assets: { @@ -731,6 +732,7 @@ export default { portalIpfs: 'Portal is now on IPFS!', astarHome: 'Astar Home', astarDocs: 'Astar Docs', + goHome: 'Go Home', }, disclaimer: { disclaimer: 'Disclaimer', @@ -763,7 +765,7 @@ export default { noDappSelected: 'No dApp selected.', stakerRewardsExpired: 'Staker rewards expired.', dappStaking: { - Disabled: 'Pallet is disabled/in maintenance mode.', + Disabled: 'dApp staking is currently in maintenance mode.', NoExpiredEntries: 'There are no expired entries to clean up.', NoStakingInfo: 'Account has no staking information for the contract', NotOperatedDApp: 'dApp is part of dApp staking but is not active anymore.', diff --git a/src/staking-v3/components/DiscoverV3.vue b/src/staking-v3/components/DiscoverV3.vue index e1a36c661..6a2f6d715 100644 --- a/src/staking-v3/components/DiscoverV3.vue +++ b/src/staking-v3/components/DiscoverV3.vue @@ -50,6 +50,7 @@ backgroundImage: `url(${require('src/staking-v3/assets/dapp_staking_period002_bg.webp')})`, }" /> + @@ -69,6 +70,7 @@ import PeriodInfoBuild from './PeriodInfoBuild.vue'; import VotingWizard from './vote/VotingWizard.vue'; import PeriodStats from './PeriodStats.vue'; import ToggleButtons from './ToggleButtons.vue'; +import MaintenanceMode from './MaintenanceMode.vue'; export default defineComponent({ components: { @@ -81,6 +83,7 @@ export default defineComponent({ VotingWizard, PeriodStats, ToggleButtons, + MaintenanceMode, }, setup() { const { isZkEvm, isAstarZkEvm, currentNetworkIdx } = useNetworkInfo(); diff --git a/src/staking-v3/components/MaintenanceMode.vue b/src/staking-v3/components/MaintenanceMode.vue index ea9b13ecb..4a06ef74c 100644 --- a/src/staking-v3/components/MaintenanceMode.vue +++ b/src/staking-v3/components/MaintenanceMode.vue @@ -1,37 +1,69 @@ + +