cfahlgren1's picture
cfahlgren1 HF staff
dockerize, add category pages, and footer
297c500
"use client"
import PillLink from '@/components/PillLink';
import CategoryRow from '@/components/category/CategoryRow';
import InstallLine from '@/components/InstallLine';
import Footer from '@/components/Footer';
import { categories } from "@/lib/categories";
export default function Home() {
return (
<div className="container mx-auto px-4 py-8 text-center">
<PillLink text="Transformers.js" link="https://www.npmjs.com/package/@huggingface/transformers" newText='Powered by' />
<h1 className="text-4xl sm:text-5xl md:text-6xl font-extrabold tracking-tighter mb-4">
Playground
</h1>
<p className="font-bold text-slate-700 font-mono italic text-lg mb-6">
The fastest way to get started with Transformers.js.
</p>
<div className="mx-auto mb-12">
<InstallLine packageName="@huggingface/transformers" />
</div>
<div className="mt-24">
<CategoryRow categories={categories} />
</div>
<div className="mt-64">
<Footer />
</div>
</div>
);
}