CSS > mobile (round 3)
All checks were successful
Deploy / Deploy to Production (push) Successful in 3s
All checks were successful
Deploy / Deploy to Production (push) Successful in 3s
This commit is contained in:
parent
7f36178a80
commit
52bed3e2c4
9 changed files with 379 additions and 70 deletions
|
|
@ -7,11 +7,6 @@
|
|||
<span>Hic et Nunc Studio</span>
|
||||
</a>
|
||||
</h1>
|
||||
<h1 class="title-nav-mobile">
|
||||
<a href="">
|
||||
<span>menu</span>
|
||||
</a>
|
||||
</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="nav-item-home" href="<?= page('home')->url() ?>"><?= page('home')->title() ?></a>,
|
||||
|
|
@ -23,4 +18,36 @@
|
|||
<a class="nav-item-about" href="<?= page('infos')->url() ?>"><?= page('infos')->title() ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<nav class="mobile-menu">
|
||||
|
||||
<button command="show-modal" commandfor="mobile-menu-content">
|
||||
<h1 class="title-nav">
|
||||
<span>Menu</span>
|
||||
</h1>
|
||||
</button>
|
||||
|
||||
<dialog id="mobile-menu-content" closedby="any">
|
||||
<h1 class="title-nav">
|
||||
<a href="<?= page('home')->url() ?>">
|
||||
<span>Hic et Nunc Studio</span>
|
||||
</a>
|
||||
</h1>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="nav-item-home" href="<?= page('home')->url() ?>"><?= page('home')->title() ?></a>,
|
||||
</li>
|
||||
<li>
|
||||
<a class="nav-item-projects" href="<?= page('index')->url() ?>"><?= page('index')->title() ?></a>,
|
||||
</li>
|
||||
<li>
|
||||
<a class="nav-item-about" href="<?= page('infos')->url() ?>"><?= page('infos')->title() ?></a>
|
||||
</li>
|
||||
</ul>
|
||||
<button commandfor="mobile-menu-content" command="close" class="close-mobile-menu">
|
||||
Fermer
|
||||
</button>
|
||||
</dialog>
|
||||
|
||||
</nav>
|
||||
|
|
@ -1,24 +1,20 @@
|
|||
<?php snippet('header') ?>
|
||||
|
||||
<div class="main-infos">
|
||||
<section class="main-infos">
|
||||
<p>
|
||||
<?= $page->presentation() ?>
|
||||
<br>
|
||||
<?= $page->contact() ?>
|
||||
<?= $page->presentation() ?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="skills">
|
||||
<p>
|
||||
<?= $page->skills() ?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="clients">
|
||||
<p class="clients">
|
||||
<?= $page->clients() ?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
<section class="secondary-infos">
|
||||
<div class="skills">
|
||||
<p>
|
||||
<?= $page->contact() ?><br>
|
||||
<?= $page->skills() ?>
|
||||
</p>
|
||||
</div>
|
||||
<div class="clients">
|
||||
<?= $page->clients() ?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<?php snippet('footer') ?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue