Initial commit

This commit is contained in:
isUnknown 2026-02-12 15:22:46 +01:00
commit 65e0da7e11
1397 changed files with 596542 additions and 0 deletions

View file

@ -0,0 +1,51 @@
<?php snippet('header') ?>
<?php
// $size = [' xs', ' lg'];
// $position = [' top', ' bottom'];
?>
<!-- UPDATE - data-grid should be $gridLayoutVariable -->
<div id="news" data-scroll="x" data-grid="[[5,5,5,5],[5,5,5,5],[5,5,5,5],[5,5,5,5]]">
<div class="inner-scroll">
<div class="grid">
<?php foreach ($page->medias()->toFiles() as $image): ?>
<?php if ($image): ?>
<?php
// $classes = $size[array_rand($size)];
// $classes .= $position[array_rand($position)];
?>
<div class="item <?= $image->orientation() ?>" style="width:<?= $image->width() ?>px; height:<?= $image->height() ?>px">
<?php if ($image->embedUrl()->isNotEmpty()): ?>
<?= $image->embedUrl()->embed([
'lazyvideo' => true,
'thumb' => $image->width(1000)->url()
])
?>
<?php else: ?>
<?php if ($image->pageLink()->isNotEmpty() && $pageLink = page($image->pageLink()->value())): ?>
<a href="<?= $pageLink->url() ?>" class="link-overlay"></a>
<?php elseif ($image->externalUrl()->isNotEmpty()): ?>
<a href="<?= $image->externalUrl() ?>" class="link-overlay"></a>
<?php endif ?>
<?php snippet('responsive-image', ['image' => $image]) ?>
<div class="caption"><!--
--><?php if ($image->subtitle()->isNotEmpty()): ?>
<div class="subtitle uppercase"><?= $image->subtitle()->html() ?></div>
<?php endif ?><!--
--><?php if ($image->date()): ?>
<div class="date uppercase"><?= $image->date('d.m.Y') ?></div>
<?php endif ?><!--
--><?php if ($image->caption()->isNotEmpty()): ?>
<div class="text"><?= $image->caption()->kt() ?></div>
<?php endif ?><!--
--></div>
<?php endif ?>
</div>
<?php endif ?>
<?php endforeach ?>
</div>
</div>
</div>
<?php snippet('footer') ?>

9
site/templates/about.php Normal file
View file

@ -0,0 +1,9 @@
<?php snippet('header') ?>
<div id="page-text">
<div class="row"><?php snippet('about') ?></div>
</div>
<?php snippet('footer') ?>

121
site/templates/artist.php Normal file
View file

@ -0,0 +1,121 @@
<?php snippet('header') ?>
<a id="infos-btn-mobile" class="uppercase link-hover white" event-target="panel"><?= t('infos-btn') ?></a>
<div id="artist-medias" data-scroll="x">
<div class="inner-scroll">
<?php foreach ($medias->toFiles() as $image): ?>
<?php snippet('artist-image', ['image' => $image]) ?>
<?php endforeach ?>
</div>
<a id="infos-btn" class="uppercase link-hover white" event-target="panel"><?= t('infos-btn') ?></a>
<div id="player"
class="uppercase"
data-songs="<?= $songs ?>">
<div id="song-infos">
<span amplitude-song-info="song_title" amplitude-main-song-info="true"></span>
</div>
<div id="controls">
<span class="amplitude-stop link-hover white">STOP</span>&nbsp;|&nbsp;<span id="play-pause" class="amplitude-play-pause link-hover white" amplitude-main-play-pause="true"></span>&nbsp;|&nbsp;<span class="amplitude-current-time" amplitude-main-current-time="true"></span>&nbsp;|&nbsp;<span class="amplitude-prev link-hover white">PREV</span>&nbsp;|&nbsp;<span class="amplitude-next link-hover white">NEXT</span>
</div>
<!-- <div id="progress-container">
<input type="range" amplitude-main-song-slider="true" class="amplitude-song-slider">
</div> -->
</div>
</div>
<div id="artist-panel" data-scrollmobile="y">
<div class="inner-scroll">
<div id="artist-infos" data-scroll="y">
<div class="inner-scroll">
<div class="row uppercase" id="artist-title"><?= $page->title()->html() ?></div>
<div class="row">
<div id="artist-description"><?= $page->text()->kt() ?></div>
<div id="artist-links">
<?php if ($page->socials()->isNotEmpty()): ?>
<div class="row uppercase">
<div><?= t('follow') ?></div>
<div>
<?php foreach ($page->socials()->toStructure() as $key => $item): ?>
<a class="uppercase link-hover black" href="<?= $item->url() ?>"><?= $item->title()->html() ?></a>
<?php endforeach ?>
</div>
</div>
<?php endif ?>
<?php if ($page->listen()->isNotEmpty()): ?>
<div class="row uppercase">
<div><?= t('listen') ?></div>
<div>
<?php foreach ($page->listen()->toStructure() as $key => $item): ?>
<a class="uppercase link-hover black" href="<?= $item->url() ?>"><?= $item->title()->html() ?></a>
<?php endforeach ?>
</div>
</div>
<?php endif ?>
<?php if ($page->dates()->isNotEmpty()): ?>
<div class="row uppercase">
<div><?= t('dates') ?></div>
<div><?= $page->dates()->kt() ?></div>
</div>
<?php endif ?>
</div>
</div>
</div>
</div>
<div id="artist-releases" data-scroll="x">
<div class="inner-scroll">
<?php foreach ($releases as $key => $release): ?>
<?php $productLink = page($release->productLink()) ?>
<div class="release">
<?php if ($productLink): ?>
<a href="<?= $site->index()->filterBy('intendedTemplate', 'shop')->first()->url().'?product='.$productLink->id() ?>" data-href="<?= $productLink->url() ?>">
<?php endif ?>
<?php snippet('responsive-image', ['image' => $release->featured()->toFile()]) ?>
<?php if ($productLink): ?>
</a>
<?php endif ?>
<div class="release-infos">
<div class="release-title uppercase">
<span><?= $release->parent()->title()->html() ?></span>&nbsp;—&nbsp;<span><?= $release->title()->html() ?></span>
</div>
<div class="release-year"><?= $release->date()->toDate('d/m/Y') ?></div>
<?php if ($release->tracklist()->isNotEmpty() && $playlist = $release->tracklist()->toStructure()): ?>
<div class="release-playlist">
<div class="tracklist">
<?php $idx = 0 ?>
<?php foreach ($playlist as $key => $track): ?>
<?php if ($track->url()->isNotEmpty() || $track->file()->toFile()): ?>
<?php $idx++ ?>
<?php endif ?>
<?php snippet("track", array("track" => $track, "key" => $idx)) ?>
<?php endforeach ?>
</div>
</div>
<?php endif ?>
<?php if ($productLink): ?>
<?php if ($productLink->shopifyID()->isNotEmpty()): ?>
<div class="buy uppercase mt1 row">
<div id="product-component-<?= $productLink->shopifyID() ?>" class="row" data-shop="<?= $productLink->shopifyID() ?>"></div>
</div>
<?php endif ?>
<?php endif ?>
</div>
</div>
<?php endforeach ?>
</div>
</div>
<a id="panel-close" class="uppercase link-hover black" event-target="panel"><?= t('close') ?></a>
</div>
</div>
<?php snippet('footer') ?>

View file

@ -0,0 +1 @@
<?php go($site->url()) ?>

View file

@ -0,0 +1,9 @@
<?php snippet('header') ?>
<?php if ($page->text()->isNotEmpty()): ?>
<div id="page-text">
<?= $page->text()->kt() ?>
</div>
<?php endif ?>
<?php snippet('footer') ?>

34
site/templates/news.php Normal file
View file

@ -0,0 +1,34 @@
<?php snippet('header') ?>
<?php
// $size = [' xs', ' lg'];
// $position = [' top', ' bottom'];
?>
<!-- UPDATE - data-grid should be $gridLayoutVariable -->
<div id="news">
<?php foreach ($page->medias()->toFiles() as $image): ?>
<?php if ($image): ?>
<?php
$displayWidth = $image->displayWidth()->isNotEmpty() ? $image->displayWidth() : 50;
?>
<div class="item" style="width: <?= $displayWidth ?>vw">
<?php if ($image->pageLink()->isNotEmpty() && $pageLink = page($image->pageLink()->value())): ?>
<a href="<?= $pageLink->url() ?>" class="link-overlay" style="width: <?= $displayWidth ?>vw"></a>
<?php elseif ($image->stream()->isNotEmpty()): ?>
<a href="<?= $image->stream() ?>" class="link-overlay" style="width: <?= $displayWidth ?>vw"></a>
<?php endif ?>
<?php snippet('responsive-image', ['image' => $image]) ?>
<div class="caption" style="width: <?= $displayWidth ?>vw"><!----><?php if ($image->subtitle()->isNotEmpty()): ?>
<div class="subtitle uppercase"><?= $image->subtitle()->html() ?></div>
<?php endif ?><!----><?php if ($image->date()): ?>
<div class="date uppercase"><?= $image->date('d.m.Y') ?></div>
<?php endif ?><!----><?php if ($image->caption()->isNotEmpty()): ?>
<div class="text"><?= $image->caption()->kt() ?></div>
<?php endif ?><!----></div>
</div>
<?php endif ?>
<?php endforeach ?>
</div>
<?php snippet('footer') ?>

40
site/templates/press.php Normal file
View file

@ -0,0 +1,40 @@
<?php snippet('header') ?>
<div id="press-header" class="uppercase">
<a href="<?= page('press')->url() ?>">Private Press Area</a>
<a href="<?= $site->url() ?>"><?= $site->title()->html() ?></a>
<a href="<?= $site->url() ?>"><?= t('back') ?></a>
</div>
<?php snippet('tree1') ?>
<div id="page-files">
<!-- <div class="breadcrumb uppercase">
<?php foreach($site->breadcrumb() as $crumb): ?>
<?php if ($crumb->url() != $site->url()): ?>
<a href="<?= $crumb->url() ?>"><?= html($crumb->title()) ?></a>
<?php endif ?>
<?php endforeach ?>
</div>
<br>
<br> -->
<?php if ($page->hasFiles()): ?>
<!-- <div class="uppercase"><?= t('files') ?></div>
<br> -->
<?php snippet('zipdl_form_btn', ['page' => $page]) ?>
<br>
<?php foreach ($page->files() as $key => $f): ?>
<?php if ($f->type() == 'image'): ?>
<a class="row mb1 link-hover white" href="<?= $f->url() ?>" download><?= $f->width(200) ?><br><?= $f->filename() ?></a>
<?php else: ?>
<a class="row mb1 link-hover white" href="<?= $f->url() ?>"<?php e($f->type() != 'document', ' download') ?>><?= $f->filename() ?></a>
<?php endif ?>
<?php endforeach ?>
<?php elseif($page->uid() != 'press'): ?>
<div class="uppercase"><?= t('files.empty') ?></div>
<?php endif ?>
</div>
<?php snippet('footer') ?>

View file

@ -0,0 +1 @@
<?php go($page->parent()->url()) ?>

View file

@ -0,0 +1 @@
<?php require('shop.php') ?>

11
site/templates/shop.php Normal file
View file

@ -0,0 +1,11 @@
<?php snippet('header') ?>
<div id="shop" data-scroll="x">
<div class="inner-scroll">
<?php foreach ($products as $key => $product): ?>
<?php snippet('shop.product', ['product' => $product, 'noMobileScroll' => count($products) == 1]) ?>
<?php endforeach ?>
</div>
</div>
<?php snippet('footer') ?>

View file

@ -0,0 +1 @@
<?php require('shop.php') ?>