translation bug fixed

This commit is contained in:
nabijonovdavronbek619@gmail.com
2025-11-29 13:48:55 +05:00
parent ca8369cc31
commit aa2260f212
28 changed files with 1521 additions and 242 deletions

View File

@@ -1,11 +1,11 @@
"use client";
import { useLanguage } from "@/context/language-context";
import { motion } from "framer-motion";
import { CheckCircle, Award, Users, Zap } from "lucide-react";
import { useTranslations } from "next-intl";
export function About() {
const t = useTranslations();
const {t} = useLanguage();
const features = [
{ icon: Award, labelKey: "Experience", value: "10+ лет" },
@@ -37,7 +37,7 @@ export function About() {
className="text-center mb-16"
>
<h2 className="text-4xl font-bold text-gray-900 mb-4">
{t("about.title")}
{t.about.title}
</h2>
<div className="w-20 h-1 bg-blue-600 mx-auto rounded-full" />
</motion.div>
@@ -51,7 +51,7 @@ export function About() {
viewport={{ once: true }}
>
<p className="text-lg text-gray-700 leading-relaxed mb-8">
{t("about.content")}
{t.about.content}
</p>
<motion.div