diff --git a/app/globals.css b/app/globals.css index a2dc41e..d8cf628 100644 --- a/app/globals.css +++ b/app/globals.css @@ -3,6 +3,7 @@ :root { --background: #ffffff; --foreground: #171717; + --primary:#468965; } @theme inline { @@ -10,6 +11,7 @@ --color-foreground: var(--foreground); --font-sans: var(--font-geist-sans); --font-mono: var(--font-geist-mono); + --color-primary:var(--primary) } @media (prefers-color-scheme: dark) { diff --git a/components/About.tsx b/components/About.tsx index dfa7eaf..ff91a26 100644 --- a/components/About.tsx +++ b/components/About.tsx @@ -8,9 +8,9 @@ export function About() { const {t} = useLanguage(); const features = [ - { icon: Award, labelKey: "Experience", value: "10+ лет" }, - { icon: Users, labelKey: "Experts", value: "50+" }, - { icon: Zap, labelKey: "Reliability", value: "99.9%" }, + { icon: Award, labelKey: "experiance", value: "10+ лет" }, + { icon: Users, labelKey: "experts", value: "50+" }, + { icon: Zap, labelKey: "truth", value: "99.9%" }, ]; const containerVariants = { @@ -39,7 +39,7 @@ export function About() {
- {feature.labelKey} + {t.about[feature.labelKey]}
{t.faq.items[idx].answer}
diff --git a/components/Footer.tsx b/components/Footer.tsx index 4d5e92f..1367196 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -3,9 +3,10 @@ import { useLanguage } from "@/context/language-context"; import { motion } from "framer-motion"; import { Facebook, Linkedin, Send } from "lucide-react"; +import Image from "next/image"; export function Footer() { - const {t} = useLanguage(); + const { t } = useLanguage(); const socialLinks = [ { icon: Facebook, href: "#", label: "Facebook" }, { icon: Linkedin, href: "#", label: "LinkedIn" }, @@ -37,8 +38,14 @@ export function Footer() { > {/* Brand */}Premium industrial pumps and equipment. diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 884c1d3..accb0c2 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -6,6 +6,7 @@ import { Menu, X } from "lucide-react"; import { motion } from "framer-motion"; import LanguageSwitcher from "./languageSwitcher"; import { useLanguage } from "@/context/language-context"; +import Image from "next/image"; interface NavLink { id: string; @@ -39,16 +40,16 @@ export function Navbar({ logoText = "FIRMA" }: NavbarProps) { }; return ( -