translation bug fixed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user