upheader added new things

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-03-01 13:42:19 +05:00
parent d8faba0fb5
commit 9d406d0998
3 changed files with 43 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ import { ChevronDown, Phone, Menu, X } from "lucide-react";
import Image from "next/image";
import LanguageSelectRadix from "../languageSwitcher";
import { useLocale, useTranslations } from "next-intl";
import UpHeader from "./upHeader";
export function Navbar() {
const locale = useLocale();
@@ -34,6 +35,7 @@ export function Navbar() {
<nav
className={`fixed top-0 left-0 right-0 z-50 border-b border-gray-400/50 ${scrolled && "bg-black"} transition`}
>
{!scrolled && <UpHeader />}
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex justify-between items-center h-20">
{/* Logo */}
@@ -69,7 +71,7 @@ export function Navbar() {
href={`/${locale}/faq`}
className="font-unbounded uppercase text-white text-sm h-full flex items-center font-semibold hover:cursor-pointer hover:text-red-500 transition"
>
{locale === "ru" ? "ФАК" : "FAQ"}
{locale === "ru" ? "ЧЗВ" : "FAQ"}
</Link>
<Link
href={`/${locale}/services`}
@@ -187,7 +189,7 @@ export function Navbar() {
className="font-unbounded uppercase text-white text-base font-semibold hover:text-red-500 transition py-2"
onClick={() => setIsMobileMenuOpen(false)}
>
{locale === "ru" ? "ФАК" : "FAQ"}
{locale === "ru" ? "ЧЗВ" : "FAQ"}
</Link>
<Link
href={`/${locale}/services`}