feat: enhance various pages with improved UI elements and search functionality

This commit is contained in:
hamed
2026-06-10 13:20:21 +03:30
parent 06ab875693
commit 4b8504df91
8 changed files with 86 additions and 34 deletions
+2 -2
View File
@@ -151,11 +151,11 @@ export default function BlogFormPage() {
<div className="pt-4 space-y-3">
<button type="submit" disabled={isSubmitting}
className="w-full py-2.5 bg-primary-600 text-white text-sm font-medium rounded-[10px] hover:bg-primary-700 disabled:opacity-50 transition-colors">
className="cp-btn-primary w-full justify-center py-2.5">
{isSubmitting ? 'در حال ذخیره...' : isEdit ? 'بروزرسانی' : 'ذخیره'}
</button>
<button type="button" onClick={() => navigate('/admin/blogs')}
className="w-full py-2.5 border border-gray-300 text-sm text-gray-700 rounded-[10px] hover:bg-gray-50 transition-colors">
className="cp-btn-secondary w-full justify-center py-2.5">
لغو
</button>
</div>