clean
This commit is contained in:
parent
d4be54dfe2
commit
1dd4060314
14 changed files with 151 additions and 148 deletions
4
site/snippets/footer.php
Normal file
4
site/snippets/footer.php
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,3 +1,13 @@
|
|||
<header>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<link rel="stylesheet" href="/assets/css/style.css">
|
||||
</header>
|
||||
</head>
|
||||
|
||||
<body data-template="<?= $page->intendedTemplate() ?>">
|
||||
<?= snippet('nav') ?>
|
||||
<main>
|
||||
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
<menu>
|
||||
<li>
|
||||
<a class="menu-item-home" href="<?= page('home')->url() ?>">
|
||||
<?= page('home')->title() ?>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="menu-item-projects" href="<?= page('projects')->url() ?>">
|
||||
<?= page('projects')->title() ?>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="menu-item-about" href="<?= page('about')->url() ?>">
|
||||
<?= page('about')->title() ?>
|
||||
</a>
|
||||
</li>
|
||||
</menu>
|
||||
21
site/snippets/nav.php
Normal file
21
site/snippets/nav.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<header>
|
||||
<nav>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="menu-item-home" href="<?= page('home')->url() ?>">
|
||||
<?= page('home')->title() ?>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="menu-item-projects" href="<?= page('projets')->url() ?>">
|
||||
<?= page('projets')->title() ?>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="menu-item-about" href="<?= page('about')->url() ?>">
|
||||
<?= page('about')->title() ?>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</nav>
|
||||
</header>
|
||||
Loading…
Add table
Add a link
Reference in a new issue