Skip to content

Commit 3257614

Browse files
committed
feat(onboarding): add centered model legend (Speed, Accuracy, Size, Recommended) before model list to match dashboard
1 parent 7accfdb commit 3257614

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

src/components/onboarding/OnboardingDesktop.tsx

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { isMacOS } from "@/lib/platform";
1111
import { cn } from "@/lib/utils";
1212
import { invoke } from "@tauri-apps/api/core";
1313
import { open } from "@tauri-apps/plugin-shell";
14-
import { CheckCircle, ChevronLeft, ChevronRight, Info, Keyboard, Loader2, Mic } from "lucide-react";
14+
import { CheckCircle, ChevronLeft, ChevronRight, Info, Keyboard, Loader2, Mic, Zap, HardDrive, Star } from "lucide-react";
1515
import { useEffect, useState } from "react";
1616
import { toast } from "sonner";
1717

@@ -433,6 +433,26 @@ export const OnboardingDesktop = function OnboardingDesktop({
433433
</p>
434434
</div>
435435

436+
{/* Legend (centered, same as Models section) */}
437+
<div className="flex items-center justify-center gap-6 text-xs text-muted-foreground">
438+
<span className="flex items-center gap-1.5">
439+
<Zap className="w-3.5 h-3.5 text-green-500" />
440+
Speed
441+
</span>
442+
<span className="flex items-center gap-1.5">
443+
<CheckCircle className="w-3.5 h-3.5 text-blue-500" />
444+
Accuracy
445+
</span>
446+
<span className="flex items-center gap-1.5">
447+
<HardDrive className="w-3.5 h-3.5 text-purple-500" />
448+
Size
449+
</span>
450+
<span className="flex items-center gap-1.5">
451+
<Star className="w-3.5 h-3.5 fill-yellow-500 text-yellow-500" />
452+
Recommended
453+
</span>
454+
</div>
455+
436456
<div className="bg-card rounded-lg border">
437457
<div className="max-h-[220px] overflow-y-auto">
438458
<div className="space-y-3 p-4">

0 commit comments

Comments
 (0)