File size: 1,040 Bytes
390e277
 
3aaa41e
390e277
 
 
 
3aaa41e
 
390e277
3aaa41e
390e277
 
 
3aaa41e
 
 
 
 
 
390e277
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import Link from 'next/link'
import { Button } from "@/components/ui/button"
import { FileText, Github } from "lucide-react"

export default function Navbar() {
  return (
    <nav className="border-b">
      <div className="container flex justify-end items-center py-4">
        <Button variant="ghost" asChild className="p-2 sm:p-4 mr-2">
          <Link href="https://huggingface.co/docs/transformers.js/en/index" target="_blank" rel="noopener noreferrer" className="flex items-center">
            <FileText className="h-4 w-4 mr-2" />
            <span className="font-medium">Docs</span>
          </Link>
        </Button>
        <Button variant="ghost" asChild className="p-2 sm:p-4">
          <Link href="https://github.com/cfahlgren1/transformersjs-playground" target="_blank" rel="noopener noreferrer" className="flex items-center">
            <Github className="h-4 w-4 mr-2" />
            <span className="font-medium hidden sm:inline">Star on GitHub</span>
          </Link>
        </Button>
      </div>
    </nav>
  )
}