@extends('website_builder.agency_template.admin.layout') @section('title', 'Edit Counter / Stats Section - DesignAGENCY Admin') @section('content')

Edit Counter / Stats Section

Update statistical numbers, badges, labels, and icons displayed across all theme homepages and about pages.

Preview Live Website
@if(session('success')) @endif
@csrf
Manage Counter & Achievements

Add, edit or remove stat counters (e.g. 8+ Years of Experience, 120+ Projects Completed, 98% Satisfaction, 24/7 Support).

@php $rawStats = $agency->stats_data ?? null; if (is_string($rawStats)) { $dec = json_decode($rawStats, true); $rawStats = is_string($dec) ? json_decode($dec, true) : $dec; } $statsData = (is_array($rawStats) && count($rawStats) > 0) ? $rawStats : [ ['number' => '8+', 'label' => 'Years of Experience', 'icon' => 'fa-building-columns'], ['number' => '120+', 'label' => 'Projects Completed', 'icon' => 'fa-envelope'], ['number' => '98%', 'label' => 'Client Satisfaction', 'icon' => 'fa-circle-check'], ['number' => '24/7', 'label' => 'Support Available', 'icon' => 'fa-headset'], ]; @endphp
@foreach($statsData as $ci => $st)
Counter #{{ $loop->iteration }}
@endforeach
@endsection