fixed balena etcher button
This commit is contained in:
parent
f09764feec
commit
0e93e5c685
3 changed files with 10 additions and 6 deletions
|
@ -82,7 +82,8 @@ export default {
|
|||
)
|
||||
},
|
||||
download: text => `Download ${text}`,
|
||||
changelog: 'View Changelog'
|
||||
changelog: 'View Changelog',
|
||||
balenaEtcher: 'Flash with Balena Etcher'
|
||||
},
|
||||
|
||||
error_404: "Error 404 - Page Not Found"
|
||||
|
|
|
@ -83,7 +83,8 @@ export default {
|
|||
)
|
||||
},
|
||||
download: text => `دانلود ${text}`,
|
||||
changelog: 'مشاهدهٔ تغییرات'
|
||||
changelog: 'مشاهدهٔ تغییرات',
|
||||
balenaEtcher: 'نوشتن با Balena Etcher'
|
||||
},
|
||||
|
||||
error_404: "ارور ۴۰۴ - برگه پیدا نشد"
|
||||
|
|
|
@ -42,7 +42,7 @@ export default function DownloadPage({ item }) {
|
|||
hash={item.hash}
|
||||
maintainer={item.maintainer} />
|
||||
</Card>
|
||||
<div className="flex flex-wrap justify-center gap-2">
|
||||
<div className="flex max-[520px]:flex-col 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>
|
||||
|
@ -57,9 +57,11 @@ 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" />
|
||||
<Button asChild variant="outline" size="lg" className="rounded-full text-lg py-6 flex">
|
||||
<Link href={`https://efp.balena.io/open-image-url?imageUrl=${item.href}`}>
|
||||
{t('details.balenaEtcher')}
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
|
Loading…
Add table
Reference in a new issue