@php $canonical = config('plocal.public_url').$hub['canonical_path']; $description = 'Explore published PLOCAL city hubs and explicit evaluated-business Markets across '.$hub['state']['name'].'.'; $marketCount = collect($hub['locations'])->sum(fn (array $location): int => count($location['markets'])); @endphp @extends('layouts.public') @section('title', 'Find Evaluated Local Businesses Across '.$hub['state']['name'].' | PLOCAL') @section('description', $description) @section('robots', $hub['robots']) @section('canonical', $canonical) @section('image', config('plocal.public_url').'/assets/img/og-meta/plocal-usa-state.png') @section('body-class', 'plocal-service-market-page plocal-state-hub-page') @section('body-attributes')data-render-source="mysql" data-discovery-hub="state"@endsection @push('styles') @endpush @section('content') @include('public.partials.site-header')

PLOCAL / State Discovery Hub / Published

{{ $hub['state']['name'] }} Local Business Discovery

Explore published city hubs and only the service Markets PLOCAL has explicitly approved for publication.

@if ($hub['is_demo'])

Discovery foundation using fictional demo Market data.

@endif
Published geography / MySQL-backed

Published Cities in {{ $hub['state']['name'] }}

A city appears here only when its own hub is active and published.

@foreach ($hub['locations'] as $location)
{{ $hub['state']['code'] }} / Published City

{{ $location['name'] }}

{{ count($location['markets']) }} explicit published {{ Str::plural('Market', count($location['markets'])) }}

Explore {{ $location['name'] }}
@endforeach
Explicit publication / no inference

Published Service Markets

Location and Service records never create a link. Only an explicit PublishedMarket is shown.

@foreach ($hub['locations'] as $location) @if ($location['markets'] !== [])

{{ $location['name'] }}

@foreach ($location['markets'] as $market) @include('public.hubs.partials.market-link', ['market' => $market]) @endforeach
@endif @endforeach
@section('footer-note', 'PLOCAL publishes discovery links only from approved geography hubs and explicit Markets.') @include('public.partials.site-footer') @endsection