Skip to content

Commit

Permalink
Merge pull request #43 from ashkan-o/main
Browse files Browse the repository at this point in the history
add balena etcher button
  • Loading branch information
behdanisohrab authored Dec 7, 2024
2 parents 67e52bf + 150e725 commit f09764f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/download/[slug].jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default function DownloadPage({ item }) {
hash={item.hash}
maintainer={item.maintainer} />
</Card>
<div className="flex justify-center">
<div className="flex flex-wrap justify-center gap-2">
{item.changelog && (
<Button asChild variant="outline" size="lg" className="rounded-full text-lg py-6 flex me-4">
<Link href={item.changelog} download>
Expand All @@ -57,6 +57,9 @@ export default function DownloadPage({ item }) {
{t('details.download', item.text[lang])}
</Link>
</Button>
<Link href={`https://efp.balena.io/open-image-url?imageUrl=${item.href}`} className="hover:brightness-110 duration-200 shrink-0">
<img src="http://balena.io/flash-with-etcher.png" className="h-12 drop-shadow" />
</Link>
</div>
</div>
</main>
Expand Down

0 comments on commit f09764f

Please sign in to comment.