Files
ignum/components/pages/home/blog.tsx
nabijonovdavronbek619@gmail.com 96acd12d9c catalog part is done
2026-01-30 20:01:56 +05:00

44 lines
1.4 KiB
TypeScript

import DotAnimatsiya from "@/components/dot/DotAnimatsiya";
import { useTranslations } from "next-intl";
import { ProductCatalog } from "@/lib/demoData";
import CatalogCard from "../products/catalog";
export function Blog() {
const t = useTranslations();
return (
<section className="bg-[#1f1f1f] py-30">
<div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
{/* Header */}
<div className="mb-12 text-center">
<div className="mb-4 flex items-center justify-center gap-2">
<DotAnimatsiya />
<span className="font-almarai text-sm font-semibold tracking-wider text-white uppercase">
{t("products.banner.title")}
</span>
</div>
<h2
className="font-unbounded bg-linear-to-br from-white py-2 via-white to-black
text-transparent bg-clip-text text-4xl font-bold tracking-tight md:text-5xl lg:text-6xl"
>
{t("products.ourproducts")}
</h2>
</div>
{/* Blog Cards Grid */}
<div className="grid gap-8 md:grid-cols-2 lg:grid-cols-3 place-items-center">
{ProductCatalog.map((item, index) => (
<CatalogCard
key={index}
id={item.id}
title={item.title}
description={item.description}
image={item.image}
/>
))}
</div>
</div>
</section>
);
}