import { useState } from 'react' import { X, Upload } from 'lucide-react' import clsx from 'clsx' /** * Brand Kit editor modal * Props: { isOpen, onClose, clipId, jobId } */ function BrandKitEditor({ isOpen, onClose, clipId, jobId }) { const [primaryColor, setPrimaryColor] = useState('#E8A020') const [secondaryColor, setSecondaryColor] = useState('#FFB800') const [watermarkPos, setWatermarkPos] = useState('bottom-right') const [watermarkOpacity, setWatermarkOpacity] = useState(0.8) const [font, setFont] = useState('Inter') const [logoFile, setLogoFile] = useState(null) if (!isOpen) return null const positions = [ { id: 'top-left', label: 'TL', x: 'left', y: 'top' }, { id: 'top-center', label: 'T', x: 'center', y: 'top' }, { id: 'top-right', label: 'TR', x: 'right', y: 'top' }, { id: 'middle-left', label: 'L', x: 'left', y: 'center' }, { id: 'center', label: 'C', x: 'center', y: 'center' }, { id: 'middle-right', label: 'R', x: 'right', y: 'center' }, { id: 'bottom-left', label: 'BL', x: 'left', y: 'bottom' }, { id: 'bottom-center', label: 'B', x: 'center', y: 'bottom' }, { id: 'bottom-right', label: 'BR', x: 'right', y: 'bottom' }, ] const fonts = ['Inter', 'Poppins', 'Oswald', 'Montserrat', 'Roboto', 'Playfair Display'] const handleSave = () => { console.log({ primaryColor, secondaryColor, watermarkPos, watermarkOpacity, font, logoFile, }) onClose() } return ( <> {/* Overlay */}
{/* Modal */}Selected: {logoFile.name}
)}Live Preview
This is how your clips will look with your brand kit applied
Watermark Position