image added and trnslation texts done and contact connnected to telegrtam chatBot all tasks done

This commit is contained in:
nabijonovdavronbek619@gmail.com
2025-11-11 14:34:17 +05:00
parent f963aaf2b8
commit c8c77f3788
9 changed files with 364 additions and 61 deletions

View File

@@ -11,6 +11,7 @@ import {
} from "@/components/ui/dropdown-menu";
import { useLanguage } from "@/contexts/language-context";
import Link from "next/link";
import Image from "next/image";
export default function Header() {
const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
@@ -28,7 +29,7 @@ export default function Header() {
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-2 flex items-center justify-between text-sm">
<div className="flex items-center gap-2">
<Phone size={16} />
<span>+998 (71) 200-01-02</span>
<span>+998 (50) 505-55-45</span>
</div>
<DropdownMenu>
<DropdownMenuTrigger asChild>
@@ -57,10 +58,7 @@ export default function Header() {
<nav className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4 flex items-center justify-between">
<div className="flex items-center gap-2">
<div className="w-8 h-8 bg-primary rounded-lg flex items-center justify-center">
<span className="text-white font-bold text-sm">D</span>
</div>
<span className="font-bold text-lg text-foreground">Dwatt</span>
<Image src="/logo.png" alt="logo image" width={120} height={50}/>
</div>
<div className="hidden md:flex items-center gap-8">