Skip to content

Commit

Permalink
feat(lighthouse): increase alternate download tap targets
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Setch <[email protected]>
  • Loading branch information
setchy committed Dec 5, 2024
1 parent f4a7dd7 commit a2c86f9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/components/LatestRelease.astro
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,17 @@ const { downloadLinks, version, releaseDate } = await loadInitialData();
</a>
))}
</div>
<div class="w-80">
<p>
<div class="w-80 flex flex-col gap-2">
<div>
Latest version: <a href={URLs.GITHUB.LATEST_RELEASE}>{version}</a>
</p>
<p class="mt-1">Released on: {releaseDate}</p>
</div>
<div>Released on: {releaseDate}</div>
{downloadLinks.alt.length > 0 && (
<p class="mt-1">
<p>
Also available on:
<ul class="list-disc list-inside ml-4">
{downloadLinks.alt.map((platform) => (
<li class="mt-1">
<li class="mb-2">
<a href={platform.url || URLs.GITHUB.LATEST_RELEASE}>
{platform.name}
</a>
Expand All @@ -153,7 +153,7 @@ const { downloadLinks, version, releaseDate } = await loadInitialData();
</a>
</div>
<div>
<div>Couldn&apos;t get latest version.</div>
<div>Couldn't retrieve latest version.</div>
</div>
</>
)
Expand Down

0 comments on commit a2c86f9

Please sign in to comment.