feat(admin,sms): add dynamic sms settings management and live tester in admin panel

This commit is contained in:
parsa aghaei committed 2026-08-16 11:48:40 +03:30
1 parent 8992060cb7
commit 09fd339e89
7 files changed
+755 -40

No files matched your search

@@ -1,6 +1,6 @@
import { useState, useEffect, useRef } 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, PhoneCall, Sparkles, MessageSquareQuote, FlaskConical, Building2, Globe, DollarSign, Sliders } from 'lucide-react';
import { Users, ShoppingCart, Tag, Settings, LogOut, TrendingUp, FolderTree, FileText, BookOpen, Heart, Package, LayoutDashboard, Languages, Image, Video, PhoneCall, Sparkles, MessageSquareQuote, FlaskConical, Building2, Globe, DollarSign, Sliders, MessageSquare } from 'lucide-react';
import api from '../services/api';
import { useAdminAuthStore } from '../store/adminAuthStore';
@@ -47,6 +47,7 @@ const menuGroups = [
title: 'سیستم و تنظیمات',
items: [
{ icon: Settings, label: 'تنظیمات کلی', path: '/settings' },
{ icon: MessageSquare, label: 'تنظیمات پیامک', path: '/settings/sms' },
{ icon: Globe, label: 'تنظیمات سئو', path: '/settings/seo' },
{ icon: DollarSign, label: 'تنظیمات مالی & ارسال', path: '/settings/financial' },
{ icon: Sliders, label: 'تنظیمات سیستمی', path: '/settings/system' },