import React, { useState, useEffect } from 'react'; const App = () => { const [currentTestimonial, setCurrentTestimonial] = useState(0); const [activeFilter, setActiveFilter] = useState('all'); const [isMenuOpen, setIsMenuOpen] = useState(false); const [scrollY, setScrollY] = useState(0); const [formStatus, setFormStatus] = useState('idle'); // 'idle', 'submitting', 'success', 'error' useEffect(() => { const handleScroll = () => setScrollY(window.scrollY); window.addEventListener('scroll', handleScroll); return () => window.removeEventListener('scroll', handleScroll); }, []); useEffect(() => { const interval = setInterval(() => { setCurrentTestimonial((prev) => (prev + 1) % testimonials.length); }, 7000); return () => clearInterval(interval); }, []); const scrollToSection = (sectionId) => { const element = document.getElementById(sectionId); if (element) { window.scrollTo({ top: element.offsetTop - 100, behavior: 'smooth' }); } setIsMenuOpen(false); }; const handleFormSubmit = async (e) => { e.preventDefault(); setFormStatus('submitting'); // In a real application, you would send this data to your backend // which would then email it to your Gmail account. // Since we can't make real API calls or use backend services here, // we'll simulate a successful submission after a short delay. setTimeout(() => { setFormStatus('success'); // Reset form after successful submission e.target.reset(); // Reset status message after 5 seconds setTimeout(() => { setFormStatus('idle'); }, 5000); }, 1500); }; const testimonials = [ { name: "Sajid FC", company: "Head Purchaser of FC College", text: "Global Network Solution transformed our security infrastructure. Their professional installation and attention to detail exceeded our expectations. The system has been flawless for over two years now.", rating: 5, avatar: "https://placehold.co/400x400/000080/FFFFFF?text=AKS" }, { name: "Butt PFSA", company: "Deputy Director, Metro Retail Stores", text: "The solar-powered CCTV system they installed has saved us thousands in energy costs while providing 24/7 security coverage. Their team was professional, efficient, and delivered exactly what we needed.", rating: 5, avatar: "https://placehold.co/400x400/007bff/FFFFFF?text=MA" }, { name: "Michael Chen", company: "CFO, Financial District Offices", text: "Their fingerprint access system has revolutionized our building security. We've seen a 40% reduction in unauthorized access attempts since implementation. Excellent service and support.", rating: 5, avatar: "https://placehold.co/400x400/28a745/FFFFFF?text=AA" } ]; const services = [ { icon: "📹", title: "Advanced Camera Installation", description: "Professional installation of 4K resolution security cameras with AI-powered analytics, facial recognition, and remote monitoring capabilities.", image: "https://placehold.co/600x400/000080/FFFFFF?text=Corporate+Security+System" }, { icon: "🔌", title: "Professional CCTV Cabling", description: "Expert installation of shielded CAT6A and fiber optic cabling for interference-free transmission and future-proof infrastructure.", image: "https://placehold.co/600x400/007bff/FFFFFF?text=Data+Center+Cabling" }, { icon: "🖐️", title: "Biometric Access Systems", description: "Cutting-edge fingerprint and facial recognition systems with multi-factor authentication for maximum security in sensitive areas.", image: "https://placehold.co/600x400/28a745/FFFFFF?text=Biometric+Access" }, { icon: "☀️", title: "Solar-Powered Security", description: "Eco-friendly solar solutions with battery backup to ensure 24/7 operation of security systems, even during power outages.", image: "https://placehold.co/600x400/000080/FFFFFF?text=Solar+Camera+System" }, { icon: "🌐", title: "Enterprise Networking", description: "Comprehensive network infrastructure design and implementation with enterprise-grade equipment for optimal performance and security.", image: "https://placehold.co/600x400/007bff/FFFFFF?text=Corporate+Network" }, { icon: "🔋", title: "APC UPS Installation", description: "Professional installation of APC Uninterruptible Power Supply systems to protect critical equipment from power fluctuations and outages.", image: "https://placehold.co/600x400/28a745/FFFFFF?text=APC+Power+Protection" }, { icon: "🛡️", title: "Integrated Security Solutions", description: "Complete security ecosystem integration including alarms, access control, video surveillance, and centralized management.", image: "https://placehold.co/600x400/000080/FFFFFF?text=Integrated+Security" }, { icon: "⚙️", title: "Service & Maintenance", description: "Comprehensive service packages including preventive maintenance, system upgrades, and 24/7 emergency support for all security and networking systems.", image: "https://placehold.co/600x400/007bff/FFFFFF?text=Preventive+Maintenance" } ]; const galleryItems = [ { category: "camera", title: "Corporate Security System", description: "Complete 32-camera system with AI analytics for a downtown office building", image: "https://placehold.co/600x400/000080/FFFFFF?text=Corporate+Security+System" }, { category: "camera", title: "Luxury Home Security", description: "16-camera 4K system with facial recognition for high-end residential property", image: "https://placehold.co/600x400/007bff/FFFFFF?text=Residential+Security" }, { category: "camera", title: "Industrial Night Vision", description: "Thermal imaging and infrared cameras for 24/7 warehouse monitoring", image: "https://placehold.co/600x400/28a745/FFFFFF?text=Night+Vision+System" }, { category: "cabling", title: "Data Center Cabling", description: "Structured CAT6A cabling with fiber backbone for enterprise data center", image: "https://placehold.co/600x400/000080/FFFFFF?text=Data+Center+Cabling" }, { category: "cabling", title: "Underground Infrastructure", description: "Weatherproof conduit system with fiber optic cables for campus security", image: "https://placehold.co/600x400/007bff/FFFFFF?text=Underground+Infrastructure" }, { category: "cabling", title: "Server Room Setup", description: "Organized cable management with patch panels for security operations center", image: "https://placehold.co/600x400/28a745/FFFFFF?text=Server+Room+Setup" }, { category: "fingerprint", title: "Biometric Access", description: "Fingerprint and facial recognition system for restricted laboratory access", image: "https://placehold.co/600x400/000080/FFFFFF?text=Biometric+Access" }, { category: "fingerprint", title: "Time Attendance", description: "Integrated fingerprint time clock with HR software for 500+ employees", image: "https://placehold.co/600x400/007bff/FFFFFF?text=Time+Attendance" }, { category: "fingerprint", title: "Multi-Factor Security", description: "Combined fingerprint, card, and PIN system for data center access", image: "https://placehold.co/600x400/28a745/FFFFFF?text=Multi-Factor+Security" }, { category: "solar", title: "Solar Camera System", description: "Off-grid solar powered camera system for remote property monitoring", image: "https://placehold.co/600x400/000080/FFFFFF?text=Solar+Camera+System" }, { category: "solar", title: "Battery Backup", description: "48-hour battery backup system with solar charging for critical infrastructure", image: "https://placehold.co/600x400/007bff/FFFFFF?text=Battery+Backup" }, { category: "solar", title: "Remote Location", description: "Complete off-grid security solution with satellite uplink for rural facility", image: "https://placehold.co/600x400/28a745/FFFFFF?text=Remote+Location" }, { category: "networking", title: "Corporate Network", description: "Enterprise-grade network with redundant switches and firewall security", image: "https://placehold.co/600x400/000080/FFFFFF?text=Corporate+Network" }, { category: "networking", title: "Wireless Coverage", description: "High-density Wi-Fi 6 deployment with seamless roaming for large campus", image: "https://placehold.co/600x400/007bff/FFFFFF?text=Wireless+Coverage" }, { category: "networking", title: "Network Security", description: "Advanced firewall configuration with intrusion detection for financial institution", image: "https://placehold.co/600x400/28a745/FFFFFF?text=Network+Security" }, { category: "ups", title: "APC UPS Protection", description: "Professional APC UPS installation for server room power protection", image: "https://placehold.co/600x400/000080/FFFFFF?text=APC+Power+Protection" }, { category: "ups", title: "Data Center Power", description: "Redundant APC UPS system for mission-critical data center operations", image: "https://placehold.co/600x400/007bff/FFFFFF?text=Data+Center+Power" }, { category: "ups", title: "Commercial Facility", description: "APC UPS system for commercial building with critical equipment", image: "https://placehold.co/600x400/28a745/FFFFFF?text=Commercial+Facility" }, { category: "maintenance", title: "Preventive Maintenance", description: "Regular maintenance check for security and networking systems", image: "https://placehold.co/600x400/000080/FFFFFF?text=Preventive+Maintenance" }, { category: "maintenance", title: "System Upgrades", description: "Software and hardware upgrades for existing security systems", image: "https://placehold.co/600x400/007bff/FFFFFF?text=System+Upgrades" }, { category: "maintenance", title: "Emergency Support", description: "24/7 emergency response for security system issues", image: "https://placehold.co/600x400/28a745/FFFFFF?text=Emergency+Support" } ]; const executives = [ { name: "Ali Khuram Shahzad", title: "CEO & Founder", bio: "18+ years in security systems. Former security director for Fortune 500 company. Certified Security Professional (CSP).", image: "https://placehold.co/400x400/000080/FFFFFF?text=AKS", social: ["linkedin", "twitter", "envelope"] }, { name: "Muhammad Adil", title: "CTO", bio: "PhD in Network Security. 12+ years developing cutting-edge security technologies. Published researcher in cybersecurity.", image: "https://placehold.co/400x400/007bff/FFFFFF?text=MA", social: ["linkedin", "twitter", "envelope"] } ]; const teamMembers = [ { name: "Asad Arshad", title: "Lead Engineer", bio: "Certified CCTV specialist with 10+ years experience in complex installations.", image: "https://placehold.co/300x300/007bff/FFFFFF?text=AA" }, { name: "Muhammad ALi", title: "Project Manager", bio: "PMP certified with expertise in managing large-scale security projects.", image: "https://placehold.co/300x300/28a745/FFFFFF?text=MA" }, { name: "Muhammad Asad", title: "Senior Technician", bio: "Specialist in biometric systems and access control with 8+ years experience.", image: "https://placehold.co/300x300/000080/FFFFFF?text=MA" }, { name: "Muhammad Hamza", title: "Helper", bio: "Dedicated to ensuring client satisfaction and seamless project execution.", image: "https://placehold.co/300x300/007bff/FFFFFF?text=MH" } ]; const partners = [ "DELL", "HP", "APC", "CISCO", "HUAWEI", "Hikvision", "SONY", "HONEYWELL", "BOSCH", "AXIS" ]; const stats = [ { number: "100+", label: "Projects Completed" }, { number: "99%", label: "Client Satisfaction" }, { number: "18+", label: "Years Experience" }, { number: "10+", label: "Certified Experts" } ]; const filteredGallery = activeFilter === 'all' ? galleryItems : galleryItems.filter(item => item.category === activeFilter); return (
{/* Navigation */} {/* Hero Section */}

Professional Security & Networking Solutions

We deliver cutting-edge security systems and networking infrastructure for businesses and homes, ensuring maximum protection and seamless connectivity.

{/* Services Section */}

Our Premium Services

We provide comprehensive, state-of-the-art security and networking solutions tailored to meet your specific requirements and exceed industry standards.

{services.map((service, index) => (
{service.icon}

{service.title}

{service.description}

{service.title}
))}
{/* Gallery Section */} {/* Team Section */}

Meet Our Leadership Team

Our team of certified professionals brings decades of combined experience to deliver exceptional security and networking solutions.

{/* Executive Leadership */}

Executive Leadership

{executives.map((executive, index) => (
{executive.name}

{executive.name}

{executive.title}

{executive.bio}

))}
{/* Expert Team */}

Our Expert Team

{teamMembers.map((member, index) => (
{member.name}

{member.name}

{member.title}

{member.bio}

))}
{/* About Section */}

About Global Network Solution

Founded in 2008, Global Network Solution has established itself as a premier provider of professional security and networking solutions for businesses and homeowners.

Our team of certified technicians and engineers is dedicated to delivering high-quality, customized solutions that meet the unique needs of each client. We combine cutting-edge technology with industry best practices to ensure maximum protection and reliability.

{/* Stats */}
{stats.map((stat, index) => (
{stat.number}
{stat.label}
))}
Professional Installation Team
15+
Years of Excellence
{/* Testimonials Section */}

Client Testimonials

Hear from businesses and homeowners who have trusted us with their security and networking needs.

"
"

{testimonials[currentTestimonial].text}

{testimonials[currentTestimonial].name}
{testimonials[currentTestimonial].name}
{testimonials[currentTestimonial].company}
{[...Array(5)].map((_, i) => ( ))}
{/* Testimonial Indicators */}
{testimonials.map((_, index) => (
{/* Partners Section */}

Trusted by Leading Brands Worldwide

{[...partners, ...partners, ...partners].map((partner, index) => (
{partner}
))}
{/* Contact Section */}

Get in Touch

Ready to enhance your security and networking infrastructure? Contact us today for a free consultation and customized quote.

{/* Contact Information */}

Contact Information

{[ { icon: "📍", title: "Address", content: "Office # 5, Main Chamber, Temple Road Opposite FIA Building, Lahore" }, { icon: "📞", title: "Phone", content: "+92 3228434578", subtitle: "24/7 Emergency Support" }, { icon: "✉️", title: "Email", content: "info@gnspak.com", subtitle: "support@gnspak.com" }, { icon: "🕒", title: "Working Hours", content: "Monday - Friday: 10:00 AM - 6:00 PM", subtitle: "Saturday: 10:00 AM - 4:00 PM | Emergency services available 24/7" } ].map((item, index) => (
{item.icon}

{item.title}

{item.content}

{item.subtitle &&

{item.subtitle}

}
))}
{/* Contact Form */}

Send us a Message

{/* Form Status Messages */} {formStatus === 'success' && (
Thank you for your message! We'll get back to you shortly.
)} {formStatus === 'error' && (
There was an error sending your message. Please try again later.
)}
{/* Footer */}
); }; export default App;