feat: add home back button to ai-cad
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-04-06 16:42:46 +08:00
parent f42ade947c
commit 9f5dc2e666

View File

@ -6,9 +6,9 @@ import {
Bot, Bot,
Box, Box,
BrainCircuit, BrainCircuit,
ChevronLeft,
CheckCircle2, CheckCircle2,
ChevronDown, ChevronDown,
ChevronLeft,
ChevronRight, ChevronRight,
ChevronUp, ChevronUp,
Copy, Copy,
@ -3600,11 +3600,13 @@ export function AiCadWorkbench() {
<div className="space-y-2.5"> <div className="space-y-2.5">
<div className="flex flex-col gap-2.5 border-white/10 border-b pb-2.5 xl:flex-row xl:items-center xl:justify-between"> <div className="flex flex-col gap-2.5 border-white/10 border-b pb-2.5 xl:flex-row xl:items-center xl:justify-between">
<div className="flex min-w-0 flex-wrap items-center gap-3"> <div className="flex min-w-0 flex-wrap items-center gap-3">
<div className="flex items-center gap-1.5"> <a
<span className="h-2.5 w-2.5 rounded-full bg-rose-400/80" /> className="inline-flex items-center gap-2 rounded-[8px] border border-white/10 bg-[#1f1f1f] px-3 py-1.5 text-[13px] text-white/72 transition-all duration-150 ease-out hover:border-white/15 hover:bg-[#2a2a2a] hover:text-white"
<span className="h-2.5 w-2.5 rounded-full bg-amber-300/80" /> href="/"
<span className="h-2.5 w-2.5 rounded-full bg-emerald-300/80" /> >
</div> <ChevronLeft className="h-4 w-4" />
返回首页
</a>
<div className="flex items-center gap-2 rounded-[8px] border border-white/10 bg-[#1f1f1f] px-2 py-1.5"> <div className="flex items-center gap-2 rounded-[8px] border border-white/10 bg-[#1f1f1f] px-2 py-1.5">
<div className="flex h-6 w-8 items-center justify-center rounded-sm bg-[#6af29a] font-semibold text-[#08120d] text-[11px]"> <div className="flex h-6 w-8 items-center justify-center rounded-sm bg-[#6af29a] font-semibold text-[#08120d] text-[11px]">
AI AI