import type { LucideIcon } from "lucide-react" import { Code, Server, Network, Database, Cloud, Shield, Smartphone, Globe, Zap, Settings, Monitor, Cpu, } from "lucide-react" export interface ServiceConfig { id: string name: string description: string url: string icon: LucideIcon color: string gradient: string category: string } export const servicesConfig: ServiceConfig[] = [ { id: "web-development", name: "Web程序开发", description: "前端和后端Web应用程序开发,包括网站建设和API接口开发。", url: "/services/web-development", icon: Code, color: "#3b82f6", gradient: "from-blue-400 to-cyan-500", category: "开发服务", }, { id: "server-computing", name: "服务器后端计算", description: "服务器架构设计、数据库管理和后端服务开发。", url: "/services/server-computing", icon: Server, color: "#8b5cf6", gradient: "from-purple-400 to-indigo-500", category: "基础设施", }, { id: "network-architecture", name: "网络架构搭建", description: "网络基础设施规划、配置和系统集成。", url: "/services/network-architecture", icon: Network, color: "#ec4899", gradient: "from-pink-400 to-rose-500", category: "网络服务", }, { id: "database-management", name: "数据库管理", description: "数据库设计、优化和维护服务。", url: "/services/database-management", icon: Database, color: "#10b981", gradient: "from-emerald-400 to-teal-500", category: "数据服务", }, { id: "cloud-solutions", name: "云计算解决方案", description: "云服务部署、迁移和管理。", url: "/services/cloud-solutions", icon: Cloud, color: "#06b6d4", gradient: "from-cyan-400 to-blue-500", category: "云服务", }, { id: "security-services", name: "网络安全服务", description: "安全评估、配置和监控服务。", url: "/services/security-services", icon: Shield, color: "#f59e0b", gradient: "from-amber-400 to-orange-500", category: "安全服务", }, { id: "mobile-development", name: "移动应用开发", description: "iOS和Android应用程序开发。", url: "/services/mobile-development", icon: Smartphone, color: "#8b5cf6", gradient: "from-violet-400 to-purple-500", category: "开发服务", }, { id: "api-development", name: "API接口开发", description: "RESTful API和GraphQL接口开发。", url: "/services/api-development", icon: Globe, color: "#ef4444", gradient: "from-red-400 to-pink-500", category: "开发服务", }, { id: "performance-optimization", name: "性能优化服务", description: "系统性能分析和优化。", url: "/services/performance-optimization", icon: Zap, color: "#eab308", gradient: "from-yellow-400 to-amber-500", category: "优化服务", }, { id: "system-integration", name: "系统集成服务", description: "系统集成和第三方服务对接。", url: "/services/system-integration", icon: Settings, color: "#6366f1", gradient: "from-indigo-400 to-blue-500", category: "集成服务", }, { id: "monitoring-services", name: "监控运维服务", description: "系统监控、维护和故障处理。", url: "/services/monitoring-services", icon: Monitor, color: "#059669", gradient: "from-green-400 to-emerald-500", category: "运维服务", }, { id: "ai-solutions", name: "AI智能解决方案", description: "人工智能和机器学习应用开发。", url: "/services/ai-solutions", icon: Cpu, color: "#7c3aed", gradient: "from-purple-500 to-indigo-600", category: "AI服务", }, ] // 按类别分组服务 export const getServicesByCategory = () => { const categories: { [key: string]: ServiceConfig[] } = {} servicesConfig.forEach((service) => { if (!categories[service.category]) { categories[service.category] = [] } categories[service.category].push(service) }) return categories } // 获取单个服务 export const getServiceById = (id: string) => { return servicesConfig.find((service) => service.id === id) }