66 lines
2.2 KiB
PHP
66 lines
2.2 KiB
PHP
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div id="about-panel">
|
||
|
|
<div class="about-close uppercase link-hover black" event-target="about-panel"><?= t('close') ?></div>
|
||
|
|
<div data-scroll="y" data-scrollmobile="y">
|
||
|
|
<div class="inner-scroll"><?php snippet('about') ?></div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div id="artists-preview">
|
||
|
|
<?php foreach ($artists as $key => $artist): ?>
|
||
|
|
<?php if ($artist->hero()->isNotEmpty()): ?>
|
||
|
|
<div class="artist-preview" data-id="<?= $artist->uid() ?>"><?php snippet('responsive-image', ['image' => $artist->hero()->toFile(), 'preload' => true]) ?></div>
|
||
|
|
<?php elseif ($artist->featured()->isNotEmpty()): ?>
|
||
|
|
<div class="artist-preview" data-id="<?= $artist->uid() ?>"><?php snippet('responsive-image', ['image' => $artist->featured()->toFile(), 'preload' => true]) ?></div>
|
||
|
|
<?php endif ?>
|
||
|
|
<?php endforeach ?>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div id="outdated">
|
||
|
|
<div class="inner">
|
||
|
|
<p class="browserupgrade">You are using an <strong>outdated</strong> browser.
|
||
|
|
<br>Please <a href="http://outdatedbrowser.com" target="_blank">upgrade your browser</a> to improve your experience.</p>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
|
||
|
|
<?php if($site->googleanalytics()->isNotEmpty()): ?>
|
||
|
|
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||
|
|
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-115150448-2"></script>
|
||
|
|
<script>
|
||
|
|
window.dataLayer = window.dataLayer || [];
|
||
|
|
function gtag(){dataLayer.push(arguments);}
|
||
|
|
gtag('js', new Date());
|
||
|
|
|
||
|
|
gtag('config', '<?= $site->googleanalytics() ?>');
|
||
|
|
</script>
|
||
|
|
<?php endif ?>
|
||
|
|
<!--========== VIDEO RESPONSIVE PATCH ==========-->
|
||
|
|
<script>
|
||
|
|
document.querySelectorAll('.video-player').forEach(video => {
|
||
|
|
const source = document.createElement('source')
|
||
|
|
source.setAttribute('type', 'video/mp4')
|
||
|
|
|
||
|
|
if (window.innerWidth > 2500 && video.dataset.monitor.length > 0) {
|
||
|
|
source.setAttribute('src', video.dataset.monitor)
|
||
|
|
} else if (window.innerWidth < 1000 && video.dataset.mobile.length > 0) {
|
||
|
|
source.setAttribute('src', video.dataset.mobile)
|
||
|
|
} else {
|
||
|
|
source.setAttribute('src', video.dataset.laptop)
|
||
|
|
}
|
||
|
|
video.appendChild(source)
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
<?= js('assets/js/build/app.min.js'); ?>
|
||
|
|
<?php snippet('front-comments') ?>
|
||
|
|
</body>
|
||
|
|
</html>
|