"use client"; import { motion } from "framer-motion"; import { ShieldCheck, BookOpen, Flame } from "lucide-react"; import { useTranslations } from "next-intl"; const fadeUp = (delay = 0) => ({ initial: { opacity: 0, y: 36 }, animate: { opacity: 1, y: 0 }, transition: { duration: 0.65, ease: [0.22, 1, 0.36, 1] as any, delay }, }); const fadeUpView = (delay = 0) => ({ initial: { opacity: 0, y: 48 }, whileInView: { opacity: 1, y: 0 }, transition: { duration: 0.65, ease: [0.22, 1, 0.36, 1] as any, delay }, viewport: { once: true }, }); export default function NormativBazaPage() { const t = useTranslations(); const cards = [ { icon: BookOpen, title: t("about.normativBaza.cards.card1.title"), text: t("about.normativBaza.cards.card1.text"), number: "01", }, { icon: Flame, title: t("about.normativBaza.cards.card2.title"), text: t("about.normativBaza.cards.card2.text"), number: "02", }, { icon: ShieldCheck, title: t("about.normativBaza.cards.card3.title"), text: t("about.normativBaza.cards.card3.text"), number: "03", }, ]; return (
{/* ── Hero ── */}
{/* Background image */} Normativ Baza {/* Layered gradient overlay — dark at bottom, semi at top */}
{/* Subtle grain texture overlay */}
{/* Content */}
{t("about.normativBaza.hero.label")} {t("about.normativBaza.hero.title1")}
{t("about.normativBaza.hero.title2")}
{t("about.normativBaza.hero.description")} {/* Decorative line */}
{/* ── Cards section ── */}
{/* Section label */} Asosiy yo'nalishlar {t("about.normativBaza.sectionLabel")}
{cards.map((card, i) => { const Icon = card.icon; return ( {/* Large number watermark */} {card.number} {/* Icon */}
{/* Text */}

{card.title}

{card.text}

); })}
{/* ── Bottom quote band ── */}

{t("about.normativBaza.bottomText")}

); }