veza/apps/web/src/components/studio/go-live-view/GoLiveViewPreview.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

31 lines
1.2 KiB
TypeScript

import { Radio, Monitor } from 'lucide-react';
interface GoLiveViewPreviewProps {
isLive: boolean;
}
export function GoLiveViewPreview({ isLive }: GoLiveViewPreviewProps) {
return (
<div className="aspect-video bg-black rounded-xl overflow-hidden border border-border relative group">
{isLive ? (
<div className="w-full h-full flex items-center justify-center bg-card">
<div className="text-center animate-pulse">
<Radio className="w-16 h-16 text-destructive mx-auto mb-4" />
<p className="text-muted-foreground">Receiving Stream Data...</p>
</div>
</div>
) : (
<div className="w-full h-full flex flex-col items-center justify-center bg-card/50 text-muted-foreground">
<div className="text-center">
<Monitor className="w-16 h-16 mx-auto mb-4 opacity-50" />
<p>Stream Offline</p>
<p className="text-xs mt-2">Connect OBS to start preview</p>
</div>
</div>
)}
<div className="absolute top-4 right-4 bg-black/50 px-2 py-1 rounded text-xs text-foreground font-mono">
1080p 60fps
</div>
</div>
);
}