Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add balena etcher button #43

Merged
merged 2 commits into from
Dec 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading