header part update , translation issue fixed

This commit is contained in:
nabijonovdavronbek619@gmail.com
2025-11-18 14:33:38 +05:00
parent 8a2708a03a
commit 30e347ba65
6 changed files with 43 additions and 73 deletions

View File

@@ -1,7 +1,11 @@
"use client";
import { FaLocationDot } from "react-icons/fa6";
import Text from "../lib_components/text";
import { useTranslation } from "react-i18next";
export default function Header() {
const { t } = useTranslation();
return (
<div
dir="ltr"
@@ -15,17 +19,7 @@ export default function Header() {
</a>
</div>
<div className="flex flex-col items-center justify-center">
<div className="text-white text-lg">
<Text txt="work_day_title" />
</div>
<div className="text-secondary text-xl">
<Text txt="work_day" />
</div>
<p className="text-xl text-secondary">24/7</p>
</div>
<div>
<div className="flex items-center gap-5">
<a
href="tel:+998332520000"
target="_blanck"