faq, privacy-policy and about page complated

This commit is contained in:
Samandar Turgunboyev
2025-12-16 11:38:11 +05:00
parent bf57288b21
commit 9ebeebac44
26 changed files with 1817 additions and 335 deletions

View File

@@ -1,5 +1,7 @@
'use client';
import { PartnershipForm } from '@/features/about/ui/AboutPage';
import Faq from '@/features/faq/ui/Faq';
import { useRouter } from '@/shared/config/i18n/navigation';
import { Avatar, AvatarFallback, AvatarImage } from '@/shared/ui/avatar';
import { Badge } from '@/shared/ui/badge';
@@ -20,11 +22,13 @@ import {
CreditCard,
Edit3,
Globe,
Handshake,
Heart,
History,
Home,
LogOut,
MapPin,
MessageCircleQuestion,
Moon,
Package,
Plus,
@@ -236,6 +240,8 @@ const Profile = () => {
{ id: 'overview', label: 'Umumiy', icon: Home },
{ id: 'orders', label: 'Buyurtmalar', icon: ShoppingBag },
{ id: 'history', label: 'Tarix', icon: History },
{ id: 'agency', label: "Hamkor bo'lish", icon: Handshake },
{ id: 'faq', label: 'Savol javoblar', icon: MessageCircleQuestion },
];
const statistics = {
@@ -719,6 +725,12 @@ const Profile = () => {
</div>
);
case 'agency':
return <PartnershipForm />;
case 'faq':
return <Faq />;
default:
// Overview section
return (