<!doctype html>
<html lang="{{ app.request.locale }}">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta
name="viewport" content="width=device-width"/>
<!-- GOOGLE FONTS -->
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="/static/img/icons/favicon.ico">
{% apply spaceless %}
{# add global stylesheets and scripts outside of any blocsk to add them to the helpers before any others assets are added #}
{# we use the view helper to have cache buster functionality #}
{% do pimcore_head_link().appendStylesheet(asset('global.css')) %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-163580205-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-163580205-1');
</script>
{% if not document is defined or not document %}
{% set document = pimcore_document(1) %}
{% endif %}
{% if document is instanceof('\\Pimcore\\Model\\Document\\Link') %}
{# @var document \Pimcore\Model\Document\Link #}
{% set document = document.getObject() %}
{% endif %}
{% if document is instanceof('\\Pimcore\\Model\\Document\\Page') %}
{% if document.getTitle() is not empty %}
{% do pimcore_head_title().set(document.getTitle()) %}
{% endif %}
{% if document.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(document.getDescription()) %}
{% endif %}
{% do pimcore_head_title().append('Torq IT') %}
{% do pimcore_head_title().setSeparator(' | ') %}
{% endif %}
{% if (caseStudy is defined) and (caseStudy is instanceof('\\Pimcore\\Model\\DataObject\\CaseStudy')) %}
{% if caseStudy.getTitle() is not empty %}
{% do pimcore_head_title().set(caseStudy.getTitle()) %}
{% endif %}
{% if caseStudy.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(caseStudy.getDescription()) %}
{% endif %}
{% do pimcore_head_title().append('Torq IT') %}
{% do pimcore_head_title().setSeparator(' | ') %}
{% endif %}
{% if (blogPost is defined) and (blogPost is instanceof('\\Pimcore\\Model\\DataObject\\BlogPost')) %}
{% if blogPost.getTitle() is not empty %}
{% do pimcore_head_title().set(blogPost.getTitle()) %}
{% endif %}
{% if blogPost.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(blogPost.getDescription()) %}
{% endif %}
{% do pimcore_head_title().append('Torq IT') %}
{% do pimcore_head_title().setSeparator(' | ') %}
{% endif %}
{% if (torqService is defined) and (torqService is instanceof('\\Pimcore\\Model\\DataObject\\TorqService')) %}
{% if torqService.getTitle() is not empty %}
{% do pimcore_head_title().set(torqService.getTitle()) %}
{% endif %}
{% if torqService.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(torqService.getDescription()) %}
{% endif %}
{% do pimcore_head_title().append('Torq IT') %}
{% do pimcore_head_title().setSeparator(' | ') %}
{% endif %}
{% if (solution is defined) and (solution is instanceof('\\Pimcore\\Model\\DataObject\\Solution')) %}
{% if solution.getTitle() is not empty %}
{% do pimcore_head_title().set(solution.getTitle()) %}
{% endif %}
{% if solution.getDescription() is not empty %}
{% do pimcore_head_meta().setDescription(solution.getDescription()) %}
{% endif %}
{% do pimcore_head_title().append('Torq IT') %}
{% do pimcore_head_title().setSeparator(' | ') %}
{% endif %}
{% set isPortal = ((isPortal is defined) and isPortal) %}
{% endapply %}
{# we're using the deferred extension here to make sure this block is rendered after all helper calls #}
{% block layout_head_meta deferred %}
{{ pimcore_head_title() }}
{{ pimcore_head_meta() }}
{% endblock %}
{% block head_stylesheets deferred %}
{{ pimcore_head_link() }}
{% endblock %}
</head>
{% set pageClassId = ' page-id-' ~ document.getId() %}
{% set pageClassName = document.getTitle() ? ' ' ~ document.getTitle() | replace({' ' : '-'}) | lower %}
{% if caseStudy is defined %}
{% set caseStudyClassName = caseStudy.getTitle() ? ' case-study-' ~ caseStudy.getTitle() | replace({' ' : '-'}) | lower %}
{% endif %}
{% set altPageLayout = document.getProperty('alt_page_layout') ? ' alt-page-layout' : '' %}
<body class="{% if document.getId() == 1 %}home {% endif %}{{ pageClassName }}{% if caseStudy is defined %}{{ caseStudyClassName }}{% endif %}{{ pageClassId }}">
<a href="#main-content" class="skip-to-main-content">Skip to main content</a>
{{ include('layouts/includes/parts/mobile-menu.html.twig') }}
{{ include('layouts/includes/header.html.twig') }}
<div class="wrapper{{ altPageLayout }}">
<div class="content"{% if document.getProperty('alt_page_layout') %} style=background-color:var(--med-dark-bg) {% endif %}>
{% if caseStudy is defined %}
{% include 'content/includes/breadcrumbs.html.twig' with { 'breadcrumbs': app_navigation_get_breadcrumbs(caseStudy) } %}
{% elseif blogPost is defined %}
{% include 'content/includes/breadcrumbs.html.twig' with { 'breadcrumbs': app_navigation_get_breadcrumbs(blogPost) } %}
{% elseif torqService is defined %}
{% include 'content/includes/breadcrumbs.html.twig' with { 'breadcrumbs': app_navigation_get_breadcrumbs(torqService) } %}
{% elseif solution is defined %}
{% include 'content/includes/breadcrumbs.html.twig' with { 'breadcrumbs': app_navigation_get_breadcrumbs(solution) } %}
{% elseif document is defined and document.getId() != 1 and not document.getProperty('hide_breadcrumbs') %}
{% include 'content/includes/breadcrumbs.html.twig' with { 'breadcrumbs': app_navigation_get_breadcrumbs(document) } %}
{% endif %}
{% if blogPost is defined and not editmode %}
<div class="progress-container">
<div class="progress-bar" id="progressBar"></div>
</div>
{% endif %}
{% block body %}
<div id="main-content">
{{ pimcore_areablock("myAreablock", {
"allowed": ["splash"],
"limit": 1,
"controlsAlign": 'right'
}) }}
{{ pimcore_areablock("sectionAreaBlocks", {
"allowed": ["section"]
}) }}
{{ pimcore_areablock("footerFormBlock", {
"allowed": ["footer-form"],
"limit": 1
}) }}
</div>
{% endblock %}
</div>
{{ include('layouts/includes/footer.html.twig') }}
</div>
<!-- JQUERY -->
<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
<!-- RECAPTCHA -->
<script src="https://www.google.com/recaptcha/api.js"></script>
<!-- GOOGLE MAPS -->
<script>
(g=>{var h,a,k,p="The Google Maps JavaScript API",c="google",l="importLibrary",q="__ib__",m=document,b=window;b=b[c]||(b[c]={});var d=b.maps||(b.maps={}),r=new Set,e=new URLSearchParams,u=()=>h||(h=new Promise(async(f,n)=>{await (a=m.createElement("script"));e.set("libraries",[...r]+"");for(k in g)e.set(k.replace(/[A-Z]/g,t=>"_"+t[0].toLowerCase()),g[k]);e.set("callback",c+".maps."+q);a.src=`https://maps.${c}apis.com/maps/api/js?`+e;d[q]=f;a.onerror=()=>h=n(Error(p+" could not load."));a.nonce=m.querySelector("script[nonce]")?.nonce||"";m.head.append(a)}));d[l]?console.warn(p+" only loads once. Ignoring:",g):d[l]=(f,...n)=>r.add(f)&&u().then(()=>d[l](f,...n))})({
key: "AIzaSyAJ0nTL7Dl35XPWribB6nJqm3ItMfL5JoE",
v: "weekly",
// Use the 'v' parameter to indicate the version to use (weekly, beta, alpha, etc.).
// Add other bootstrap parameters as needed, using camel case.
});
</script>
<!-- JS SCRIPTS -->
<script type="text/javascript" src="{{ asset("global.js") }}"></script>
<!-- BLOG PROGRESS BAR -->
{% if blogPost is defined and not editmode %}
<script src="/static/js/frontend.js"></script>
{% endif %}
<!-- LIGHTBOX -->
{% if caseStudy is defined and caseStudy.getLightbox() %}
<script src="/static/js/fslightbox.js"></script>
{% endif %}
<!-- FONT AWESOME -->
<script src="https://use.fontawesome.com/6ccd600e51.js"></script>
<!-- ANIMATE ON SCROLL -->
<script>
torq.aos.init({
once: true,
});
</script>
<!-- MODAL -->
{{ include('layouts/includes/modal.html.twig') }}
</body>
</html>