"use client"; import { useState, KeyboardEvent } from "react"; interface HeroInputProps { value: string; onChange: (value: string) => void; onSubmit: () => void; placeholder?: string; className?: string; } export default function HeroInput({ value, onChange, onSubmit, placeholder = "Describe what you want to build...", className = "" }: HeroInputProps) { const [isFocused, setIsFocused] = useState(false); const handleKeyDown = (e: KeyboardEvent) => { if (e.key === "Enter" && !e.shiftKey) { e.preventDefault(); onSubmit(); } }; return (