feat: Enhance agent profiles with dynamic fields, granular location data, and add a verified badge asset.
This commit is contained in:
@@ -29,12 +29,12 @@ export function ContactInfo({ email, phone }: ContactInfoProps) {
|
||||
return (
|
||||
<div className="w-full max-w-[354px] lg:max-w-none border border-[#00293d]/10 rounded-[15px] p-4">
|
||||
<div className="flex items-center gap-2 mb-2">
|
||||
<span className="font-bold text-[#00293d] text-sm">Email:</span>
|
||||
<span className="text-[#00293d] text-sm font-serif">
|
||||
<span className="font-bold text-[#00293d] text-sm flex-shrink-0">Email:</span>
|
||||
<span className="text-[#00293d] text-sm font-serif truncate min-w-0 flex-1">
|
||||
{showEmail ? email : maskEmail(email)}
|
||||
</span>
|
||||
<button
|
||||
className="p-1 hover:bg-gray-100 rounded ml-auto"
|
||||
className="p-1 hover:bg-gray-100 rounded flex-shrink-0"
|
||||
onClick={() => setShowEmail(!showEmail)}
|
||||
>
|
||||
<Image
|
||||
@@ -46,12 +46,12 @@ export function ContactInfo({ email, phone }: ContactInfoProps) {
|
||||
</button>
|
||||
</div>
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="font-bold text-[#00293d] text-sm">Ph.No:</span>
|
||||
<span className="text-[#00293d] text-sm font-serif">
|
||||
<span className="font-bold text-[#00293d] text-sm flex-shrink-0">Ph.No:</span>
|
||||
<span className="text-[#00293d] text-sm font-serif truncate min-w-0 flex-1">
|
||||
{showPhone ? phone : maskPhone(phone)}
|
||||
</span>
|
||||
<button
|
||||
className="p-1 hover:bg-gray-100 rounded ml-auto"
|
||||
className="p-1 hover:bg-gray-100 rounded flex-shrink-0"
|
||||
onClick={() => setShowPhone(!showPhone)}
|
||||
>
|
||||
<Image
|
||||
|
||||
Reference in New Issue
Block a user