style(ui): família visual de IA local

This commit is contained in:
evandro committed 2026-11-16 00:42:44 -03:00
1 parent f0b7db8c12
commit 07b0eaadca
62 files changed
+918 -853

No files matched your search

+11 -8
View File
@@ -31,9 +31,12 @@ export function StoppedCard({ onCheckAgain }: { onCheckAgain: () => void }) {
};
return (
<Card className="w-full max-w-md mx-auto border-yellow-500/50 bg-yellow-50/10 dark:bg-yellow-900/10">
<Card className="w-full max-w-md mx-auto border-warning/40">
<CardHeader>
<CardTitle className="text-yellow-600 dark:text-yellow-500">Ollama está parado</CardTitle>
<CardTitle className="flex items-center gap-2">
<span className="h-2 w-2 shrink-0 rounded-full bg-warning" aria-hidden="true" />
Ollama está parado
</CardTitle>
<CardDescription>
O Ollama está instalado mas não está rodando. Você pode iniciá-lo automaticamente ou executar o comando manualmente.
</CardDescription>
@@ -41,7 +44,7 @@ export function StoppedCard({ onCheckAgain }: { onCheckAgain: () => void }) {
<CardContent className="space-y-4">
<Button
onClick={handleStart}
className="w-full bg-yellow-600 hover:bg-yellow-700 text-white"
className="w-full"
disabled={starting}
>
{starting ? (
@@ -59,15 +62,15 @@ export function StoppedCard({ onCheckAgain }: { onCheckAgain: () => void }) {
<div className="relative">
<div className="absolute inset-0 flex items-center">
<span className="w-full border-t border-yellow-500/20" />
<span className="w-full border-t border-border" />
</div>
<div className="relative flex justify-center text-xs uppercase">
<span className="bg-background px-2 text-muted-foreground">Ou manualmente</span>
<div className="relative flex justify-center text-xs">
<span className="bg-card px-2 text-muted-foreground">Ou manualmente</span>
</div>
</div>
<div className="flex items-center space-x-2">
<div className="bg-muted p-3 rounded-md font-mono text-sm flex-1 border">
<div className="flex items-center gap-2">
<div className="bg-background p-3 rounded-md font-mono text-sm flex-1 border">
{command}
</div>
<Button size="icon" variant="outline" onClick={handleCopy}>