1import{j as e,B as r,a as l,b as i}from"./index-6lA5GcOQ.js";import{a as c,P as p,M as h}from"./phone-D-PWjafQ.js";import{Q as g}from"./qr-code-C2YKzhRi.js";import{S as j}from"./star-BbbDccYV.js";const b=()=>{const s={name:"Sarah Johnson",professional_title:"Senior Legal Counsel",bio:"Experienced legal professional specializing in corporate law, contract negotiation, and business compliance.",email:"[email protected]",phone:"+234 803 456 7890",location:"Lagos, Nigeria",specializations:["Corporate Law","Contract Law","Business Compliance"],average_rating:4.8,total_reviews:47,completed_cases:156,years_experience:8},o=[{id:"1",name:"Expert",type:"reputation",color:"purple"},{id:"2",name:"100+ Cases",type:"achievement",color:"orange"},{id:"3",name:"Client Favorite",type:"quality",color:"blue"},{id:"4",name:"Verified Identity",type:"verification",color:"green"}],d=a=>Array.from({length:5},(t,n)=>e.jsx(j,{className:`w-4 h-4 ${n<Math.floor(a)?"text-yellow-400 fill-current":"text-gray-300"}`},n)),m=()=>{window.location.href=`mailto:${s.email}?subject=Legal Service Inquiry&body=Hello ${s.name}, I would like to discuss a legal matter with you.`},x=()=>{alert("QR code generation would be implemented here")};return e.jsxs("div",{className:"min-h-screen bg-gray-50",children:[e.jsx("div",{className:"bg-white shadow-sm",children:e.jsx("div",{className:"max-w-6xl mx-auto px-4 py-6",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-20 h-20 bg-blue-600 rounded-full flex items-center justify-center text-white text-2xl font-bold",children:s.name.split(" ").map(a=>a[0]).join("")}),e.jsxs("div",{children:[e.jsx("h1",{className:"text-3xl font-bold text-gray-900",children:s.name}),e.jsx("p",{className:"text-blue-600 font-medium text-lg",children:s.professional_title}),e.jsxs("div",{className:"flex items-center gap-2 mt-1",children:[e.jsx("div",{className:"flex items-center gap-1",children:d(s.average_rating)}),e.jsxs("span",{className:"text-gray-600",children:["(",s.total_reviews," reviews)"]})]})]})]}),e.jsxs("div",{className:"flex gap-3",children:[e.jsxs(r,{onClick:m,className:"bg-blue-600 hover:bg-blue-700 text-white",children:[e.jsx(c,{className:"w-4 h-4 mr-2"}),"Contact"]}),e.jsxs(r,{onClick:x,variant:"outline",children:[e.jsx(g,{className:"w-4 h-4 mr-2"}),"QR Code"]})]})]})})}),e.jsx("div",{className:"max-w-6xl mx-auto px-4 py-8",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[e.jsxs("div",{className:"lg:col-span-2 space-y-6",children:[e.jsx(l,{children:e.jsxs(i,{className:"p-6",children:[e.jsx("h2",{className:"text-xl font-semibold mb-4",children:"About"}),e.jsx("p",{className:"text-gray-700 leading-relaxed",children:s.bio})]})}),e.jsx(l,{children:e.jsxs(i,{className:"p-6",children:[e.jsx("h2",{className:"text-xl font-semibold mb-4",children:"Professional Badges"}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:o.map(a=>{const t={purple:"bg-purple-100 text-purple-800",orange:"bg-orange-100 text-orange-800",blue:"bg-blue-100 text-blue-800",green:"bg-green-100 text-green-800"}[a.color],n={reputation:"ð",achievement:"ð",quality:"â",verification:"â"}[a.type];return e.jsxs("div",{className:`flex items-center gap-2 px-3 py-2 rounded-full ${t}`,children:[e.jsx("span",{children:n}),e.jsx("span",{className:"text-sm font-medium",children:a.name})]},a.id)})})]})}),e.jsx(l,{children:e.jsxs(i,{className:"p-6",children:[e.jsx("h2",{className:"text-xl font-semibold mb-4",children:"Specializations"}),e.jsx("div",{className:"flex flex-wrap gap-2",children:s.specializations.map((a,t)=>e.jsx("span",{className:"bg-blue-50 text-blue-700 px-3 py-2 rounded-full text-sm font-medium",children:a},t))})]})})]}),e.jsxs("div",{className:"space-y-6",children:[e.jsx(l,{children:e.jsxs(i,{className:"p-6",children:[e.jsx("h3",{className:"text-lg font-semibold mb-4",children:"Contact Information"}),e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(p,{className:"w-5 h-5 text-gray-400"}),e.jsx("span",{className:"text-gray-700",children:s.phone})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(c,{className:"w-5 h-5 text-gray-400"}),e.jsx("span",{className:"text-gray-700",children:s.email})]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(h,{className:"w-5 h-5 text-gray-400"}),e.jsx("span",{className:"text-gray-700",children:s.location})]})]})]})}),e.jsx(l,{children:e.jsxs(i,{className:"p-6",children:[e.jsx("h3",{className:"text-lg font-semibold mb-4",children:"Qu
1ick Stats"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-gray-600",children:"Experience"}),e.jsxs("span",{className:"font-semibold",children:[s.years_experience,"+ years"]})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-gray-600",children:"Cases Completed"}),e.jsx("span",{className:"font-semibold",children:s.completed_cases})]}),e.jsxs("div",{className:"flex justify-between",children:[e.jsx("span",{className:"text-gray-600",children:"Client Rating"}),e.jsxs("span",{className:"font-semibold",children:[s.average_rating,"/5.0"]})]})]})]})})]})]})})]})};export{b as PublicLawyerProfileTest};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.