// pns-section-page.jsx — shared shell for standalone section pages
const { useEffect } = React;
const ST = window.PNST;
const wpSP = (window.pnsWP && window.pnsWP.settings) || {};
const SP_SITE = (window.pnsWP && window.pnsWP.siteUrl) || '';
const spUrl = (slug) => SP_SITE ? SP_SITE + slug + '/' : SP_PAGES_FILE[slug];
const SP_PAGES_FILE = {
services:'Services.html', about:'About.html', 'why-us':'Why Us.html',
portfolio:'Portfolio.html', team:'Team.html', pricing:'Pricing.html', contact:'Contact.html',
};
const SP_CONFIG = {
services: {
eyebrow:'Services', title:'Technology Services That Keep You Running',
lede:'From fully managed IT to cybersecurity, cloud, and custom development — one partner for every layer of your technology stack.',
img:'https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&auto=format&fit=crop&q=60',
render:['PNSServices'],
},
about: {
eyebrow:'About Us', title:'A Technology Partner, Not a Vendor',
lede:'Premier Network Solutions has supported Southern California businesses for over a decade with proactive, senior-level IT management.',
img:'https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1600&auto=format&fit=crop&q=60',
render:['PNSAbout','PNSStats'],
},
'why-us': {
eyebrow:'Why Choose Us', title:'Why Businesses Stay With Us',
lede:'Predictable costs, senior engineers on every ticket, and monitoring that catches problems before your team ever notices them.',
img:'https://images.unsplash.com/photo-1552664730-d307ca884978?w=1600&auto=format&fit=crop&q=60',
render:['PNSWhyChooseUs','PNSStats'],
},
portfolio: {
eyebrow:'Portfolio', title:'Work We Have Delivered',
lede:'Infrastructure rebuilds, security hardening, cloud migrations, and custom platforms for businesses across Southern California.',
img:'https://images.unsplash.com/photo-1497215728101-856f4ea42174?w=1600&auto=format&fit=crop&q=60',
render:['PNSPortfolio','PNSTestimonials'],
},
team: {
eyebrow:'Our Team', title:'The People Behind Your Systems',
lede:'Certified engineers and strategists who know your environment by name — not a rotating queue of call-center technicians.',
img:'https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1600&auto=format&fit=crop&q=60',
render:['PNSTeam'],
},
pricing: {
eyebrow:'Pricing', title:'Flexible Plans for Every Business',
lede:'Transparent per-device pricing with no hidden fees and no long-term contracts. Every plan includes monitoring and helpdesk.',
img:'https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=1600&auto=format&fit=crop&q=60',
render:['PNSPricing'],
},
};
function SectionHero({ cfg }) {
return (
{cfg.lede}{cfg.title}