// pns-3.jsx — Portfolio · Team · Testimonials const { useState, useEffect, useRef } = React; const wpS = window.pnsWP?.settings || {}; const T = window.PNST; const { EyebrowBadge, SectionTitle, ImgPlaceholder } = window; /* ── PORTFOLIO / CASE STUDIES ───────────────────────────────────── */ const CASES_DEFAULT = [ { id: 1, cat: 'Cybersecurity', catColor: T.coral, photo: '1695668548342-c0c1ad479aee', title: 'Healthcare Network Security Overhaul', desc: 'HIPAA-compliant security infrastructure for a 4-location medical group.' }, { id: 2, cat: 'Cloud Services', catColor: T.teal, photo: '1506399558188-acca6f8cbf41', title: 'Multi-Location Cloud Migration', desc: 'Seamless Azure migration for a 50-user professional services firm.' }, { id: 3, cat: 'Microsoft 365', catColor: T.blue, photo: '1663596990274-3fc2f5a4ce27', title: 'Complete M365 Business Deployment', desc: 'Full M365 rollout including Teams, SharePoint, and Azure AD SSO.' }, { id: 4, cat: 'Network', catColor: T.coral, photo: '1558618666-fcd25c85cd64', title: 'Enterprise Network Infrastructure', desc: 'Structured cabling, Wi-Fi 6, and SD-WAN for a 3-floor office complex.' }, { id: 5, cat: 'AI Solutions', catColor: T.teal, photo: '1682562031269-58a59c81432c', title: 'AI-Powered Workflow Automation', desc: 'Custom AI automations reducing manual data-entry hours by 70%.' }]; const P3_SITE = (window.pnsWP && window.pnsWP.siteUrl) || ''; const p3Url = (slug, file) => P3_SITE ? P3_SITE + slug + '/' : file; // Case study detail pages, in the same order as CASES_DEFAULT. const CASE_SLUGS = window.PNS_CASE_ORDER || [ 'hipaa-network-security-medical-group','azure-cloud-migration-professional-services', 'microsoft-365-deployment-teams-sharepoint','enterprise-network-infrastructure-wifi6-sdwan', 'ai-workflow-automation-data-entry']; const caseHref = (slug) => slug ? (P3_SITE ? P3_SITE+'case-studies/'+slug+'/' : 'case-study.html?id='+slug) : null; const _rawCases = (window.pnsWP?.cases?.length>0) ? window.pnsWP.cases.map((c,i)=>({...c,catColor:c.catColor||[T.coral,T.teal,T.blue][i%3]})) : CASES_DEFAULT; const CASES = _rawCases.map((c,i) => ({ ...c, slug: c.slug || CASE_SLUGS[i] || null })); function CaseCard({ cs, i }) { const [hov, setHov] = useState(false); const href = caseHref(cs.slug); return ( setHov(true)} onMouseLeave={() => setHov(false)} aria-label={`Read the case study: ${cs.title}`} style={{ display: 'block', textDecoration: 'none', minWidth: 300, maxWidth: 340, borderRadius: 18, overflow: 'hidden', cursor: href ? 'pointer' : 'default', flexShrink: 0, background: T.n700, transition: 'all 0.35s ease', transform: hov ? 'translateY(-8px)' : 'translateY(0)', boxShadow: hov ? '0 24px 60px rgba(0,0,0,0.45)' : '0 4px 24px rgba(0,0,0,0.15)' }}> {/* Image area */}
{cs.title} {/* Overlay on hover */}
{/* Category badge */}
{cs.cat}
{/* Title on image bottom */}

{cs.title}

{/* Body */}

{cs.desc}

View Case Study →
); } function PNSPortfolio() { const scrollRef = useRef(null); const scroll = (dir) => { if (scrollRef.current) scrollRef.current.scrollBy({ left: dir * 360, behavior: 'smooth' }); }; return (
Case Studies {wpS.portfolioHeadline||"Results We've Delivered."}

{wpS.portfolioBody||"Real solutions, real outcomes—here's how we've transformed technology for Southern California businesses."}

{/* Horizontal scroll */}
{CASES.map((cs, i) => )}
{e.currentTarget.style.background = T.n800;e.currentTarget.style.color = '#fff';e.currentTarget.style.borderColor = T.n800;}} onMouseLeave={(e) => {e.currentTarget.style.background = 'transparent';e.currentTarget.style.color = T.g700;e.currentTarget.style.borderColor = T.n700;}}> {wpS.portfolioCTA||'View All Case Studies'}
); } window.PNSPortfolio = PNSPortfolio; /* ── TEAM ────────────────────────────────────────────────────────── */ const TEAM_DEFAULT = [ { name: 'Hossein Salehi', role: 'CEO & Founder', color: '#d97559', initials: 'HS' }, { name: 'Paria H. Babaei', role: 'Director of IT Operations', color: '#2bb5a0', initials: 'PB' }, { name: 'Marcus Williams', role: 'Cybersecurity Lead', color: '#3b82f6', initials: 'MW' }, { name: 'Jennifer Park', role: 'Cloud & M365 Architect', color: '#a855f7', initials: 'JP' }]; const TEAM=(window.pnsWP?.team?.length>0)?window.pnsWP.team:TEAM_DEFAULT; function SocialIcon({ type }) { const paths = { li: <>, tw: , fb: , ig: <> }; return ( {paths[type]} ); } function PNSTeam() { const [active, setActive] = useState(0); const m = TEAM[active]; return (
{/* Left: Title + thumbnails */}

{(wpS.teamHeadline||'OUR TEAM').replace(' ','\n').split('\n').map((w,i)=>{w}{i===0&&
}
)}

{wpS.teamBody||'Expert technologists dedicated to your business success. Our team brings decades of combined experience in enterprise IT, cybersecurity, and cloud architecture.'}

{/* Prev / Next */}
{/* Thumbnails */}
{TEAM.map((mb, i) =>
setActive(i)} style={{ cursor: 'pointer', borderRadius: 14, overflow: 'hidden', border: `2px solid ${i === active ? mb.color : 'transparent'}`, transition: 'all 0.3s ease', transform: i === active ? 'scale(1.02)' : 'scale(1)' }}>
{mb.initials}
{mb.name.split(' ')[0]}
{mb.role.split(' ')[0]}
)}
{/* Right: Featured card */}
); } window.PNSTeam = PNSTeam; /* ── TESTIMONIALS ────────────────────────────────────────────────── */ const TESTIMONIALS_DEFAULT = [ { quote: 'Premier Network Solutions has been a game-changer for our practice. Their proactive IT management keeps our systems running, and their cybersecurity setup gives us complete peace of mind for HIPAA compliance.', name: 'Dr. Michael Torres', title: 'Managing Partner', co: 'Pacific Coast Medical Group', color: '#d97559' }, { quote: 'The Microsoft 365 migration was flawless—zero downtime, zero data loss. Their team handled everything from setup to user training. Our entire firm is more productive than we\'ve ever been.', name: 'Lisa Chen', title: 'Director of Operations', co: 'Westside Legal Partners', color: '#2bb5a0' }, { quote: 'We were hit with a ransomware attempt last year. Premier\'s 24/7 monitoring caught it in real time and neutralized it before any damage occurred. Their team is exceptionally skilled and always responsive.', name: 'Robert Martinez', title: 'CEO', co: 'SoCal Manufacturing Co.', color: '#3b82f6' }]; const TESTIMONIALS=(window.pnsWP?.testimonials?.length>0)?window.pnsWP.testimonials:TESTIMONIALS_DEFAULT; function PNSTestimonials() { const [idx, setIdx] = useState(0); const tst = TESTIMONIALS[idx]; const go = (dir) => setIdx((i) => (i + dir + TESTIMONIALS.length) % TESTIMONIALS.length); useEffect(() => { const t = setInterval(() => setIdx(i => (i + 1) % TESTIMONIALS.length), 5000); return () => clearInterval(t); }, []); return (
{/* Big decorative quote */}
"
{/* Photo + quote card */}
Circuit board technology — Premier Network Solutions IT infrastructure
{/* Floating quote card */}
{/* Quote icon */}
"

{tst.quote}

{tst.name}
{tst.title} · {tst.co}
{/* Text side */}
{wpS.testimonialsEyebrow||'Testimonials'}
{wpS.testimonialsHeadline||'What Our Clients Say.'}

{wpS.testimonialsBody||"Don't just take our word for it—hear directly from the Southern California businesses that rely on Premier Network Solutions every day."}

{/* Nav */}
{TESTIMONIALS.map((_, i) =>
{/* Dots client indicators */}
{TESTIMONIALS.map((t, i) =>
setIdx(i)} style={{ cursor: 'pointer', display: 'flex', alignItems: 'center', gap: 10, opacity: i === idx ? 1 : 0.4, transition: 'opacity 0.3s' }}>
{t.name.split(' ').map((n) => n[0]).join('')}
{i === idx &&
{t.name}
{t.co}
}
)}
); } window.PNSTestimonials = PNSTestimonials;