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

@@ -1,18 +1,21 @@
import { useLanguage } from "@/contexts/language-context"
import { Github, Linkedin, Twitter } from "lucide-react"
import { useLanguage } from "@/contexts/language-context";
import { Github, Linkedin, Twitter } from "lucide-react";
import Image from "next/image";
export default function Footer() {
const {t} = useLanguage();
const { t } = useLanguage();
return (
<footer className="bg-foreground text-white py-12 md:py-16">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
<div>
<div className="flex items-center gap-2 mb-4">
<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">{t.footer.brand}</span>
<div className="flex items-center gap-2 mb-4 bg-white justify-center rounded-xl py-3">
<Image
src="/logo.png"
alt="logo image"
width={150}
height={100}
/>
</div>
<p className="text-white/70 text-sm">{t.footer.description}</p>
</div>
@@ -78,15 +81,23 @@ export default function Footer() {
<div className="border-t border-white/10 pt-8 flex flex-col md:flex-row justify-between items-center text-sm text-white/70">
<p>{t.footer.rights}</p>
<div className="flex gap-6 mt-4 md:mt-0">
<a href="#" className="hover:text-white transition">
<a
target="_blanck"
href="https://www.youtube.com/watch?v=aoUiTrKAU-0&list=RDMM1GFCMVQ4Gkg&index=27"
className="hover:text-white transition"
>
{t.footer.policies[0]}
</a>
<a href="#" className="hover:text-white transition">
<a
target="_blanck"
href="https://www.youtube.com/watch?v=aoUiTrKAU-0&list=RDMM1GFCMVQ4Gkg&index=27"
className="hover:text-white transition"
>
{t.footer.policies[1]}
</a>
</div>
</div>
</div>
</footer>
)
);
}