visual changes + sacrifice error fix

This commit is contained in:
Michel Fromme
2023-07-24 13:25:12 +02:00
parent 994c440e2f
commit 24d91353b9
8 changed files with 49 additions and 23 deletions
+14 -2
View File
@@ -41,6 +41,11 @@
</div>
<div v-else class="btn btn-immortal btn--disabled">Nothing to claim</div>
</div>
<div class="stake-buttons">
<div class="btn btn-immortal">Stake</div>
<div class="btn btn-immortal">Unstake</div>
</div>
</div>
</template>
@@ -58,7 +63,8 @@ const rewardLockerStore = useRewardLockerStore();
const walletStore = useWalletStore();
const roundStore = useRoundsStore();
const { address } = storeToRefs(walletStore);
const { activeRound, currentRound, getCurrentRoundData } = storeToRefs(roundStore);
const { activeRound, currentRound, getCurrentRoundData } =
storeToRefs(roundStore);
onMounted(async () => {});
@@ -79,7 +85,13 @@ async function claimRewards() {
padding: 32px 40px
.claim-button
text-align: center
margin-top: 32px
margin: 32px 0
.stake-buttons
display: flex
text-align: center
gap: 32px
div
flex: 1 1 50%
.rewards-wrapper
margin-bottom: 16px
.rewards-divider