"use client";
import { useTranslations } from "next-intl";
import {
Instagram,
Phone,
Mail,
MessageSquare,
ChevronLeft,
} from "lucide-react";
import Image from "next/image";
import Link from "next/link";
import { useRouter } from "next/navigation";
import Logo from "@/public/logo.png";
import { Button } from "@/components/ui/button";
export default function InfoPage() {
const t = useTranslations("common");
const router = useRouter();
const contactItems = [
{
icon: ,
label: t("phone"),
value: "+993 61 126667",
href: "tel:+99361126667",
color: "bg-blue-50 text-blue-600",
},
{
icon: ,
label: t("phone"),
value: "+993 71 777747",
href: "tel:+99371777747",
color: "bg-blue-50 text-blue-600",
},
{
icon: ,
label: t("instagram"),
value: "@smart_elektronikaa",
href: "https://www.instagram.com/smart_elektronikaa?igsh=eHcxN2ZsdHgwbTd4",
color: "bg-pink-50 text-pink-600",
},
{
icon: (
),
label: t("tiktok"),
value: "@smart.elektronika2",
href: "https://www.tiktok.com/@smart.elektronika2?_r=1&_t=ZS-93ipH66Inxf",
color: "bg-pink-50 text-pink-600",
},
{
icon: ,
label: t("email"),
value: "smartelektronika@icloud.com",
href: "mailto:smartelektronika@icloud.com",
color: "bg-gray-50 text-gray-600",
},
{
icon: (
),
label: t("imo"),
value: "+993 61 126667",
href: null,
color: "bg-emerald-50 text-emerald-600",
},
];
return (
{/* Desktop: centered container with max-width, Mobile: full width */}
{/* Logo Section - responsive sizing */}
SmartElectronics - yerli we daşary ýurt harytlarynyň onlaýn marketi.
{/* Contact Grid - 1 column mobile, 2 columns tablet, 3 columns desktop */}
{t("contact_us")}
{contactItems.map((item, index) => {
const Content = (
{item.icon}
{item.label}
{item.value}
);
if (item.href) {
return (
{Content}
);
}
return
{Content}
;
})}
);
}