'use client' import { WebsiteContent, HeroContent } from '@/lib/content-types' interface HeroEditorProps { content: WebsiteContent isRTL: boolean t: (key: string) => string updateHero: (field: keyof HeroContent, value: string) => void } export default function HeroEditor({ content, isRTL, t, updateHero }: HeroEditorProps) { const dir = isRTL ? 'rtl' : 'ltr' return (