-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated headers for claims and veBAL (#2000)
* wip new claims header * Updated claims header * Updated veBAL header * Clean up veBAL header * Clean up Claims header * Update claims header * updated veBAL repeating background
- Loading branch information
Showing
15 changed files
with
267 additions
and
96 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
<script setup lang="ts"></script> | ||
|
||
<template> | ||
<div class="bg"> | ||
<div class="w-full hero-container"> | ||
<div class="hero-content"> | ||
<div class="hero-text fade-in-slow"> | ||
<h1 class="title mb-3 text-white text-shadow"> | ||
{{ $t('claimHero.title') }} | ||
</h1> | ||
<p class="body-text text-shadow"> | ||
{{ $t('claimHero.description') }} | ||
</p> | ||
</div> | ||
</div> | ||
<div class="hero-graphic-container"> | ||
<div | ||
class="grid grid-cols-2 sm:grid-cols-4 gap-8 sm:gap-4 xl:gap-12 items-center w-full fade-in-slow" | ||
> | ||
<div class="tip group"> | ||
<img | ||
width="144" | ||
height="144" | ||
class="tip-icon" | ||
src="@/assets/images/icons/claims-header/add-liquidity.svg" | ||
/> | ||
<p class="tip-label font-semibold text-shadow"> | ||
{{ $t('claimHero.tipLabel.addLiquidity') }} | ||
<BalTooltip | ||
iconSize="xs" | ||
textAlign="left" | ||
class="relative top-px" | ||
iconClass="text-white" | ||
width="60" | ||
> | ||
{{ $t('claimHero.tips.addLiquidity') }} | ||
</BalTooltip> | ||
</p> | ||
</div> | ||
<div class="tip group"> | ||
<img | ||
width="144" | ||
height="144" | ||
class="tip-icon" | ||
src="@/assets/images/icons/claims-header/stake.svg" | ||
/> | ||
<p class="tip-label font-semibold text-shadow"> | ||
{{ $t('claimHero.tipLabel.stake') }} | ||
<BalTooltip | ||
iconSize="xs" | ||
textAlign="left" | ||
class="relative top-px" | ||
iconClass="text-white" | ||
width="60" | ||
> | ||
{{ $t('claimHero.tips.stake') }} | ||
</BalTooltip> | ||
</p> | ||
</div> | ||
<div class="tip group"> | ||
<img | ||
width="144" | ||
height="144" | ||
class="tip-icon" | ||
src="@/assets/images/icons/claims-header/vebal.svg" | ||
/> | ||
<p class="tip-label font-semibold text-shadow"> | ||
{{ $t('claimHero.tipLabel.boost') }} | ||
<BalTooltip | ||
iconSize="xs" | ||
textAlign="left" | ||
class="relative top-px" | ||
iconClass="text-white" | ||
width="60" | ||
> | ||
{{ $t('claimHero.tips.boost') }} | ||
</BalTooltip> | ||
</p> | ||
</div> | ||
<div class="tip group"> | ||
<img | ||
width="144" | ||
height="144" | ||
class="tip-icon" | ||
src="@/assets/images/icons/claims-header/claim.svg" | ||
/> | ||
<p class="tip-label font-semibold text-shadow"> | ||
{{ $t('claimHero.tipLabel.claim') }} | ||
<BalTooltip | ||
iconSize="xs" | ||
textAlign="left" | ||
class="relative top-px" | ||
iconClass="text-white" | ||
width="60" | ||
> | ||
{{ $t('claimHero.tips.claim') }} | ||
</BalTooltip> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
.bg { | ||
@apply bg-gradient-to-r from-pink-500 to-yellow-500 relative; | ||
background-image: url('/images/backgrounds/claims-header.svg'); | ||
@apply bg-no-repeat bg-cover bg-center; | ||
} | ||
.hero-container { | ||
@apply grid grid-cols-1 lg:grid-cols-3 lg:container lg:mx-auto; | ||
} | ||
.hero-graphic-container { | ||
@apply w-full px-4 py-8 xl:p-8 flex items-center lg:col-span-2; | ||
} | ||
.hero-content { | ||
@apply px-4 pt-12 lg:p-8 lg:pl-0 flex items-center w-full relative; | ||
} | ||
.hero-text { | ||
@apply opacity-0; | ||
} | ||
.body-text { | ||
@apply text-white pb-0 font-medium; | ||
text-shadow: 0px 1px 0px rgb(0 0 0 / 15%), 4px 4px 8px rgb(0 0 0 / 15%); | ||
} | ||
.tip { | ||
@apply flex flex-col items-center text-center group; | ||
} | ||
.tip-icon { | ||
@apply pb-4 transition-transform duration-300; | ||
} | ||
.tip-label { | ||
@apply text-white leading-5 transition-colors; | ||
} | ||
.tip:hover .tip-icon { | ||
/* Tailwind class -translate-y-2 not working for some reason here */ | ||
transform: translateY(-8px); | ||
} | ||
.tip-number { | ||
@apply block pb-1; | ||
} | ||
</style> |
Oops, something went wrong.
4d8aaeb
There was a problem hiding this comment.
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:
beta-polygon – ./
beta-polygon-git-develop-balancer.vercel.app
beta-polygon.vercel.app
beta.polygon.balancer.fi
beta-polygon-balancer.vercel.app
4d8aaeb
There was a problem hiding this comment.
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:
beta-kovan – ./
staging-kovan-app.vercel.app
beta-kovan-git-develop-balancer.vercel.app
beta-kovan-balancer.vercel.app
beta.kovan.balancer.fi
staging.kovan.app.balancer.fi
4d8aaeb
There was a problem hiding this comment.
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:
beta-arbitrum – ./
beta-arbitrum.vercel.app
beta-arbitrum-git-develop-balancer.vercel.app
beta.arbitrum.balancer.fi
beta-arbitrum-balancer.vercel.app
4d8aaeb
There was a problem hiding this comment.
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:
beta-app – ./
beta-app-balancer.vercel.app
staging.app.balancer.fi
beta.balancer.fi
beta-app-git-develop-balancer.vercel.app
staging-app-tau.vercel.app