@extends('layouts.site') @section('content') @if ($preview)
Preview. This page is not published.
@endif

Work

{{ $case->title }}

Client
{{ $case->client_name }}
@if ($case->industry)
Industry
{{ $case->industry }}
@endif @if ($case->timeline)
Timeline
{{ $case->timeline }}
@endif
@foreach (['challenge' => 'The challenge', 'solution' => 'What we built', 'technology' => 'Technology'] as $field => $title) @if ($case->$field)

{{ $title }}

{{ $case->$field }}

@endif @endforeach
@endsection