Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

476 B
Raw Blame
import { Download } from 'lucide-react'

type Props = {
  href: string
  children: string
}

export function DownloadButton({ href, children }: Props) {
  return (
    <a
      href={href}
      target="_blank"
      rel="noopener noreferrer"
      className="inline-flex items-center gap-2 px-4 py-2.5 rounded-lg bg-black text-white text-sm font-medium hover:bg-gray-800 transition-colors no-underline mt-3"
    >
      <Download size={16} />
      {children}
    </a>
  )
}