veza/apps/web/src/components/studio/projects/project-detail-view/ProjectDetailViewSidebar.tsx
senke 73e8372b0e refactor: Phase 7 — Clean up legacy components and remove dead tokens
- Bulk replace text-white → text-foreground across 116 component files
  (preserving text-white/ opacity variants)
- Remove hover-glow-cyan, shadow-card-glow-cyan, shadow-button-primary-glow
  classes from all components
- Replace --duration-normal/--duration-immersive/--duration-slow with
  --sumi-duration-normal/--sumi-duration-slow across 130+ files
- Replace --ease-out/--ease-in-out with --sumi-ease-out/--sumi-ease-in-out
- Replace focus:ring-blue-500 → focus:ring-primary (4 files)
- Remove hover:scale-105/110 and hover:-translate-y-1/0.5 transforms
  (SUMI anti-pattern: no scale on hover)
- Clean up stale kodo- references in comments

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 02:09:29 +01:00

52 lines
2.3 KiB
TypeScript

/**
* ProjectDetailView — sidebar (collaborators + versions).
*/
import { Card } from '@/components/ui/card';
import { Button } from '@/components/ui/button';
import { Users, History } from 'lucide-react';
export function ProjectDetailViewSidebar() {
return (
<div className="space-y-6">
<Card variant="glass">
<h3 className="font-bold text-foreground mb-4 text-sm uppercase tracking-wider flex items-center gap-2">
<Users className="w-4 h-4 text-warning" /> Collaborators
</h3>
<div className="flex -space-x-4 mb-4">
<div className="w-10 h-10 rounded-full border-2 border-card bg-muted" />
<div className="w-10 h-10 rounded-full border-2 border-card bg-muted" />
<div className="w-10 h-10 rounded-full border-2 border-card bg-card flex items-center justify-center text-xs text-muted-foreground font-bold">
+2
</div>
</div>
<Button
variant="ghost"
size="sm"
className="w-full text-xs border border-border"
>
Manage Team
</Button>
</Card>
<Card variant="default">
<h3 className="font-bold text-foreground mb-4 text-sm uppercase tracking-wider flex items-center gap-2">
<History className="w-4 h-4 text-primary" /> Versions
</h3>
<div className="space-y-2">
<div className="flex justify-between items-center text-sm p-2 bg-muted/50 rounded-xl">
<span className="text-foreground">v1.4 (Current)</span>
<span className="text-xs text-muted-foreground">2h ago</span>
</div>
<div className="flex justify-between items-center text-sm p-2 hover:bg-muted/50 rounded-xl cursor-pointer text-muted-foreground transition-colors duration-[var(--sumi-duration-normal)]">
<span>v1.3</span>
<span className="text-xs text-muted-foreground">1d ago</span>
</div>
<div className="flex justify-between items-center text-sm p-2 hover:bg-muted/50 rounded-xl cursor-pointer text-muted-foreground transition-colors duration-[var(--sumi-duration-normal)]">
<span>v1.2</span>
<span className="text-xs text-muted-foreground">3d ago</span>
</div>
</div>
</Card>
</div>
);
}