Skip to content

Commit

Permalink
Merge pull request #332 from BramLeisink/main
Browse files Browse the repository at this point in the history
Fix buttons not having a href property
  • Loading branch information
mauro-balades authored Dec 10, 2024
2 parents 2120ee6 + 1f36889 commit 609707b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
10 changes: 4 additions & 6 deletions src/components/Community.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@ import {
features they want. Zen focuses on privacy and customization, not on data collection.
</Description>
<div class="mt-6 gap-3 px-4 sm:px-0 w-full sm:gap-10 flex flex-wrap justify-center">
<a href="https://github.com/zen-browser">
<Button class:list={['px-4']}>
<Github class="size-4" />
<span>View on Github</span>
</Button>
</a>
<Button class:list={['px-4']} href="https://github.com/zen-browser">
<Github class="size-4" />
<span>View on Github</span>
</Button>
<div class="flex items-center gap-4">
<Check class="size-4" />
<span>Fully Customizable</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { ArrowRight } from 'lucide-astro'
Download
<ArrowRight class="size-4" />
</Button>
<Button>Start Exploring</Button>
<Button href="#features">Start Exploring</Button>
</div>
</div>
</header>
Expand Down
6 changes: 3 additions & 3 deletions src/components/HomeExtras.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import { ArrowRight } from 'lucide-astro';
</Description>
<div class="flex mt-4">
<Button isPrimary href="/mods">
Zen Mods
<ArrowRight className="size-4" />
</Button>
Zen Mods
<ArrowRight className="size-4" />
</Button>
</div>
</div>
<div class="relative w-1/2 flex hidden lg:block" id="browser-images">
Expand Down

0 comments on commit 609707b

Please sign in to comment.