feat: replace team members with cards in CMS, add date validation fields, and remove contact info section from user profile
This commit is contained in:
@@ -464,41 +464,6 @@ export default function UserDetailPage() {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Contact Information */}
|
||||
<div className="bg-white rounded-xl shadow-sm border border-[#e5e7eb] mb-6">
|
||||
<div className="px-6 py-4 border-b border-[#e5e7eb]">
|
||||
<h2 className="text-lg font-semibold text-[#00293d] font-fractul">Contact Information</h2>
|
||||
</div>
|
||||
<div className="p-6">
|
||||
<div className="grid grid-cols-2 md:grid-cols-4 gap-6">
|
||||
<div>
|
||||
<p className="text-sm text-[#666666]">Phone</p>
|
||||
<p className="text-sm font-medium text-[#00293d]">
|
||||
{user.profile?.phone || 'Not provided'}
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-sm text-[#666666]">City</p>
|
||||
<p className="text-sm font-medium text-[#00293d]">
|
||||
{user.profile?.city || 'Not provided'}
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-sm text-[#666666]">State</p>
|
||||
<p className="text-sm font-medium text-[#00293d]">
|
||||
{user.profile?.state || 'Not provided'}
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-sm text-[#666666]">Country</p>
|
||||
<p className="text-sm font-medium text-[#00293d]">
|
||||
{user.profile?.country || 'Not provided'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Dynamic Profile Data (only for AGENT role) */}
|
||||
{user.role === 'AGENT' && (
|
||||
<div className="bg-white rounded-xl shadow-sm border border-[#e5e7eb] mb-6">
|
||||
|
||||
Reference in New Issue
Block a user