feat(contact): implement contact form submission, admin management and dynamic contact info

This commit is contained in:
parsa aghaei committed 2026-08-01 18:28:19 +03:30
1 parent 49049a7f78
commit 2aea3bded4
11 files changed
+961 -77

No files matched your search

@@ -1,6 +1,6 @@
import { useState, useEffect } from 'react';
import { Link, useLocation, useNavigate } from 'react-router-dom';
import { Users, ShoppingCart, Tag, Settings, LogOut, TrendingUp, FolderTree, FileText, BookOpen, Heart, Package, LayoutDashboard, Languages, Image, Video } from 'lucide-react';
import { Users, ShoppingCart, Tag, Settings, LogOut, TrendingUp, FolderTree, FileText, BookOpen, Heart, Package, LayoutDashboard, Languages, Image, Video, PhoneCall } from 'lucide-react';
import api from '../services/api';
const menuGroups = [
@@ -26,6 +26,7 @@ const menuGroups = [
{ icon: Users, label: 'کاربران', path: '/users' },
{ icon: Heart, label: 'حیوانات (Pets)', path: '/pets' },
{ icon: Package, label: 'درخواست‌های B2B', path: '/wholesale' },
{ icon: PhoneCall, label: 'تماس با ما & اطلاعات', path: '/contact' },
]
},
{