2026-05-17 20:03:42 -05:00
import { Helmet } from 'react-helmet-async'
2026-05-13 00:29:45 -05:00
import { useParams } from 'react-router-dom'
2026-05-12 01:04:17 -05:00
import { industries } from '@/data/industries'
2026-05-17 17:42:03 -05:00
import { Link } from 'react-router-dom'
2026-05-12 01:04:17 -05:00
import { Card , CardContent , CardHeader , CardTitle } from '@/components/ui/Card'
2026-05-13 00:29:45 -05:00
const IndustryDetail = ( ) => {
const { slug } = useParams ( )
const industry = industries . find ( i => i . id === slug )
2026-05-12 01:04:17 -05:00
if ( ! industry ) {
return (
2026-05-17 17:11:29 -05:00
< section className = "bg-background py-16 md:py-24" >
2026-05-17 20:03:42 -05:00
< Helmet >
< title > Industry Not Found | Queue North Technologies < / title >
< meta name = "description" content = "The industry page you are looking for does not exist." / >
< / Helmet >
2026-05-17 17:11:29 -05:00
< div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" >
< div className = "text-center" >
< h1 className = "text-3xl font-bold text-primary-navy mb-4" > Industry Not Found < / h1 >
< p className = "text-xl text-soft-text mb-8" > The industry you 're looking for doesn' t exist . < / p >
2026-05-17 17:42:03 -05:00
< Link to = "/industries" className = "text-primary-navy hover:underline" >
2026-05-17 17:11:29 -05:00
Back to Industries
2026-05-17 17:42:03 -05:00
< / Link >
2026-05-17 17:11:29 -05:00
< / div >
2026-05-12 01:04:17 -05:00
< / div >
2026-05-17 17:11:29 -05:00
< / section >
2026-05-12 01:04:17 -05:00
)
}
2026-05-17 20:03:42 -05:00
const industryTitle = ` ${ industry . name } | Queue North Technologies `
const industryDesc = industry . shortDesc || ` Learn about Queue North Technologies solutions for the ${ industry . name } industry in Houghton, MI and the Upper Peninsula. `
const industryUrl = ` https://queuenorth.com/industries/ ${ industry . id } `
2026-05-12 01:04:17 -05:00
return (
2026-05-17 17:11:29 -05:00
< >
2026-05-17 20:03:42 -05:00
< Helmet >
< title > { industryTitle } < / title >
< meta name = "description" content = { industryDesc } / >
< meta property = "og:title" content = { industryTitle } / >
< meta property = "og:description" content = { industryDesc } / >
< meta property = "og:url" content = { industryUrl } / >
< meta property = "og:type" content = "website" / >
< meta property = "og:image" content = "https://queuenorth.com/logo.svg" / >
< meta property = "og:site_name" content = "Queue North Technologies" / >
< / Helmet >
2026-05-12 01:04:17 -05:00
{ /* Page Hero */ }
2026-05-17 17:11:29 -05:00
< section className = "bg-background py-16 md:py-24" >
< div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" >
< div >
< h1 className = "text-4xl md:text-5xl font-bold text-primary-navy mb-6" > { industry . name } < / h1 >
< p className = "text-xl text-soft-text max-w-3xl" > { industry . shortDesc } < / p >
< / div >
< / div >
2026-05-12 01:04:17 -05:00
< / section >
{ /* Main Content */ }
2026-05-17 17:11:29 -05:00
< section className = "bg-background py-16" >
< div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" >
< div className = "grid grid-cols-1 lg:grid-cols-3 gap-12" >
{ /* Left Column - Main Content */ }
< div className = "lg:col-span-2" >
< div className = "mb-12" >
< h2 className = "text-2xl font-bold text-primary-navy mb-4" > Industry Overview < / h2 >
< p className = "text-lg text-soft-text mb-6 leading-relaxed" >
{ industry . fullDesc }
< / p >
< / div >
2026-05-12 01:04:17 -05:00
2026-05-17 17:11:29 -05:00
< div className = "mb-12" >
< h2 className = "text-2xl font-bold text-primary-navy mb-4" > Pain Points We Solve < / h2 >
< div className = "grid grid-cols-1 md:grid-cols-2 gap-4" >
{ industry . painPoints . map ( ( painPoint , index ) => (
< div key = { index } className = "flex items-start gap-3" >
< div className = "h-6 w-6 rounded-full bg-red-100 text-red-700 flex items-center justify-center flex-shrink-0 mt-1" >
< svg className = "h-3 w-3" fill = "none" stroke = "currentColor" viewBox = "0 0 24 24" >
< path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = "2" d = "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" / >
< / svg >
< / div >
< span className = "text-lg text-text" > { painPoint } < / span >
< / div >
) ) }
2026-05-12 01:04:17 -05:00
< / div >
2026-05-17 17:11:29 -05:00
< / div >
2026-05-12 01:04:17 -05:00
2026-05-17 17:11:29 -05:00
< div className = "mb-12" >
< h2 className = "text-2xl font-bold text-primary-navy mb-4" > Our Solutions < / h2 >
< div className = "grid grid-cols-1 md:grid-cols-2 gap-4" >
{ industry . solutions . map ( ( solution , index ) => (
< div key = { index } className = "flex items-start gap-3" >
< div className = "h-6 w-6 rounded-full bg-green-100 text-green-700 flex items-center justify-center flex-shrink-0 mt-1" >
< svg className = "h-3 w-3" fill = "none" stroke = "currentColor" viewBox = "0 0 24 24" >
< path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = "2" d = "M5 13l4 4L19 7" / >
< / svg >
< / div >
< span className = "text-lg text-text" > { solution } < / span >
< / div >
) ) }
2026-05-12 01:04:17 -05:00
< / div >
2026-05-17 17:11:29 -05:00
< / div >
2026-05-12 01:04:17 -05:00
< / div >
2026-05-17 17:11:29 -05:00
{ /* Right Column - Sidebar */ }
< div className = "lg:col-span-1" >
< Card className = "sticky top-24" >
< CardHeader >
< CardTitle className = "text-primary-navy" > Industry Insights < / CardTitle >
< / CardHeader >
< CardContent className = "space-y-4" >
< div >
2026-05-17 20:03:42 -05:00
< h3 className = "font-semibold text-text mb-2" > Industry < / h3 >
2026-05-17 17:11:29 -05:00
< p className = "text-soft-text" > { industry . name } < / p >
< / div >
< div className = "pt-4 border-t border-border" >
2026-05-17 17:42:03 -05:00
< Link to = "/contact" className = "block w-full bg-primary-navy text-white px-4 py-3 rounded-md text-center font-medium hover:bg-primary-navy-dark transition-colors" >
2026-05-17 17:11:29 -05:00
Request Consultation
2026-05-17 17:42:03 -05:00
< / Link >
2026-05-17 17:11:29 -05:00
< / div >
< div className = "pt-2" >
2026-05-17 17:42:03 -05:00
< Link to = "/industries" className = "text-primary-navy hover:underline" >
2026-05-17 17:11:29 -05:00
← Back to Industries
2026-05-17 17:42:03 -05:00
< / Link >
2026-05-17 17:11:29 -05:00
< / div >
< / CardContent >
< / Card >
< / div >
< / div >
2026-05-12 01:04:17 -05:00
< / div >
2026-05-17 17:11:29 -05:00
< / section >
< / >
2026-05-12 01:04:17 -05:00
)
}
export default IndustryDetail