"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 65 123456",
href: "tel:+99365123456",
color: "bg-blue-50 text-blue-600",
},
{
icon: ,
label: t("instagram"),
value: "@smartelectronics",
href: "https://instagram.com/smartelectronics",
color: "bg-pink-50 text-pink-600",
},
{
icon: ,
label: t("email"),
value: "info@smartelectronics.com",
href: "mailto:info@smartelectronics.com",
color: "bg-gray-50 text-gray-600",
},
{
icon: ,
label: t("imo"),
value: "+993 65 123456",
href: null,
color: "bg-emerald-50 text-emerald-600",
},
];
return (
{/*
{t("info")}
*/}
{/* Logo Section */}
SmartElectronics - yerli we daşary ýurt harytlarynyň onlaýn marketi.
{/* Contact Grid */}
{t("contact_us")}
{contactItems.map((item, index) => {
const Content = (
{item.icon}
{item.label}
{item.value}
);
if (item.href) {
return (
{Content}
);
}
return
{Content}
;
})}
);
}