-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hotfix: merge the release-hotfix to main branch (#1108)
* add claim warning banner (#1104) * add claim warning banner * update style * fix: removed estimatedGas from sendEvmTransaction (#1107) * hotfix: update claim warning banner text (#1110) --------- Co-authored-by: Ayumi Takahashi <ayumee528@gmail.com>
- Loading branch information
1 parent
16e50dc
commit ad7fc32
Showing
6 changed files
with
73 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<template> | ||
<div class="banner" :class="`banner--${network}`"> | ||
{{ $t('warning.claimRewards') }} | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { defineComponent } from 'vue'; | ||
export default defineComponent({ | ||
props: { | ||
network: { | ||
type: Number, | ||
default: 0, | ||
}, | ||
}, | ||
setup() { | ||
return {}; | ||
}, | ||
}); | ||
</script> | ||
|
||
<style lang="scss" scoped> | ||
@import 'src/css/quasar.variables.scss'; | ||
.banner { | ||
color: $gray-2; | ||
font-weight: 600; | ||
padding: 4px 16px 8px 16px; | ||
line-height: 1.25; | ||
font-size: 12px; | ||
@media (min-width: $sm) { | ||
font-size: 14px; | ||
} | ||
// shibuya, zKatana, local | ||
background: linear-gradient(90deg, #6c6c6c 25%, #b7b7b7 100%); | ||
// astar native | ||
&.banner--0 { | ||
background: linear-gradient(90deg, #e6007a 25%, #ff9dd1 100%); | ||
} | ||
// shiden | ||
&.banner--1 { | ||
background: linear-gradient(90deg, #5928b1 25%, #b092ea 100%); | ||
} | ||
// zkEVM | ||
&.banner--3 { | ||
background: linear-gradient(90deg, #703ac2 25%, #226dff 100%); | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters