import React, { useState } from 'react'; import { Search, Grid, List, User, Plus, FolderOpen, Image, Upload } from 'lucide-react'; const InspirationEngine = () => { const [activeView, setActiveView] = useState('library'); const [showDropzone, setShowDropzone] = useState(false); // Warm Creative Palette const colors = { bg: '#1c1917', surface: '#292524', text: '#fafaf9', textMuted: '#a8a29e', border: '#44403c', primary: '#f97316', primaryHover: '#ea580c', accent: '#fbbf24' }; // Mock data for library items const mockItems = [ { id: 1, height: 200, width: 'normal' }, { id: 2, height: 280, width: 'wide' }, { id: 3, height: 160, width: 'normal' }, { id: 4, height: 240, width: 'normal' }, { id: 5, height: 200, width: 'normal' }, { id: 6, height: 300, width: 'wide' }, { id: 7, height: 180, width: 'normal' }, { id: 8, height: 220, width: 'normal' }, { id: 9, height: 260, width: 'wide' }, { id: 10, height: 190, width: 'normal' }, { id: 11, height: 240, width: 'normal' }, { id: 12, height: 200, width: 'wide' }, { id: 13, height: 220, width: 'normal' }, { id: 14, height: 180, width: 'normal' }, { id: 15, height: 260, width: 'normal' }, { id: 16, height: 200, width: 'wide' }, { id: 17, height: 240, width: 'normal' }, { id: 18, height: 180, width: 'normal' }, ]; // Mock data for collections const mockCollections = [ { id: 1, name: 'Brand Identity', itemCount: 47, preview: [colors.primary, colors.accent, colors.primaryHover, colors.primary] }, { id: 2, name: 'UI Inspiration', itemCount: 132, preview: [colors.accent, colors.primary, colors.accent, colors.primaryHover] }, { id: 3, name: 'Typography', itemCount: 28, preview: [colors.primaryHover, colors.primary, colors.accent, colors.primary] }, { id: 4, name: 'Color Palettes', itemCount: 64, preview: [colors.primary, colors.primaryHover, colors.accent, colors.primary] }, { id: 5, name: 'Illustration', itemCount: 89, preview: [colors.accent, colors.primary, colors.primaryHover, colors.accent] }, { id: 6, name: 'Photography', itemCount: 156, preview: [colors.primary, colors.accent, colors.primary, colors.primaryHover] }, { id: 7, name: 'Web Design', itemCount: 93, preview: [colors.primaryHover, colors.accent, colors.primary, colors.accent] }, { id: 8, name: 'Motion Graphics', itemCount: 41, preview: [colors.primary, colors.primaryHover, colors.accent, colors.primary] }, ]; const LibraryView = () => ( <> {/* Compact Horizontal Filters Toolbar */}
1,427 items
{/* Main Content - Tightly Packed Masonry Grid */}
{mockItems.map((item, index) => { const demoColors = [colors.primary, colors.accent, colors.surface, colors.primaryHover]; const itemColor = demoColors[index % demoColors.length]; return (
); })}
); const CollectionsView = () => ( <> {/* Collections Toolbar */}

Your Collections

{mockCollections.length} collections
{/* Collections Grid */}
{mockCollections.map(collection => (
{/* Collection Preview Grid */}
{collection.preview.map((color, idx) => (
))}
{/* Hover Overlay with Info */}

{collection.name}

{collection.itemCount} items
))} {/* Create New Collection Card */}
Create Collection
); return (
{/* Header */}
INSPIRATION
{/* Prominent Central Search with Image Toggle */}
{/* Expandable Image Search Dropzone */} {showDropzone && (

Drop your image to search

Drag and drop, or click to browse

)}
{/* Active View */} {activeView === 'library' ? : }
); }; export default InspirationEngine;