@extends('theme.layouts.main') @section('title', $title ?? '') @section('description', $description ?? '') @section('entry') {!! FrontendAssets::renderEntry('work') !!} @stop @section('content') @php $galleryItemsQty = 0; $maxGalleryItemsInGrid = 11; foreach ($pageData['content']['common'] as $contentEntry) { if ($contentEntry['type'] === 'gallery') { $galleryItemsQty += count($contentEntry['content']); } } @endphp

{{ $pageData['title'] }}

@if (!empty($pageData['content']['specific']['square'])) {{ $pageData['content']['specific']['square'] }} м2
@endif @foreach ($pageData['content']['common'] as $contentEntry) @if ($contentEntry['type'] === 'html') {!! $contentEntry['content'] !!} @endif @endforeach
@stop