@extends('frontend.layouts.app') @section('title', $title) @section('description', $description) @section('content') @php $assetPath = fn (string $path) => asset('frontend/' . ltrim($path, '/')); $serviceHighlights = $featuredServices->count() ? $featuredServices->take(2) : $services->getCollection()->take(2); $serviceIconClass = function (string $name): string { $key = \Illuminate\Support\Str::lower($name); return match (true) { str_contains($key, 'school') || str_contains($key, 'student') || str_contains($key, 'education') => 'fa-solid fa-graduation-cap', str_contains($key, 'pos') || str_contains($key, 'sales') || str_contains($key, 'retail') => 'fa-solid fa-cash-register', str_contains($key, 'erp') || str_contains($key, 'enterprise') || str_contains($key, 'company') => 'fa-solid fa-building-columns', str_contains($key, 'mobile') || str_contains($key, 'app') || str_contains($key, 'android') || str_contains($key, 'ios') => 'fa-solid fa-mobile-screen-button', str_contains($key, 'web') || str_contains($key, 'software') || str_contains($key, 'system') || str_contains($key, 'custom') => 'fa-solid fa-code', str_contains($key, 'automation') || str_contains($key, 'workflow') || str_contains($key, 'digital') => 'fa-solid fa-gears', str_contains($key, 'security') || str_contains($key, 'cyber') => 'fa-solid fa-shield-halved', str_contains($key, 'cloud') || str_contains($key, 'hosting') => 'fa-solid fa-cloud', str_contains($key, 'support') || str_contains($key, 'help') => 'fa-solid fa-headset', str_contains($key, 'data') || str_contains($key, 'analytics') || str_contains($key, 'report') => 'fa-solid fa-chart-line', default => 'fa-solid fa-microchip', }; }; @endphp @include('frontend.layouts.breadcrumb', ['title' => $pageServicesTitle ?? 'Services'])
0
active services
Explore MoreExplore More
@foreach($serviceHighlights as $service) @php $highlightIcon = $serviceIconClass($service->name); @endphp

{{ $service->name }}

{{ \Illuminate\Support\Str::limit(strip_tags($service->short_description ?: $service->description), 80) }}

@endforeach
{{ $pageServicesSubtitleLabel ?? 'Services' }}

{!! nl2br(e($pageServicesHeading ?? '')) !!}

@if(!empty($pageServicesIntro))

{{ $pageServicesIntro }}

@endif
@forelse($services as $service) @php $iconClass = $serviceIconClass($service->name . ' ' . optional($service->category)->name); @endphp

{{ $service->name }}

{{ \Illuminate\Support\Str::limit(strip_tags($service->short_description ?: $service->description), 115) }}

EXPLORE MORE EXPLORE MORE
@empty

No services found

Services added from the admin side will appear here.

@endforelse
{{ $services->withQueryString()->links() }}
    @foreach(['Digital Marketing', 'Branding Solutions', 'Custom Website', 'Innovation Design', 'Cyber Security'] as $item)
  • {{ $item }}
  • @endforeach
@include('frontend.partials.service-template-extras') @include('frontend.partials.newsletter') @endsection