Skip to content

Commit

Permalink
feat: 🎸 disable deposit
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 27, 2023
1 parent fe20ae6 commit 2b79092
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
23 changes: 22 additions & 1 deletion packages/fennec-ui/src/components/home/Banner.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div v-if="showBanner" class="banner-wrap">
<div class="banner">
<div v-if="!fullDisplay" class="banner">
<div
class="banner-content"
@click="handleShowDetail"
Expand All @@ -16,6 +16,13 @@
</span>
</div>

<div v-if="fullDisplay" class="banner banner__full">
<div class="markdown-here-wrapper">
<div class="banner-title">{{ meta.title }}</div>
<div class="banner-body" v-html="bodyMd"></div>
</div>
</div>

<f-bottom-sheet v-model="dialog">
<v-card flat>
<div class="text-center">
Expand Down Expand Up @@ -47,6 +54,10 @@ class Banner extends Vue {
bodyStr: any = null;
bodyMd: any = null;
get fullDisplay() {
return this.$route.name === "deposit";
}
get showBanner() {
return this.banner?.value;
}
Expand Down Expand Up @@ -151,6 +162,16 @@ export default Banner;
}
}
.banner.banner__full {
height: auto;
.banner-title {
font-size: 16px;
font-weight: 500;
padding: 0;
}
}
.banner-action {
font-weight: 500;
cursor: pointer;
Expand Down
4 changes: 2 additions & 2 deletions packages/fennec-ui/src/views/deposit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<div class="deposit-page">
<f-loading v-if="loading" :loading="loading" class="pa-5" />
<template v-else>
<asset-select v-model="asset" />
<!-- <asset-select v-model="asset" />
<template v-if="asset">
<deposit-methods :asset="asset" />
<deposit-warn :asset="asset" />
</template>
</template> -->
</template>
</div>
</template>
Expand Down

0 comments on commit 2b79092

Please sign in to comment.