// ─────────── Home page ─────────── function Hero({ heroStyle, setRoute }) { const t = window.__T; if (heroStyle === "split") return ; if (heroStyle === "editorial") return ; return ; } function HeroFull({ setRoute }) { const t = window.__T; return ( {t.home.eyebrow} ▢ canlı stok · 12.483 SKU {t.home.heroTitle.map((line, i) => ( {line} ))} {t.home.heroLead} setRoute("quote")}> {t.nav.quote} setRoute("products")}> {t.nav.products} {["F.01 ÇELİK", "F.02 BETON", "F.03 KABA", "F.04 BOYA", "F.05 YALITIM", "F.06 TESİSAT", "F.07 İNCE", "F.08 EKİPMAN"].map((x) => ( {x} ))} ); } function HeroSplit({ setRoute }) { const t = window.__T; return ( {t.home.eyebrow} {t.home.heroTitle.map((line, i) => ( {line} ))} {t.home.heroLead} setRoute("quote")}>{t.nav.quote} setRoute("products")}>{t.nav.products} {t.home.stats.slice(0, 3).map((s) => ( {s.k} {s.l} ))} VERIFIED · 2026 CE · TSE · ISO 9001 ); } function HeroEditorial({ setRoute }) { const t = window.__T; return ( {t.home.eyebrow} 38.6500° N · 35.4828° E {t.home.heroTitle[0]} {t.home.heroTitle[1]} {t.home.heroTitle[2]} {t.home.heroLead} setRoute("quote")}>{t.nav.quote} setRoute("about")}>{t.nav.about} ); } function StatsStrip() { const t = window.__T; return ( {t.home.stats.map((s, i) => ( S.0{i + 1} {s.k} {s.l} ))} ); } function HomeCategories({ setRoute }) { const t = window.__T; const lang = window.__LANG; const cats = window.__DATA.productCategories; return ( {t.home.catEyebrow} {t.home.catTitle} {t.home.catMeta} {cats.map((c, i) => ( { e.preventDefault(); setRoute("products"); }} className="cat-cell"> {c.code} {c.products.length} kalem {c[lang]} {c.desc[lang]} ))} ); } function FeaturedProjects({ setRoute }) { const t = window.__T; const lang = window.__LANG; const items = window.__DATA.projects.slice(0, 4); return ( {t.home.featEyebrow} {t.home.featTitle} {t.home.featMeta} {items.map((p, i) => ( { e.preventDefault(); setRoute("projects"); }} className="fp-cell"> {p.code} {p[lang]} {p[`sector${lang === "tr" ? "Tr" : "En"}`]} · {p[`city${lang === "tr" ? "Tr" : "En"}`]} · {p.year} ))} setRoute("projects")}> {t.common.viewAll} · {window.__DATA.projects.length} {t.nav.projects.toLowerCase()} ); } function ReferencesMarquee() { const t = window.__T; const refs = window.__DATA.references; const doubled = [...refs, ...refs]; return ( {t.home.refsEyebrow} {t.home.refsTitle} {window.__T.home.featMeta} {doubled.map((r, i) => ( {r} ))} ); } function CTASection({ setRoute }) { const t = window.__T; return ( {t.home.ctaEyebrow} — S.09 / 09 {t.home.ctaTitle.map((l, i) => {l})} {t.home.ctaMeta} setRoute("quote")}>{t.nav.quote} setRoute("contact")}>{t.nav.contact} {["WhatsApp +90 532 117 90 00", "satis@anadoluinsaat.com.tr", "7/24 sipariş portalı"].map((x) => ( {x} ))} ); } function HomePage({ heroStyle, setRoute }) { return ( <> > ); } Object.assign(window, { HomePage, Hero, HeroFull, HeroSplit, HeroEditorial, StatsStrip, HomeCategories, FeaturedProjects, ReferencesMarquee, CTASection, });
{t.home.heroLead}
{t.home.catMeta}
{c.desc[lang]}
{t.home.featMeta}
{window.__T.home.featMeta}
{t.home.ctaMeta}