@extends('frontend::layouts.master') @section('styles') @endsection @section('content') {{ $project['categories'][0]['name'] ?? '' }} {{ $project['name'] ?? '' }} {{ $project['name'] ?? '' }} {{ $project['desc'] ?? '' }} @if (!empty($project['location'])) {{ __('frontend::lang.project.location') }} {{ $project['location'] ?? '-' }} @endif @if (!empty($project['period'])) {{ __('frontend::lang.project.period') }} {{ $project['period'] ?? '-' }} @endif @if (!empty($project['budget'])) {{ __('frontend::lang.project.budget') }} {{ $project['budget'] ?? '-' }} @endif @if (!empty($project['year'])) {{ __('frontend::lang.project.year') }} {{ $project['year'] ?? '-' }} @endif @if (!empty($project['status_work'])) {{ __('frontend::lang.project.status') }} {{ __('frontend::lang.project.status_work_option.' . $project['status_work']) ?? '' }} @endif @if (!empty($project['detail'])) {{ __('frontend::lang.project.about_project') }} {!! $project['detail'] ?? '' !!} @endif @if (!empty($project['video'][0])) @foreach ($project['video'] as $v) @endforeach @endif @php $count = !empty($project['gallery']) ? count($project['gallery']) : 0; $i = 0; @endphp @if ($count > 0) @while ($i < 3) @if (!empty($project['gallery'][$i]['image'])) @endif @php $i++; @endphp @endwhile @if ($count > 3) @php $chk_class = [ 3 => ['col-md-7', 'gallery-item-col2-row1'], 4 => ['col-md-5', 'gallery-item-col2-row1'], 5 => ['col-md-12', 'gallery-item-col2-row2-full'], 6 => ['col-md-6', 'gallery-item-col2-row1'], 7 => ['col-md-6', 'gallery-item-col2-row1'], ]; @endphp @while ($i < $count) @if (!empty($project['gallery'][$i]['image'])) @endif @php $i++; @endphp @endwhile @endif @endif @endsection @section('scripts') @endsection
{{ $project['desc'] ?? '' }}
{{ $project['location'] ?? '-' }}
{{ $project['period'] ?? '-' }}
{{ $project['budget'] ?? '-' }}
{{ $project['year'] ?? '-' }}
{{ __('frontend::lang.project.status_work_option.' . $project['status_work']) ?? '' }}