import HeroSection           from './sections/HeroSection'
import InternalNewsSection    from './sections/InternalNewsSection'
import RadarTechSection       from './sections/RadarTechSection'
import MapEventsSection       from './sections/MapEventsSection'
import FactoryNewsletterLayout from './sections/FactoryNewsletterLayout'
import RiskSection            from './sections/RiskSection'
import { useLang }            from '@/context/LangContext'

/* ─── Home page ──────────────────────────────────────── */
export default function Home() {
  const { lang } = useLang()
  return (
    <div dir={lang === 'fa' ? 'rtl' : 'ltr'}>
      <HeroSection />
      <InternalNewsSection />
      <RadarTechSection />
      <MapEventsSection />
      <FactoryNewsletterLayout />
      <RiskSection />
    </div>
  )
}
