Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/gitify-app/website
Browse files Browse the repository at this point in the history
  • Loading branch information
setchy committed Dec 5, 2024
2 parents 74ec477 + be752c7 commit e794e86
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>
<li class="mb-2.5">
<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 e794e86

Please sign in to comment.