{% extends 'base.html.twig' %}
{% block stylesheets %}
{{ parent() }}
<link href="{{ asset('/css/realisation.css') ~ '?' ~ version() }}" rel="stylesheet">
<link href="{{ asset('/css/index.css') ~ '?' ~ version() }}" rel="stylesheet">
<link href="{{ asset('/css/section-title.css') ~ '?' ~ version() }}" rel="stylesheet">
<link href="{{ asset('/css/lightbox.css') ~ '?' ~ version() }}" rel="stylesheet">
<link href="{{ asset('/css/breadcrumbs.css') ~ '?' ~ version() }}" rel="stylesheet">
<link href="{{ asset('/css/rwd.css') ~ '?' ~ version() }}" rel="stylesheet">
{% endblock %}
{% block title %}Realizacja wnętrza - {{ parent() }}{% endblock %}
{% block body %}
<main>
<div class="container-fluid no-padding-lr">
{% include 'partials/_header.html.twig' %}
<div class="container-xl container-xl-md">
<div class="container-m">
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="{{ url('index') }}">Strona główna</a></li>
<li class="breadcrumb-item"><a href="{{ url('portfolio') }}">Portfolio</a></li>
<li class="breadcrumb-item active" aria-current="page">{{ record.title }}</li>
</ol>
</nav>
</div>
<div class="realisation-section">
<h1>{{ record.title }}</h1>
<div class="realisation-description">
{{ record.description | raw }}
</div>
</div>
<div id="lightboxModal" class="modal">
<span class="close cursor" onclick="closeModal()">×</span>
<div class="lightbox-modal">
<div class="lightbox-slide">
</div>
</div>
</div>
<div class="rest-realisations flex">
<a class="button-link" href="{{ url('portfolio') }}"><span>pozostałe realizacje</span></a>
</div>
</div>
</div>
{{ include('partials/_do-you-like.html.twig') }}
{{ include('partials/_footer.html.twig') }}
</main>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script type="text/javascript" src="{{ asset('js/lightbox.js') }}"></script>
<script type="text/javascript">
lightbox('.realisation-description', '#lightboxModal');
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Article",
"headline": "{{ record.title }}",
"description": "{{ record.description | striptags | u.truncate(120, '...', false) }}",
{% if record.image_filename is not null %}
"image": "{{ static_dir ~ '/thumbs' ~ record.thumb_filename }}",
{% endif %}
"author": {
"@type": "Person",
"name": "Rafał Szłyk"
},
"datePublished": "{{ record.created_at }}"{% if record.updated_at is empty %},
"dateModified": "{{ record.updated_at }}"
{% endif %}
}
</script>
{% endblock %}