This commit is contained in:
Georges KABBOUCHI 2021-08-09 22:11:32 +03:00
parent a2a8f3e7d0
commit df6cb13eb4
3 changed files with 24 additions and 10 deletions

View File

@ -2,6 +2,9 @@
<div class="flex flex-col items-center text-primary-black flex-shrink-0 w-full px-8 mb-2 text-center sm:mb-10">
<h3 class="flex items-center font-medium leading-none">Balance</h3>
<div class="mt-2 font-semibold text-32">{{ formatUsd(balanceTotal) }}</div>
<div class="mt-1 flex items-center text-grey-dark">
Your Instadapp Balance <Info text="This is your Instadapp Contract Account balance, not your web3 wallet balance." class="ml-1" />
</div>
</div>
</template>

View File

@ -1,11 +1,22 @@
<template>
<div
class="min-h-screen relative overflow-hidden font-sans antialiased text-primary-black"
class="relative overflow-hidden font-sans antialiased text-primary-black"
>
<Navbar />
<div class="max-w-6xl mx-auto py-12 overflow-x-hidden ">
<div>
<Nuxt />
<div class="min-h-screen flex flex-col">
<Navbar />
<div class="flex-1 overflow-x-hidden ">
<div class="max-w-6xl mx-auto py-12">
<Nuxt />
</div>
</div>
<div class="text-center py-8">
<a
class="font-medium text-primary-blue-dark hover:text-primary-blue-hover hover:underline"
href="https://github.com/Instadapp/assembly-nuxt"
target="_blank"
>
Contribute on GitHub
</a>
</div>
</div>
@ -19,7 +30,7 @@
<div class="fixed bottom-0 right-0 mr-10 mb-16">
<button
@click="showSidebarBalances"
@click="showSidebarBalances"
class="px-9 h-[56px] bg-primary-blue-dark hover:bg-primary-blue-hover text-white rounded-[28px] text-lg font-semibold shadow flex items-center"
>
<svg
@ -105,7 +116,7 @@ export default defineComponent({
}, { immediate: true })
onErrorCaptured(() => {
return false
})

View File

@ -44,21 +44,21 @@ const appsPerNetwork = {
icon: AaveIcon,
name: "Aave v2",
url: "/mainnet/aave-v2",
description: "Lend and borrow straight from your Gnosis Safe"
description: "Money Market"
},
{
id: "compound",
icon: CompoundIcon,
name: "Compound",
url: "/mainnet/compound",
description: "Lend and borrow straight from your Gnosis Safe"
description: "Money Market"
},
{
id: "maker",
icon: MakerIcon,
name: "MakerDAO",
url: "/mainnet/maker",
description: "Lend and borrow straight from your Gnosis Safe"
description: "Collateralized Debt"
}
],
polygon: [