forked from sashaastiadi/www_mycelium_net
refactor: update download link to internal route and hide demo button
This commit is contained in:
@@ -4,10 +4,8 @@ import { ArrowDownTrayIcon } from '@heroicons/react/24/solid'
|
|||||||
export function DownloadLink() {
|
export function DownloadLink() {
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
href="https://github.com/threefoldtech/mycelium/releases"
|
href="/download"
|
||||||
aria-label="Download Mycelium"
|
aria-label="Download Mycelium"
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
className="inline-flex items-center rounded-lg bg-cyan-500 px-4 py-2 text-sm font-semibold text-white hover:bg-cyan-600 transition-colors"
|
className="inline-flex items-center rounded-lg bg-cyan-500 px-4 py-2 text-sm font-semibold text-white hover:bg-cyan-600 transition-colors"
|
||||||
>
|
>
|
||||||
<ArrowDownTrayIcon className="h-5 w-5 mr-2" />
|
<ArrowDownTrayIcon className="h-5 w-5 mr-2" />
|
||||||
|
@@ -117,13 +117,13 @@ export function Hero() {
|
|||||||
</p>
|
</p>
|
||||||
<div className="mt-8 flex flex-wrap gap-x-6 gap-y-4">
|
<div className="mt-8 flex flex-wrap gap-x-6 gap-y-4">
|
||||||
<DownloadLink />
|
<DownloadLink />
|
||||||
<Button
|
{/* <Button
|
||||||
href="https://youtu.be/4oq15lxvkts?si=Heh_8DHqHaNpy3_F"
|
href="https://youtu.be/4oq15lxvkts?si=Heh_8DHqHaNpy3_F"
|
||||||
variant="outline"
|
variant="outline"
|
||||||
>
|
>
|
||||||
<PlayIcon className="h-6 w-6 flex-none" />
|
<PlayIcon className="h-6 w-6 flex-none" />
|
||||||
<span className="ml-2.5">Watch the Demo</span>
|
<span className="ml-2.5">Watch the Demo</span>
|
||||||
</Button>
|
</Button> */}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="relative lg:mt-10 mt-0 lg:col-span-5 lg:row-span-2 xl:col-span-6">
|
<div className="relative lg:mt-10 mt-0 lg:col-span-5 lg:row-span-2 xl:col-span-6">
|
||||||
|
Reference in New Issue
Block a user