add balena etcher button #43

Merged
ashkan-o merged 2 commits from main into main 2024-12-07 06:08:28 -05:00

View file

@ -42,7 +42,7 @@ export default function DownloadPage({ item }) {
hash={item.hash} hash={item.hash}
maintainer={item.maintainer} /> maintainer={item.maintainer} />
</Card> </Card>
<div className="flex justify-center"> <div className="flex flex-wrap justify-center gap-2">
{item.changelog && ( {item.changelog && (
<Button asChild variant="outline" size="lg" className="rounded-full text-lg py-6 flex me-4"> <Button asChild variant="outline" size="lg" className="rounded-full text-lg py-6 flex me-4">
<Link href={item.changelog} download> <Link href={item.changelog} download>
@ -57,6 +57,9 @@ export default function DownloadPage({ item }) {
{t('details.download', item.text[lang])} {t('details.download', item.text[lang])}
</Link> </Link>
</Button> </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>
</div> </div>
</main> </main>