support : integration except products

This commit is contained in:
isUnknown 2025-11-04 08:33:39 +01:00
parent 904dd353e8
commit ba0df6b5cb
44 changed files with 2146 additions and 5 deletions

View file

@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="<?= url('assets/style.css') ?>?version-cache-prevent<?= rand(0, 1000) ?>">
<link rel="stylesheet" href="<?= url('assets/css/style.css') ?>?version-cache-prevent<?= rand(0, 1000) ?>">
<meta name="robots" content="noindex,nofollow">
<title>
<?php if ($page->isHomePage() == false): ?>
@ -13,4 +13,4 @@
</title>
</head>
<body data-template="<?= $page->template() ?>">
<h1>Index</h1>
<?php snippet('nav') ?>

25
site/snippets/nav.php Normal file
View file

@ -0,0 +1,25 @@
<header id="site-header">
<div class="header-left">
<div class="burger"><svg clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m22 16.75c0-.414-.336-.75-.75-.75h-18.5c-.414 0-.75.336-.75.75s.336.75.75.75h18.5c.414 0 .75-.336.75-.75zm0-5c0-.414-.336-.75-.75-.75h-18.5c-.414 0-.75.336-.75.75s.336.75.75.75h18.5c.414 0 .75-.336.75-.75zm0-5c0-.414-.336-.75-.75-.75h-18.5c-.414 0-.75.336-.75.75s.336.75.75.75h18.5c.414 0 .75-.336.75-.75z" fill-rule="nonzero"/></svg></div>
</div>
<div class="header-center">
<h1 class="site-title">
<a href="/" aria-label="Retour à laccueil" w3-include-html="/assets/index-logo.svg"></a>
</h1>
<nav>
<ul>
<li>Partie 1</li>
<li>Partie 2</li>
<li>Partie 3</li>
</ul>
</nav>
</div>
<div class="header-right">
<a href="#" id="go-to-panier">
<p>Panier</p>
<p id="go-to-panier__nbr">1</p>
</a>
</div>
</header>