mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 01:10:02 +02:00
chore: adjust hero animation
This commit is contained in:
parent
64e904d405
commit
d2e0166e64
4 changed files with 17 additions and 20 deletions
|
@ -34,12 +34,12 @@ const {
|
|||
{community.description}
|
||||
</p>
|
||||
<div class="flex w-full flex-wrap gap-3 sm:gap-10 md:justify-center">
|
||||
<span class="community__button opacity-0 blur-sm">
|
||||
<div class="community__button opacity-0 blur-sm">
|
||||
<Button class:list={['px-4']} href="https://github.com/zen-browser">
|
||||
<GitHubIcon class="size-4" />
|
||||
<span>{community.lists.freeAndOpenSource.title}</span>
|
||||
</Button>
|
||||
</span>
|
||||
</div>
|
||||
<div class="community__button flex items-center gap-4 opacity-0 blur-sm">
|
||||
<CheckIcon class="size-4" />
|
||||
<span>{community.lists.simpleYetPowerful.title}</span>
|
||||
|
@ -74,7 +74,7 @@ const {
|
|||
filter: { from: 'blur(4px)', to: 'blur(0px)' },
|
||||
duration: 300,
|
||||
delay: stagger(150),
|
||||
easing: 'easeOutQuart',
|
||||
ease: 'cubicBezier(0.25, 0.1, 0.25, 1)',
|
||||
autoplay: onScroll({
|
||||
target: '#community',
|
||||
debug,
|
||||
|
|
|
@ -113,7 +113,7 @@ const featureList = [
|
|||
filter: { from: 'blur(4px)', to: 'blur(0px)' },
|
||||
duration: 300,
|
||||
delay: stagger(150),
|
||||
easing: 'easeOutQuart',
|
||||
ease: 'cubicBezier(0.25, 0.1, 0.25, 1)',
|
||||
autoplay: onScroll({
|
||||
target: '#features',
|
||||
debug,
|
||||
|
|
|
@ -44,20 +44,17 @@ const {
|
|||
<div
|
||||
class="flex w-2/3 flex-col items-center justify-center gap-3 sm:gap-6 md:w-fit md:flex-row"
|
||||
>
|
||||
<Button
|
||||
class="hero__link-group_button w-fit opacity-0 blur-sm"
|
||||
href={getLocalePath('/download')}
|
||||
isPrimary
|
||||
>
|
||||
{hero.buttons.beta}
|
||||
<ArrowRightIcon class="size-4" />
|
||||
</Button>
|
||||
<Button
|
||||
href={getLocalePath('/donate')}
|
||||
class="hero__link-group_button w-fit opacity-0 blur-sm"
|
||||
>
|
||||
{hero.buttons.support}
|
||||
</Button>
|
||||
<div class="hero__link-group_button opacity-0 blur-sm">
|
||||
<Button class="w-fit" href={getLocalePath('/download')} isPrimary>
|
||||
{hero.buttons.beta}
|
||||
<ArrowRightIcon class="size-4" />
|
||||
</Button>
|
||||
</div>
|
||||
<div class="hero__link-group_button opacity-0 blur-sm">
|
||||
<Button class="w-fit" href={getLocalePath('/donate')}>
|
||||
{hero.buttons.support}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
<SocialMediaStrip class="blur-sm" opacity={0} />
|
||||
</div>
|
||||
|
@ -95,7 +92,7 @@ const {
|
|||
filter: { from: 'blur(4px)', to: 'blur(0px)' },
|
||||
duration: 300,
|
||||
delay: stagger(150),
|
||||
easing: 'easeOutQuart',
|
||||
ease: 'cubicBezier(0.25, 0.1, 0.25, 1)',
|
||||
autoplay: onScroll({
|
||||
target: '#header',
|
||||
debug,
|
||||
|
|
|
@ -50,7 +50,7 @@ const {
|
|||
filter: { from: 'blur(4px)', to: 'blur(0px)' },
|
||||
duration: 300,
|
||||
delay: stagger(150),
|
||||
easing: 'easeOutQuart',
|
||||
ease: 'cubicBezier(0.25, 0.1, 0.25, 1)',
|
||||
autoplay: onScroll({
|
||||
target: '#sponsors',
|
||||
debug,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue