Skip to content

Commit

Permalink
add project icon background to the owner page
Browse files Browse the repository at this point in the history
  • Loading branch information
ayumitk committed Jan 3, 2024
1 parent c10bfc6 commit 5439d02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/staking-v3/components/Owner.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
/>
<edit />
<div class="bg--owner" />
<dapp-background :dapp="dapp" />
</div>
</template>

Expand All @@ -36,9 +37,10 @@ import { CombinedDappInfo } from '../logic';
import Edit from './Edit.vue';
import KpiCard from './KpiCard.vue';
import YourRewards from './YourRewards.vue';
import DappBackground from './dapp/DappBackground.vue';
export default defineComponent({
components: { KpiCard, YourRewards, Edit },
components: { KpiCard, YourRewards, Edit, DappBackground },
setup() {
const route = useRoute();
const { nativeTokenSymbol } = useNetworkInfo();
Expand Down
3 changes: 2 additions & 1 deletion src/staking-v3/components/dapp/DappBackground.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<div class="wrapper--dapp-background">
<img class="image--dapp-icon" :src="dapp.extended?.iconUrl" :alt="dapp.extended?.name" />
aaa
<img class="image--dapp-icon" :src="dapp.basic.iconUrl" :alt="dapp.basic.name" />
</div>
</template>
<script lang="ts">
Expand Down

0 comments on commit 5439d02

Please sign in to comment.