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}`,
|
download: text => `Download ${text}`,
|
||||||
changelog: 'View Changelog'
|
changelog: 'View Changelog',
|
||||||
|
balenaEtcher: 'Flash with Balena Etcher'
|
||||||
},
|
},
|
||||||
|
|
||||||
error_404: "Error 404 - Page Not Found"
|
error_404: "Error 404 - Page Not Found"
|
||||||
|
|
|
@ -83,7 +83,8 @@ export default {
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
download: text => `دانلود ${text}`,
|
download: text => `دانلود ${text}`,
|
||||||
changelog: 'مشاهدهٔ تغییرات'
|
changelog: 'مشاهدهٔ تغییرات',
|
||||||
|
balenaEtcher: 'نوشتن با Balena Etcher'
|
||||||
},
|
},
|
||||||
|
|
||||||
error_404: "ارور ۴۰۴ - برگه پیدا نشد"
|
error_404: "ارور ۴۰۴ - برگه پیدا نشد"
|
||||||
|
|
|
@ -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 flex-wrap justify-center gap-2">
|
<div className="flex max-[520px]:flex-col 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,9 +57,11 @@ 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">
|
<Button asChild variant="outline" size="lg" className="rounded-full text-lg py-6 flex">
|
||||||
<img src="http://balena.io/flash-with-etcher.png" className="h-12 drop-shadow" />
|
<Link href={`https://efp.balena.io/open-image-url?imageUrl=${item.href}`}>
|
||||||
</Link>
|
{t('details.balenaEtcher')}
|
||||||
|
</Link>
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
Loading…
Add table
Reference in a new issue