"use client"
import Link from "next/link"
import Image from "next/image"
import {
CheckCircle,
Shield,
Truck,
Users,
MessageSquare,
FileText,
Package,
Ship,
ArrowRight,
Award,
Factory,
} from "lucide-react"
import { I18nProvider, useI18n } from "@/lib/i18n"
import { Header } from "@/components/header"
import { Footer } from "@/components/footer"
import { WhatsAppButton } from "@/components/whatsapp-button"
import { Button } from "@/components/ui/button"
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"
import { AnimatedSection } from "@/components/animated-section"
import { HeroWave, PalmLeafLeft, PalmLeafRight, AbstractDots } from "@/components/decorative-elements"
const WHATSAPP_LINK = "https://wa.me/6282284233857?text=Hello%2C%20I%27m%20interested%20in%20your%20desiccated%20coconut%20products.%20Please%20send%20me%20pricing%20information."
function WhatsAppIcon({ className }: { className?: string }) {
return (
)
}
function HeroSection() {
const { t } = useI18n()
return (
{/* Background Image */}
{/* Content */}
{/* Text Content - Left */}
The Leading Supplier of
Desiccated Coconut
From
Indonesia
{t("hero.subheadline")}
{/* Product Image - Right */}
{/* Glow effect behind image */}
{/* Wave Shape */}
)
}
function TrustBar() {
const { t } = useI18n()
return (
{t("trust.certifications")}
HACCP / ISO 22000 / FSSC 22000
{t("trust.capacity")}
{t("trust.capacityValue")}
)
}
function ProductsSection() {
const { t } = useI18n()
const products = [
{
name: t("products.highFat"),
image: "/images/high-fat-coconut.jpg",
whatsappMsg: "Hello, I'm interested in High Fat Desiccated Coconut. Please send me pricing information.",
specs: [
{ label: t("products.fat"), value: "65% ±3%" },
{ label: t("products.moisture"), value: "MAX 3%" },
{ label: t("products.grade"), value: "Fine / Medium" },
{ label: t("products.color"), value: "Natural White" },
{ label: t("products.impurities"), value: "Not more than 8 pcs/100g" },
{ label: t("products.ph"), value: "6.1 – 6.7" },
],
},
{
name: t("products.lowFat"),
image: "/images/low-fat-coconut.jpg",
whatsappMsg: "Hello, I'm interested in Low Fat Desiccated Coconut. Please send me pricing information.",
specs: [
{ label: t("products.fat"), value: "45% ±3%" },
{ label: t("products.moisture"), value: "MAX 3%" },
{ label: t("products.grade"), value: "Fine / Extra Fine" },
{ label: t("products.color"), value: "Natural White" },
{ label: t("products.impurities"), value: "Not more than 8 pcs/100g" },
{ label: t("products.ph"), value: "6.1 – 6.7" },
],
},
]
return (
{/* Decorative Elements */}
{t("products.title")}
{products.map((product, index) => (
{product.name}
{product.specs.map((spec, specIndex) => (
{spec.label}
{spec.value}
))}
))}
)
}
function WhyChooseUsSection() {
const { t } = useI18n()
const reasons = [
{
icon: Shield,
title: t("why.quality"),
description: t("why.qualityDesc"),
},
{
icon: Users,
title: t("why.reliable"),
description: t("why.reliableDesc"),
},
{
icon: FileText,
title: t("why.docs"),
description: t("why.docsDesc"),
},
{
icon: MessageSquare,
title: t("why.communication"),
description: t("why.communicationDesc"),
},
]
return (
{/* Decorative Background */}
{t("why.title")}
{reasons.map((reason, index) => (
{reason.title}
{reason.description}
))}
)
}
function SupplyChainSection() {
const { t } = useI18n()
return (
{t("supply.title")}
{t("supply.desc")}
)
}
function DocumentationSection() {
const { t } = useI18n()
const documents = [
{ key: "invoice", label: t("docs.invoice") },
{ key: "packing", label: t("docs.packing") },
{ key: "bol", label: t("docs.bol") },
{ key: "coo", label: t("docs.coo") },
{ key: "phyto", label: t("docs.phyto") },
{ key: "coa", label: t("docs.coa") },
]
return (
{t("docs.title")}
{documents.map((doc, index) => (
{doc.label}
))}
)
}
function PackagingSection() {
const { t } = useI18n()
return (
{t("packaging.title")}
{[
{ icon: Package, title: "Packing Style", desc: t("packaging.style") },
{ icon: Ship, title: "Shipping Terms", desc: t("packaging.shipping") },
{ icon: Truck, title: "Containers", desc: t("packaging.containers") },
].map((item, index) => (
{item.title}
{item.desc}
))}
)
}
function CTASection() {
const { t } = useI18n()
return (
)
}
function HomePage() {
return (
)
}
export default function Page() {
return (
)
}