@extends('website_builder.agency_template.admin.layout') @section('title', 'Edit Services Page - User Dashboard Admin') @section('content')

Edit Services Page

Update services hero banner, title, subtitle, and perform CRUD operations on services grid cards.

Preview Live Services Page
@if(session('success')) @endif @php $activeTheme = $agency->template_type ?? session('demo_template', 'digital_agency'); $themeDefs = \App\Models\WebsiteBuilder\WbAgencySetting::editableSectionDefaults($activeTheme); @endphp
@csrf
Services Hero Banner Section
Services List CRUD Manager

Add, edit service titles, descriptions, icons, and upload service cover images.

@php $rawServices = $agency->services_data ?? null; if (is_string($rawServices)) { $dec = json_decode($rawServices, true); $rawServices = is_string($dec) ? json_decode($dec, true) : $dec; } $servicesData = (is_array($rawServices) && count($rawServices) > 0) ? $rawServices : [ ['title' => 'Web Design & Development', 'desc' => 'Custom responsive websites engineered for high speed, conversion, and brand growth.', 'icon' => 'fa-laptop-code', 'image' => 'assets/website_builder/wb_card_agency.png'], ['title' => 'UI/UX Mobile App Design', 'desc' => 'User-centric mobile app designs with intuitive UX journeys and sleek modern UI aesthetics.', 'icon' => 'fa-mobile-screen-button', 'image' => 'assets/website_builder/wb_card_startup.png'], ['title' => 'Brand Identity & Strategy', 'desc' => 'Cohesive brand identity, logo design, style guides, and positioning strategy for startups.', 'icon' => 'fa-bullhorn', 'image' => 'assets/website_builder/wb_card_portfolio.png'], ]; @endphp
@foreach($servicesData as $si => $srv)
Service #{{ $loop->iteration }}
@if(!empty($srv['image']))
Preview:
@endif
@endforeach
@endsection