faq, privacy-policy and about page complated
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user