udpates on the ui changes on theprodut catalogs

This commit is contained in:
2026-06-16 20:12:45 +05:30
parent a0586dc11c
commit 2e9ffb15bb
22 changed files with 921 additions and 598 deletions

View File

@@ -378,7 +378,7 @@ VALUES (${newUserId}, 1, 'Active', NOW());
<div className="flex justify-between items-start border-b border-slate-100 pb-5">
<div>
<h3 className="text-lg font-bold text-slate-900 flex items-center gap-2">
<Store className="text-[#581c87]" size={20} />
<Store className="text-[#662582]" size={20} />
Add Store Outlet Location
</h3>
<p className="text-slate-550 text-xs mt-1">
@@ -635,7 +635,7 @@ VALUES (${newUserId}, 1, 'Active', NOW());
<button
type="submit"
disabled={createLocationMut.isPending}
className="bg-gradient-to-r from-[#581c87] to-indigo-650 hover:from-purple-755 hover:to-indigo-700 text-white px-6 py-3 rounded-xl text-xs font-bold uppercase tracking-wider flex items-center gap-2 cursor-pointer shadow-md active:scale-95 transition-all border-none"
className="bg-gradient-to-r from-[#662582] to-indigo-650 hover:from-purple-755 hover:to-indigo-700 text-white px-6 py-3 rounded-xl text-xs font-bold uppercase tracking-wider flex items-center gap-2 cursor-pointer shadow-md active:scale-95 transition-all border-none"
>
{createLocationMut.isPending ? (
<>
@@ -914,11 +914,11 @@ VALUES (${newUserId}, 1, 'Active', NOW());
onClick={() => { setActiveTab('tenant'); setTenantSuccess(null); }}
className={`flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all duration-200 whitespace-nowrap cursor-pointer border-none w-full ${
activeTab === 'tenant'
? 'bg-purple-50 text-[#581c87] shadow-sm border-l-2 border-purple-650'
? 'bg-purple-50 text-[#662582] shadow-sm border-l-2 border-purple-650'
: 'text-slate-600 hover:text-slate-900 hover:bg-white bg-transparent'
}`}
>
<Building2 size={16} className={activeTab === 'tenant' ? 'text-[#581c87]' : 'text-slate-450'} />
<Building2 size={16} className={activeTab === 'tenant' ? 'text-[#662582]' : 'text-slate-450'} />
<span>Tenant Onboarding</span>
</button>
@@ -926,11 +926,11 @@ VALUES (${newUserId}, 1, 'Active', NOW());
onClick={() => { setActiveTab('store'); setStoreSuccess(null); }}
className={`flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all duration-200 whitespace-nowrap cursor-pointer border-none w-full ${
activeTab === 'store'
? 'bg-purple-50 text-[#581c87] shadow-sm border-l-2 border-purple-650'
? 'bg-purple-50 text-[#662582] shadow-sm border-l-2 border-purple-650'
: 'text-slate-600 hover:text-slate-900 hover:bg-white bg-transparent'
}`}
>
<Store size={16} className={activeTab === 'store' ? 'text-[#581c87]' : 'text-slate-450'} />
<Store size={16} className={activeTab === 'store' ? 'text-[#662582]' : 'text-slate-450'} />
<span>Store Branch Onboarding</span>
</button>
@@ -938,11 +938,11 @@ VALUES (${newUserId}, 1, 'Active', NOW());
onClick={() => { setActiveTab('rider'); setRiderSuccess(null); }}
className={`flex items-center gap-3 px-4 py-3 rounded-xl text-sm font-bold transition-all duration-200 whitespace-nowrap cursor-pointer border-none w-full ${
activeTab === 'rider'
? 'bg-purple-50 text-[#581c87] shadow-sm border-l-2 border-purple-650'
? 'bg-purple-50 text-[#662582] shadow-sm border-l-2 border-purple-650'
: 'text-slate-600 hover:text-slate-900 hover:bg-white bg-transparent'
}`}
>
<Bike size={16} className={activeTab === 'rider' ? 'text-[#581c87]' : 'text-slate-450'} />
<Bike size={16} className={activeTab === 'rider' ? 'text-[#662582]' : 'text-slate-450'} />
<span>Rider Onboarding</span>
</button>
</nav>