File: D:/HostingSpaces/SBogers10/zuiderbos.komma.pro/app/storage/views/91fd91d6718899d0a418a6e7da1b974a
<?php $__env->startSection('editable_content'); ?>
<div class="image-wrapper">
<?php echo $__env->make('layouts.partials.navigation', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<?php if(isset($page->content)): ?>
<div class="content-placeholder">
<?php /* Make extra block for the creative backgrounds in this design :p */ ?>
<div class="background"></div>
<div class="grey-block"></div>
<div class="grid-row">
<span class="right-icon styling"></span>
<?php /* Impression block */ ?>
<div class="page-impression grid-col">
<?php /* Quote */ ?>
<div class="quote">
<p>‘<?php echo $page->content->translation->name; ?>’</p>
</div>
<?php /* Maps */ ?>
<div id="map" <?php if(starts_with($page->code_name, 'so')): ?> data-marker-type="so"
<?php elseif(starts_with($page->code_name, 'vso')): ?> data-marker-type="vso"
<?php else: ?> data-marker-type="default"
<?php endif; ?>
<?php if(!in_array($page->root->code_name, ['services','jobs','foundation'])): ?>
data-googlex="<?php echo \Config::get('business.schools.'.$page->root->code_name.'.googlex'); ?>"
data-googley="<?php echo \Config::get('business.schools.'.$page->root->code_name.'.googley'); ?>"
<?php else: ?>
data-googlex="<?php echo \Config::get('business.schools.so-vught.googlex'); ?>"
data-googley="<?php echo \Config::get('business.schools.so-vught.googley'); ?>"
<?php endif; ?>
></div>
<span class="left-icon styling"></span>
</div>
<?php /* Main content block */ ?>
<div class="grid-col main">
<?php /* Loaded content */ ?>
<div class="content">
<h1><?php echo $page->translation->name; ?></h1>
<div class="content-divider">
<div class="contact-info">
<p>
<strong><?php echo \Illuminate\Support\Facades\Lang::get('translations.postbus'); ?></strong><br/>
<?php echo \Config::get('business.post_address'); ?><br/>
<?php echo \Config::get('business.post_zip'); ?> <?php echo \Config::get('business.post_city'); ?>
<br/>
<br/>
<strong><?php echo KommaLang::get('contactInfo'); ?></strong><br/>
<?php if(!in_array($page->root->code_name, ['services','jobs','foundation','academy'])): ?>
<?php echo \Config::get('business.schools.'.$page->root->code_name.'.address'); ?><br/>
<?php echo \Config::get('business.schools.'.$page->root->code_name.'.zip'); ?> <?php echo \Config::get('business.schools.'.$page->root->code_name.'.city'); ?>
<br/>
<br/>
<a href="tel:<?php echo \Config::get('business.schools.'.$page->root->code_name.'.phone_call'); ?>"><?php echo \Config::get('business.schools.'.$page->root->code_name.'.phone_display'); ?></a><br/>
<a href="mailto:<?php echo \Config::get('business.schools.'.$page->root->code_name.'.email'); ?>"><?php echo \Config::get('business.schools.'.$page->root->code_name.'.email'); ?></a>
<?php else: ?>
<?php echo \Config::get('business.schools.so-vught.address'); ?><br/>
<?php echo \Config::get('business.schools.so-vught.zip'); ?> <?php echo \Config::get('business.schools.so-vught.city'); ?>
<?php endif; ?>
</p>
</div>
<?php if ( ! (in_array($page->root->code_name,[ 'services', 'jobs', 'foundation', 'academy']) )): ?>
<div class="faq">
<p>
<strong><?php echo $links->{$page->school->type.'-faq'}->name; ?></strong><br/>
<?php echo KommaLang::get('contactFaq'); ?>
</p>
<a class="button" href="/<?php echo $links->{$page->school->type.'-faq'}->route; ?>">
<?php echo $links->{$page->school->type.'-faq'}->name; ?>
</a>
</div>
<?php endif; ?>
</div>
</div>
<?php /* Location description */ ?>
<?php if(isset($page->content->translation->description['contact_route'])): ?>
<div class="location-description">
<?php echo $page->content->translation->description['contact_route']->description; ?>
</div>
<?php endif; ?>
<?php /* Form */ ?>
<?php echo $__env->make('forms.contact', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
</div>
</div>
</div>
<?php else: ?>
<p><?php echo $page->code_name; ?></p>
<?php endif; ?>
</div>
<?php $__env->stopSection(); ?>
<?php $__env->startSection('extra-js'); ?>
<script type="text/javascript" src="/js/contact.js"></script>
<script type="text/javascript" src="/js/googleMaps.js"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAr_5PdhCcx8O5yJlofJ_kSSjoPW2Fpnfc&callback=initMap"
type="text/javascript"></script>
<script>
$(function () {
resizeMyPage();
$(window).resize(
$.throttle(100, resizeMyPage)
);
});
function resizeMyPage() {
// Main content must be at least 200px higher then the impression block
$('.content-placeholder .main').css('min-height', $('.contact .page-impression').height() + 200);
// Resizing for the grey block on (default)pages
var greyHeight = $('.content-placeholder .main').height() - $('.contact .page-impression').height() + 100;
var greyWidth = ($('.content-placeholder').width() - $('.contact .content-placeholder>.grid-row').width()) / 2 + $('.contact .page-impression').width();
$('.grey-block').height(greyHeight).width(greyWidth);
}
</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.master', ['view' => 'contact'], array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>