"use client"; import Image from "next/image"; import Link from "next/link"; import { useAbout } from "@/lib/hooks/useAbout"; import { AboutService as AboutServiceType, AboutProcess } from "@/lib/api/aboutService"; import thumb from "@/public/images/service/two.png"; import thumbTwo from "@/public/images/service/three.png"; const AboutServiceComponent = () => { const { data, loading, error } = useAbout(); // Show loading state if (loading) { return (
Loading...

Loading service content...

); } // Show error state if (error) { return (

Error Loading Content

{error}

); } // Use API data or fallback to default content const serviceData = data?.service as AboutServiceType | undefined; const processData = data?.process as AboutProcess | undefined; return (
Enterprise Technology Solutions
{serviceData?.badge_text || "About Our Company"}

{serviceData?.title || "GNX Soft Ltd. - Software Excellence"}

{serviceData?.description || "Founded in 2020, GNX Soft Ltd. has emerged as a premier enterprise software company, delivering mission-critical software solutions across various industries. Our team of expert engineers, architects, and consultants specializes in custom software development, data replication, incident management, and comprehensive system integrations that drive digital transformation and business growth."}

{serviceData?.features && serviceData.features.length > 0 ? ( serviceData.features.map((feature, index) => (
{feature.title}

{feature.description}

)) ) : ( <>
Enterprise Security

Defense-Grade Protection

Cloud Native

AWS, Azure, GCP Partners

Certified Experts

Microsoft, AWS, Google Certified

Global Reach

Based in Bulgaria, Serving Worldwide

)}
{serviceData?.cta_text || "Explore Our Solutions"}
{processData?.badge_text || "Our Methodology"}

{processData?.title || "Enterprise Development Process"}

{processData?.description || "Our proven enterprise development methodology combines agile practices with enterprise-grade security, scalability, and compliance requirements. We follow industry best practices including DevOps, CI/CD, and microservices architecture to deliver robust, scalable solutions."}

{processData?.steps && processData.steps.length > 0 ? ( processData.steps.map((step, index) => (
{step.step_number}
{step.title}

{step.description}

)) ) : ( <>
01
Discovery & Planning

Comprehensive analysis and architecture design

02
Development & Testing

Agile development with continuous testing

03
Deployment & Integration

Seamless deployment and system integration

04
Support & Maintenance

24/7 enterprise support and maintenance

)}
{processData?.cta_text || "View Our Services"}
Enterprise Development Process
); }; export default AboutServiceComponent;