Fixed home slideshow + new version page infos
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
All checks were successful
Deploy / Deploy to Production (push) Successful in 7s
This commit is contained in:
parent
9a615bd92d
commit
6bfd9ae262
22 changed files with 755 additions and 603 deletions
|
|
@ -4,12 +4,21 @@
|
|||
|
||||
<div id="home-slideshow">
|
||||
|
||||
<button class="prev"></button>
|
||||
<button class="next"></button>
|
||||
|
||||
<?php foreach ($slides as $slide): ?>
|
||||
<?php if ($slide['pair']): ?>
|
||||
<div class="slide portrait-pair">
|
||||
<div class="slide portrait-pair desktop-only">
|
||||
<?php snippet('picture', ['file' => $slide['a'], 'srcsetName' => 'home-slideshow', 'sizes' => '50vw', 'lazy' => false]) ?>
|
||||
<?php snippet('picture', ['file' => $slide['b'], 'srcsetName' => 'home-slideshow', 'sizes' => '50vw', 'lazy' => false]) ?>
|
||||
</div>
|
||||
<div class="slide mobile-only">
|
||||
<?php snippet('picture', ['file' => $slide['a'], 'srcsetName' => 'home-slideshow', 'sizes' => '100vw', 'lazy' => false]) ?>
|
||||
</div>
|
||||
<div class="slide mobile-only">
|
||||
<?php snippet('picture', ['file' => $slide['b'], 'srcsetName' => 'home-slideshow', 'sizes' => '100vw', 'lazy' => false]) ?>
|
||||
</div>
|
||||
<?php elseif ($slide['file']->type() === 'video'): ?>
|
||||
<div class="slide">
|
||||
<video autoplay muted loop playsinline data-id="<?= $slide['file']->uuid() ?>">
|
||||
|
|
@ -23,10 +32,9 @@
|
|||
<?php endif ?>
|
||||
<?php endforeach ?>
|
||||
|
||||
<button class="prev"></button>
|
||||
<button class="next"></button>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="/assets/js/home-slideshow.js"></script>
|
||||
<script src="/assets/js/mobile-menu-toggle.js"></script>
|
||||
<?php snippet('footer') ?>
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="project-description"><?= $project->description() ?></div>
|
||||
<div class="project-description-mobile"><?= $project->descriptionMobile() ?></div>
|
||||
<button class="close-button closer"></button>
|
||||
</section>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -2,23 +2,37 @@
|
|||
|
||||
<?php snippet('mobile-menu') ?>
|
||||
|
||||
<div class="info-grid">
|
||||
|
||||
<section class="main-infos">
|
||||
<p>
|
||||
<?= $page->presentation() ?>
|
||||
</p>
|
||||
</section>
|
||||
<section class="secondary-infos">
|
||||
<div class="skills">
|
||||
<p>
|
||||
<?= $page->contact() ?><br>
|
||||
<?= $page->skills() ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="clients">
|
||||
<?= $page->clients() ?>
|
||||
</div>
|
||||
</section>
|
||||
<section class="main-infos">
|
||||
<div class="contact">
|
||||
<p>
|
||||
<?= $page->contact() ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="presentation">
|
||||
<p><?= $page->presentation()->html() ?></p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="secondary-infos">
|
||||
<div class="services">
|
||||
<h3>Services</h3>
|
||||
<p>
|
||||
<?= $page->services() ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="clients">
|
||||
<h3>Clients</h3>
|
||||
<?= $page->clients() ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="complementary-infos">
|
||||
<?= $page->complementaryInfos() ?>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="/assets/js/mobile-menu-toggle.js"></script>
|
||||
<?php snippet('footer') ?>
|
||||
13
site/templates/test.html
Normal file
13
site/templates/test.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
 
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue