This commit is contained in:
Iliyan Angelov
2025-11-21 01:20:51 +02:00
parent a38ab4fa82
commit 6f85b8cf17
242 changed files with 7154 additions and 14492 deletions

View File

@@ -110,14 +110,13 @@ const ServiceManagementPage: React.FC = () => {
});
};
if (loading) {
return <Loading />;
}
return (
<div className="space-y-8 bg-gradient-to-br from-slate-50 via-white to-slate-50 min-h-screen -m-6 p-8">
{/* Luxury Header */}
{}
<div className="flex justify-between items-center animate-fade-in">
<div>
<div className="flex items-center gap-3 mb-2">
@@ -140,7 +139,7 @@ const ServiceManagementPage: React.FC = () => {
</button>
</div>
{/* Luxury Filter Card */}
{}
<div className="bg-white/80 backdrop-blur-sm rounded-2xl shadow-xl border border-slate-200/60 p-6 animate-fade-in" style={{ animationDelay: '0.1s' }}>
<div className="grid grid-cols-1 md:grid-cols-2 gap-5">
<div className="relative group">
@@ -165,7 +164,7 @@ const ServiceManagementPage: React.FC = () => {
</div>
</div>
{/* Luxury Table Card */}
{}
<div className="bg-white/80 backdrop-blur-sm rounded-2xl shadow-xl border border-slate-200/60 overflow-hidden animate-fade-in" style={{ animationDelay: '0.2s' }}>
<div className="overflow-x-auto">
<table className="w-full">
@@ -239,11 +238,11 @@ const ServiceManagementPage: React.FC = () => {
/>
</div>
{/* Luxury Modal */}
{}
{showModal && (
<div className="fixed inset-0 bg-black/70 backdrop-blur-md flex items-center justify-center z-50 p-4 animate-fade-in">
<div className="bg-white rounded-3xl shadow-2xl w-full max-w-md max-h-[90vh] overflow-hidden border border-slate-200 animate-scale-in">
{/* Modal Header */}
{}
<div className="bg-gradient-to-r from-slate-900 via-slate-800 to-slate-900 px-6 py-5 border-b border-slate-700">
<div className="flex justify-between items-center">
<div>
@@ -263,7 +262,7 @@ const ServiceManagementPage: React.FC = () => {
</div>
</div>
{/* Modal Content */}
{}
<div className="p-6 overflow-y-auto max-h-[calc(90vh-120px)]">
<form onSubmit={handleSubmit} className="space-y-5">
<div>