2026-02-05 22:24:39 +00:00
|
|
|
/**
|
|
|
|
|
* 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">
|
2026-02-07 14:01:03 +00:00
|
|
|
<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
|
2026-02-05 22:24:39 +00:00
|
|
|
</h3>
|
|
|
|
|
<div className="flex -space-x-4 mb-4">
|
2026-02-07 14:01:03 +00:00
|
|
|
<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">
|
2026-02-05 22:24:39 +00:00
|
|
|
+2
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<Button
|
|
|
|
|
variant="ghost"
|
|
|
|
|
size="sm"
|
2026-02-07 14:01:03 +00:00
|
|
|
className="w-full text-xs border border-border"
|
2026-02-05 22:24:39 +00:00
|
|
|
>
|
|
|
|
|
Manage Team
|
|
|
|
|
</Button>
|
|
|
|
|
</Card>
|
|
|
|
|
|
|
|
|
|
<Card variant="default">
|
2026-02-07 14:01:03 +00:00
|
|
|
<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
|
2026-02-05 22:24:39 +00:00
|
|
|
</h3>
|
|
|
|
|
<div className="space-y-2">
|
2026-02-07 14:01:03 +00:00
|
|
|
<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>
|
2026-02-05 22:24:39 +00:00
|
|
|
</div>
|
2026-02-12 01:09:29 +00:00
|
|
|
<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)]">
|
2026-02-05 22:24:39 +00:00
|
|
|
<span>v1.3</span>
|
2026-02-07 14:01:03 +00:00
|
|
|
<span className="text-xs text-muted-foreground">1d ago</span>
|
2026-02-05 22:24:39 +00:00
|
|
|
</div>
|
2026-02-12 01:09:29 +00:00
|
|
|
<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)]">
|
2026-02-05 22:24:39 +00:00
|
|
|
<span>v1.2</span>
|
2026-02-07 14:01:03 +00:00
|
|
|
<span className="text-xs text-muted-foreground">3d ago</span>
|
2026-02-05 22:24:39 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</Card>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|