"use client"; import Link from "next/link"; import Image from "next/image"; import zappcareProduk from "./zappcare_produk.png"; import utmsProduk from "./utms_produk.png"; import emrProduk from "./emr_produk.png"; import { useLang } from "@/context/LanguageContext"; import { t } from "@/lib/translations"; const products = [ { slug: "zappcare", name: "ZappCare", tag: "Communication", features: ["User & Admin Panel", "Automated Messaging", "CRM Integration & Analytics"], image: zappcareProduk, }, { slug: "utms", name: "Unified TMS for EDC Onboarding", tag: "Fintech Solution", features: ["Simplified Application", "Document & Compliance", "Real-time Tracking"], image: utmsProduk, }, { slug: "emrclinic", name: "EMR Clinic", tag: "Healthcare IT", features: ["Patient Records & Scheduling", "Billing & Prescription", "Lab Integration"], image: emrProduk, }, ]; const contacts = [ { icon: "language", title: "Website", value: "www.iptek.co" }, { icon: "chat", title: "WhatsApp", value: "+62 817 221 121" }, { icon: "mail", title: "Email", value: "support@iptek.co" }, ]; export default function Home() { const { lang } = useLang(); const tr = t[lang].home; return ( <> {/* Hero */} {tr.heroTitle}{" "} {tr.heroHighlight} {tr.heroSub} {tr.heroBtn1} {tr.heroBtn2} {/* About Preview */} {tr.aboutTitle} {tr.aboutP1} {tr.aboutP2} 10+ {tr.aboutStat1} 99% {tr.aboutStat2} {tr.aboutLink} arrow_forward {/* Why Choose Us */} {tr.whyTitle} {tr.whySub} {tr.pillars.map((p) => ( {p.icon} {p.title} {p.desc} ))} {/* Products Preview */} {tr.productsTitle} {tr.productsSub} {tr.productsLink} arrow_forward {products.map((product, i) => ( {product.tag} {product.name} {tr.productDescs[i]} {product.features.map((f) => ( check_circle {f} ))} {tr.productsBtn} ))} {/* Target Market */} {tr.sectorsTitle} {tr.sectors.map((item) => ( {item.icon} {item.title} {item.desc} ))} {/* CTA */} {tr.ctaTitle} {tr.ctaSub} {tr.ctaBtn1} {tr.ctaBtn2} {/* Contact Info */} {contacts.map((item) => ( {item.icon} {item.title} {item.value} ))} > ); }
{tr.heroSub}
{tr.aboutP1}
{tr.aboutP2}
{tr.whySub}
{p.desc}
{tr.productsSub}
{tr.productDescs[i]}
{item.desc}
{tr.ctaSub}
{item.value}