Skip to content

Commit

Permalink
Merge pull request #452 from Amoralchik/fix-hero-update-download-butt…
Browse files Browse the repository at this point in the history
…on-text-to-reflect-beta-availability

fix(hero): update download button text to reflect beta availability
  • Loading branch information
NOCanoa authored Feb 2, 2025
2 parents 2c31d27 + 5a8c46a commit 0e323cf
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ function getHeroTitleAnimation() {
class="flex w-full flex-col items-center gap-[20%] py-32 pb-16 text-center md:pb-32 lg:gap-[15%] lg:pb-16"
>
<div class="flex h-full flex-col items-center justify-center">
<motion.a
href="/download"
className="transition-bg mb-10 flex items-center gap-2 rounded-full border-2 border-dark bg-dark px-2 py-0 py-1 text-sm text-paper shadow-sm hover:bg-paper hover:text-dark hover:duration-200 md:px-4"
client:load
{...getTitleAnimation(1.8)}
>
<div>Beta is now available!</div>
<ArrowRight class="size-4" />
</motion.a>
<Title
class="relative px-12 text-left !font-normal leading-[108px] md:text-center md:!text-7xl lg:px-0 lg:!text-9xl"
>
Expand Down Expand Up @@ -63,7 +54,7 @@ function getHeroTitleAnimation() {
<div class="mt-6 flex w-2/3 flex-col gap-3 sm:gap-6 md:w-fit md:flex-row">
<motion.span client:load {...getHeroTitleAnimation()}>
<Button class="w-full" href="/download" isPrimary>
Download
Beta is now available!
<ArrowRight class="size-4" />
</Button>
</motion.span>
Expand Down

0 comments on commit 0e323cf

Please sign in to comment.