27 lines
1006 B
TypeScript
27 lines
1006 B
TypeScript
import { Button } from "@/components/ui/button";
|
|
import { ArrowRight, Cpu } from "lucide-react";
|
|
|
|
export function Hero({ onStart }: { onStart: () => void }) {
|
|
return (
|
|
<div className="flex flex-col items-center justify-center min-h-[60vh] text-center px-4 space-y-6 animate-in fade-in duration-200 ease-out">
|
|
<div className="p-4 rounded-lg border bg-surface">
|
|
<Cpu className="w-12 h-12 text-foreground" />
|
|
</div>
|
|
<h1 className="text-3xl font-semibold tracking-tight text-foreground">
|
|
OllaHub
|
|
</h1>
|
|
<p className="text-lg text-muted-foreground max-w-[60ch]">
|
|
Sua interface moderna e poderosa para interagir com Ollama e Modelos de Linguagem Locais.
|
|
</p>
|
|
|
|
<div className="flex gap-4 pt-4">
|
|
<Button size="lg" onClick={onStart} className="group">
|
|
Iniciar Chat
|
|
<ArrowRight className="w-4 h-4 transition-transform duration-150 group-hover:translate-x-1" />
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|
|
|