import Link from 'next/link'
import { ArrowDownTrayIcon } from '@heroicons/react/24/solid'

export function DownloadLink() {
  return (
    <Link
      href="https://github.com/threefoldtech/mycelium/releases"
      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"
    >
      <ArrowDownTrayIcon className="h-5 w-5 mr-2" />
      Get Mycelium
    </Link>
  )
}
