'use client' import { motion } from 'framer-motion' import { Search } from 'lucide-react' interface SearchBarProps { value: string onChange: (value: string) => void placeholder?: string } export default function SearchBar({ value, onChange, placeholder = 'Search sites...' }: SearchBarProps) { return (
onChange(e.target.value)} placeholder={placeholder} className="w-full pl-11 pr-4 py-3 bg-neutral-900 border border-neutral-800 rounded-xl text-white placeholder-neutral-500 focus:outline-none focus:ring-2 focus:ring-white/20 focus:border-neutral-700 transition-all" />
) }