feat: add Media Manager page to admin panel

- Standalone gallery page at /media with grid view
- Upload via button, drag & drop, or Ctrl+V paste
- Delete and copy URL per image
- Full-size image preview modal
- File info (name, size, date)
- Search/filter by filename
This commit is contained in:
parsa aghaei committed 2026-07-11 17:24:25 +03:30
1 parent 1a0c98a34e
commit 53301705da
3 files changed
+293 -1

No files matched your search

@@ -1,5 +1,5 @@
import { Link, useLocation, useNavigate } from 'react-router-dom';
import { Home, Users, ShoppingBag, ShoppingCart, Tag, Settings, LogOut, TrendingUp, FolderTree, FileText, BookOpen, Heart, Package, LayoutDashboard, Languages } from 'lucide-react';
import { Home, Users, ShoppingBag, ShoppingCart, Tag, Settings, LogOut, TrendingUp, FolderTree, FileText, BookOpen, Heart, Package, LayoutDashboard, Languages, Image } from 'lucide-react';
const menuGroups = [
{
@@ -37,6 +37,7 @@ const menuGroups = [
items: [
{ icon: Settings, label: 'تنظیمات', path: '/settings' },
{ icon: Languages, label: 'متون رابط کاربری', path: '/ui-texts' },
{ icon: Image, label: 'مدیریت رسانه', path: '/media' },
]
}
];