import re import os # Process the main service areas page with open('app/service-areas/page.tsx', 'r') as f: content = f.read() # Add ArrowRight import if missing if 'ArrowRight' not in content: content = content.replace('import Link from \'next/link\';', 'import Link from \'next/link\';\nimport { ArrowRight } from \'lucide-react\';') # Create a Services section for service areas services_section = ''' {/* Our Services Section */}

Our Vending Machine Services

Serving {state} with comprehensive vending machine solutions

Vending Machine Repairs

Expert repair and maintenance services for all vending machine types

Learn More

Vending Machine Parts

Quality replacement parts for all major vending machine brands

Shop Parts

Vending Machine Moving

Professional vending machine relocation services in {state}

Moving Services
''' # Insert before any existing section (look for first section) first_section_pattern = r'' if re.search(first_section_pattern, content): content = re.sub(first_section_pattern, services_section + '\n\n