-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add claim warning banner * update style
- Loading branch information
Showing
5 changed files
with
69 additions
and
18 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