<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "{{ study.title }}",
"author": {
"@type": "Organization",
"name": "{{ sitename }}"
},
"datePublished": "{{ study.createdAt|date('c') }}",
"dateModified": "{{ study.updatedAt|date('c') }}",
"image": {
"@type": "ImageObject",
"url": "{{ siteurl }}{{ imageCache('/' ~ study.getFullImage2Path, 'zoomCrop', 800, 600) }}",
"width": 800,
"height": 600
},
"about": {
"@type": "Project",
"name": "{{ study.projectName }}",
"startDate": "{{ study.projectStartDate|date('c') }}",
"location": {
"@type": "Place",
"name": "{{ study.projectLocation }}"
},
"description": "{{ study.kicker|raw|nl2br|striptags }}",
},
"articleBody": "{{ study.detailContent|html_entity_decode|replace({'\n': ' ', '\r': ' '})|striptags }}"
}
</script>
<div class="case-study-banner flex items-end pb-12 mb-12 text-white lazyBackgroundImage" data-mobile="{{ imageCache('/' ~ study.getFullImage5Path, 'zoomCrop', 1566, 822) }}" data-desktop="{{ imageCache('/' ~ study.getFullImage5Path, 'zoomCrop', 3200, 1680) }}">
<div class="container relative z-20">
<div class="row">
<div class="xl:col-4 lg:col-6">
<h1>{{ allowInlineEditor(study, 'title')|raw }}</h1>
</div>
</div>
<div class="row">
<div class="xl:col-6 lg:col-8 text-lg">
{{ allowInlineEditor(study, 'kicker')|raw }}
</div>
</div>
</div>
</div>
<section class="mb-12">
<div class="container">
<div class="row">
{% if study.image %}
<div class="md:col-4 mb-6 md:mb-0">
<img class="h-auto max-h-[60px] w-auto max-w-full mb-3" src="{{ imageCache('/'~ study.getFullImagePath, "cropResize", 200, 200) }}" height="100" width="100" alt="{{ study.clientName }}" loading="lazy" />
</div>
{% endif %}
{% if study.projectName %}
<div class="md:col-4 md:border-l md:border-dark md:pl-4 md:flex md:flex-col md:justify-center mb-6 md:mb-0">
<p class="text-sm mb-0 text-secondary"><strong>Project</strong></p>
<h3 class="capitalize text-dark mt-0 mb-0">{{ allowInlineEditor(study, 'projectName')|raw }}</h3>
</div>
{% endif %}
{% if study.projectType %}
<div class="md:col-4 md:border-l md:border-dark md:pl-4 md:flex md:flex-col md:justify-center">
<p class="text-sm mb-0 text-secondary"><strong>Project Type</strong></p>
<h3 class="capitalize text-dark mt-0 mb-0">{{ study.projectType }}</h3>
</div>
{% endif %}
</div>
</div>
</section>
{% if study.detailContent %}
<section class="mb-12">
<div class="container">
<div class="row">
<div class="md:col-6 mb-6 md:mb-0">
<img class="max-w-full h-auto" src="{{ imageCache('/' ~ study.getFullImage2Path, 'zoomCrop', 1140, 840) }}" alt="{{ study.detailSubtitle }}" loading="lazy" />
</div>
<div class="md:col-6 text-lg">
<p class="text-sm mb-0 uppercase text-secondary"><strong>The Detail</strong></p>
{% if study.detailSubtitle %}
<h2 class="text-3xl mt-0 mb-8">{{ allowInlineEditor(study, 'detailSubtitle')|raw }}</h2>
{% endif %}
{{ allowInlineEditor(study, 'detailContent')|raw }}
</div>
</div>
</div>
</section>
{% endif %}
{% if study.challengesContent %}
<section class="bg-primary text-white py-16 mb-12">
<div class="container">
<div class="row">
<div class="md:col-6 text-lg order-2 md:order-1">
<p class="text-sm mb-0 text-white uppercase"><strong>The Challenges</strong></p>
{% if study.challengesSubtitle %}
<h2 class="text-3xl mt-0 mb-8 text-white">{{ allowInlineEditor(study, 'challengesSubtitle')|raw }}</h2>
{% endif %}
{{ allowInlineEditor(study, 'challengesContent')|raw }}
</div>
<div class="md:col-6 order-1 md:order-2 mb-12 md:mb-0">
<img class="max-w-full h-auto" src="{{ imageCache('/' ~ study.getFullImage3Path, 'zoomCrop', 1140, 840) }}" alt="{{ study.challengesSubtitle }}" loading="lazy" />
</div>
</div>
</div>
</section>
{% endif %}
{% if study.solutionContent %}
<section class="mb-12">
<div class="container">
<div class="row">
<div class="md:col-6 mb-6 md:mb-0">
<img class="max-w-full h-auto" src="{{ imageCache('/' ~ study.getFullImage4Path, 'zoomCrop', 1140, 840) }}" alt="{{ study.solutionSubtitle }}" loading="lazy" />
</div>
<div class="md:col-6 text-lg">
<p class="text-sm mb-0 uppercase text-secondary"><strong>The Solution</strong></p>
{% if study.solutionSubtitle %}
<h2 class="text-3xl mt-0 mb-8">{{ allowInlineEditor(study, 'solutionSubtitle')|raw }}</h2>
{% endif %}
{{ allowInlineEditor(study, 'solutionContent')|raw }}
</div>
</div>
</div>
</section>
{% endif %}
{% if study.projectStartDate or study.projectDuration or study.projectBudget or study.projectLocation %}
<section class="bg-dark py-16 mb-12 text-white text-center">
<div class="container">
<div class="row">
{% if study.projectStartDate %}
<div class="md:col-3 sm:col-6 mb-12 md:mb-0">
<i class="fa-solid fa-calendar-days text-green text-5xl mb-6"></i>
<h5 class="uppercase text-white mb-0">{{ study.projectStartDate|date('M Y') }}</h5>
</div>
{% endif %}
{% if study.projectDuration %}
<div class="md:col-3 sm:col-6 mb-12 md:mb-0">
<i class="fa-solid fa-clock text-green text-5xl mb-6"></i>
<h5 class="uppercase text-white mb-0">{{ allowInlineEditor(study, 'projectDuration')|raw }}</h5>
</div>
{% endif %}
{% if study.projectBudget %}
<div class="md:col-3 sm:col-6 mb-12 sm:mb-0">
<i class="fa-solid fa-coin text-green text-5xl mb-6"></i>
<h5 class="uppercase text-white mb-0">{{ allowInlineEditor(study, 'projectBudget')|raw }}</h5>
</div>
{% endif %}
{% if study.projectLocation %}
<div class="md:col-3 sm:col-6">
<i class="fa-solid fa-location-crosshairs text-green text-5xl mb-6"></i>
<h5 class="uppercase text-white mb-0">{{ allowInlineEditor(study, 'projectLocation')|raw }}</h5>
</div>
{% endif %}
</div>
</div>
</section>
{% endif %}
{% if study.gallery and study.gallery.galleryImages|length > 0 %}
<div class="container mb-4">
<div class="row">
<div class="col-12 text-center">
<h3 class="text-green mb-8 mt-0">Project Gallery</h3>
{% if study.gallery.content %}
<div class="mb-12">
{{ allowInlineEditor(study.gallery, 'content')|raw }}
</div>
{% endif %}
</div>
</div>
<div class="row">
{% for image in study.gallery.galleryImages %}
{% if image.file %}
<div class="lg:col-6 mb-8">
<video class="w-full h-auto" src="{{ image.getFileUrl() }}" controls></video>
</div>
{% else %}
<div class="lg:col-6 mb-8">
<img class="max-w-full h-auto" src="{{ imageCache('/'~ image.getFullImagePath, 'zoomCrop', 1140, 640) }}" alt="{{ image.title }}" loading="lazy" />
</div>
{% endif %}
{% endfor %}
</div>
</div>
{% endif %}
{% if study.testimonial and study.testimonial.active and not study.testimonial.deleted %}
<section class="mb-12">
<div class="container">
<div class="row">
<div class="col-12">
<div class="w-full flex flex-col justify-center items-center text-center">
<h3 class="mb-8 mt-0 text-green">What the Client Said</h3>
<img class="h-auto max-h-[60px] w-auto max-w-full mb-3" src="{{ asset('/'~ study.getFullImagePath) }}" height="60" alt="{{ study.clientName }}" loading="lazy" />
<p class="text-xl font-light mb-2">{{ allowInlineEditor(study.testimonial, 'content')|raw }}</p>
<p class="text-sm font-bold mb-0 text-secondary">{{ allowInlineEditor(study.testimonial, 'attestant')|raw }}</p>
<p class="text-sm text-secondary">{{ allowInlineEditor(study.testimonial, 'jobTitle')|raw }}</p>
</div>
</div>
</div>
</div>
</section>
{% endif %}
<div class="bg-secondary mb-12 relative text-white py-7">
<div class="container">
{% if prev or next %}
<div class="row team-pagination">
{% if prev %}
<div class="{% if next %}col-6{% else %}col-12{% endif %}">
<a class="prev" href="{{ generatePath( app.request, prev.linkedPageId, {'caseStudy_slug' : prev.slug } ) }}">
Previous <span class="hidden md:inline-block">Case Study</span>
</a>
</div>
{% endif %}
{% if next %}
<div class="{% if prev %}col-6{% else %}col-12{% endif %} text-right">
<a class="next" href="{{ generatePath( app.request, next.linkedPageId, {'caseStudy_slug' : next.slug } ) }}">
Next <span class="hidden md:inline-block">Case Study</span>
</a>
</div>
{% endif %}
</div>
{% endif %}
</div>
</div>