Refactorisation de Vite

This commit is contained in:
2024-09-09 15:39:55 +02:00
parent bebcf91515
commit e6ac7c6c85
4 changed files with 56 additions and 88 deletions

View File

@@ -14,7 +14,6 @@ if (!$this->title) $this->title = 'Openai';
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?= $this->escape($this->title) ?></title>
<?= $this->head() ?>
<?= $this->vite('main.css') ?>
</head>
<body>
<nav class="offcanvas offcanvas-start" tabindex="-1" id="offcanvasNavbar" aria-labelledby="offcanvasNavbarLabel">
@@ -63,7 +62,7 @@ if (!$this->title) $this->title = 'Openai';
<span class="hamb-bottom"></span>
</button>
<?php if (isset($this->params['message']) && is_array($this->params['message'])): ?>
<div class="container alert alert-<?= $this->params['message']['type'] ?> alert-dismissible fade show" role="alert">
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
@@ -73,6 +72,5 @@ if (!$this->title) $this->title = 'Openai';
<?= $content ?>
<?= $this->endBody() ?>
<?= $this->vite('main.js') ?>
</body>
</html>