changes on global catalogue

This commit is contained in:
2026-06-20 18:45:25 +05:30
parent 2e9ffb15bb
commit 8707004405
22 changed files with 3137 additions and 2070 deletions

View File

@@ -213,10 +213,7 @@ export default function SettingsView({ tenantId = FIESTA_TENANT_ID, user }: Sett
<div className="space-y-lg animate-in fade-in duration-300 relative font-sans text-slate-700">
{/* Header */}
<div className="pb-4 border-b border-slate-100">
<h1 className="font-sans font-bold text-3xl tracking-tight text-[#0f172a]">Settings</h1>
<p className="text-slate-500 text-sm mt-2">
Manage your store profile, outlet hubs, delivery configurations, payments, and team preferences.
</p>
<div className="mt-3">
{tenantsQ.isLoading ? (
<span className="inline-flex items-center gap-1.5 text-xs font-bold text-slate-400 uppercase tracking-wider">
@@ -294,24 +291,12 @@ export default function SettingsView({ tenantId = FIESTA_TENANT_ID, user }: Sett
<h2 className="text-xl font-bold text-slate-900 mt-1">Identity & Contacts</h2>
</div>
{/* Logo / Identity Row */}
<div className="flex flex-col sm:flex-row gap-6 items-start sm:items-center pb-6 border-b border-slate-100">
{/* Visual Drag and Drop Logo Uploader Placeholder */}
<div className="w-28 h-28 rounded-2xl border-2 border-dashed border-slate-200 hover:border-purple-500 bg-slate-50/40 hover:bg-purple-50/10 flex flex-col items-center justify-center text-center cursor-pointer transition-all duration-300 relative group shrink-0 select-none shadow-sm animate-in zoom-in-95">
<div className="p-3 rounded-xl bg-slate-100 group-hover:bg-purple-100 text-slate-400 group-hover:text-purple-600 transition-all duration-300">
<Building2 size={24} />
</div>
<span className="text-[10px] text-slate-500 font-extrabold mt-2 tracking-wider uppercase group-hover:text-purple-700 transition-colors">Upload Logo</span>
<div className="absolute inset-0 bg-slate-950/85 text-white text-[10px] font-bold flex flex-col items-center justify-center opacity-0 group-hover:opacity-100 transition-all duration-300 rounded-2xl gap-1">
<Plus size={18} />
<span>Drop Image</span>
</div>
</div>
{/* Identity Row */}
<div className="flex flex-col pb-6 border-b border-slate-100">
<div className="min-w-0 flex-1 leading-relaxed">
<span className="text-base font-bold text-slate-900 mr-2">{user?.name || fstr(tenant?.tenantname) || 'Nearle Store'}</span>
<span className="text-slate-500 text-xs font-medium">
Set up your store logo, customer service email, and contact number. Official registration details are synced with your primary credentials.
View your customer service email and contact number. Official registration details are synced with your primary credentials.
</span>
</div>
</div>