Skip to content

Commit

Permalink
Hotfix/1.14.1 2 (#726)
Browse files Browse the repository at this point in the history
* fix: lm banner and external link

* fix: dangling tag

* update: domain better code

* fix: lint

* upate: tick version

* Revert "upate: tick version"

This reverts commit 9528587.

* update: tick version
  • Loading branch information
arb000r authored Aug 23, 2021
1 parent 4cd34d4 commit 4ace228
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
7 changes: 5 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@balancer-labs/frontend-v2",
"version": "1.14.0",
"version": "1.14.1",
"engines": {
"node": "14.x",
"npm": ">=7"
Expand Down
24 changes: 18 additions & 6 deletions src/pages/LiquidityMining.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@
>Liquidity Mining is also on {{ otherNetwork }}</span
>

<BalLink>
<div class="flex items-center">
View {{ otherNetwork }} liquidity mining incentives
<BalIcon name="arrow-right" />
</div>
<BalLink external>
<a :href="otherNetworkLink">
<div class="flex items-center">
View {{ otherNetwork }} liquidity mining incentives
<BalIcon name="arrow-right" />
</div>
</a>
</BalLink>
</div>
<div class="mt-12 max-w-6xl">
Expand Down Expand Up @@ -207,6 +209,14 @@ export default defineComponent({
return 'Ethereum';
});
const otherNetworkLink = computed(() => {
let networkDomain = 'polygon';
if (networkConfig.chainId === Network.POLYGON) {
networkDomain = 'app';
}
return `https://${networkDomain}.balancer.fi/#/liquidity-mining`;
});
return {
weeks,
pools,
Expand All @@ -218,14 +228,16 @@ export default defineComponent({
currentWeek,
currentWeekTotalFiat,
fNum,
otherNetwork
otherNetwork,
otherNetworkLink
};
}
});
</script>

<style>
.lm-banner {
@apply bg-cover bg-center;
background-image: url('/images/backgrounds/bg-header.svg');
}
</style>

3 comments on commit 4ace228

@vercel
Copy link

@vercel vercel bot commented on 4ace228 Aug 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 4ace228 Aug 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 4ace228 Aug 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

app – ./

app-balancer.vercel.app
app-git-master-balancer.vercel.app
pm2.vercel.app
app.balancer.fi

Please sign in to comment.