@extends('public.layout') @section('title','Practice Areas — Noesantara Law Firm') @push('meta') @php $items = []; $i = 1; foreach ($areas as $a) { $items[] = [ '@type' => 'ListItem', 'position' => $i++, 'url' => url('/practice/'.$a->slug), 'item' => [ '@type' => 'Service', 'name' => $a->name, 'url' => url('/practice/'.$a->slug), 'description' => $a->excerpt ?: \Illuminate\Support\Str::limit(strip_tags($a->description ?? ''), 160), ], ]; } $itemList = [ '@context' => 'https://schema.org', '@type' => 'ItemList', 'name' => 'Practice Areas', 'itemListOrder' => 'https://schema.org/ItemListOrderAscending', 'numberOfItems' => count($items), 'itemListElement' => $items, ]; $breadcrumbs = [ '@context' => 'https://schema.org', '@type' => 'BreadcrumbList', 'itemListElement' => [ [ '@type' => 'ListItem', 'position' => 1, 'name' => 'Home', 'item' => url('/') ], [ '@type' => 'ListItem', 'position' => 2, 'name' => 'Practice', 'item' => url('/practice') ], ], ]; @endphp @endpush @section('content')

Practice Areas

@foreach($areas as $p) @endforeach
@endsection