diff options
| author | Mathias Magnusson <mathias@magnusson.space> | 2025-09-23 00:07:35 +0200 |
|---|---|---|
| committer | Mathias Magnusson <mathias@magnusson.space> | 2025-09-23 00:07:35 +0200 |
| commit | c70851504652267c95194a98756c6875271cdda7 (patch) | |
| tree | 2c7cd22ad17567e907d36ccf76d7fcad6073a6e1 /include/layout.php | |
| parent | a2827963fbf6847166360be635c65dc85d20dd0d (diff) | |
| download | traedgaardstomten-c70851504652267c95194a98756c6875271cdda7.tar.gz | |
Implement reviews
Diffstat (limited to 'include/layout.php')
| -rw-r--r-- | include/layout.php | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/layout.php b/include/layout.php index ba79595..7bc67d2 100644 --- a/include/layout.php +++ b/include/layout.php @@ -1,6 +1,6 @@ <?php -include "defer.php"; +require "defer.php"; function layout(&$context): void { ?> @@ -13,8 +13,20 @@ function layout(&$context): void { <link rel="stylesheet" href="/style.css"> <script src="https://unpkg.com/hyperscript.org@0.9.14" crossorigin="anonymous" integrity="sha384-NzchC8z9HmP/Ed8cheGl9XuSrFSkDNHPiDl+ujbHE0F0I7tWC4rUnwPXP+7IvVZv"></script> + <script src="https://unpkg.com/htmx.org@2.0.7" crossorigin="anonymous" + integrity="sha384-ZBXiYtYQ6hJ2Y0ZNoYuI+Nq5MqWBr+chMrS/RkXpNzQCApHEhOt2aY8EJgqwHLkJ"></script> </head> <body> +<header> + <section> + <p>Trädgårdstomten ✂️</p> + </section> + <nav> + <a href="/">Tjänster</a> + <a href="/omdömen">Omdömen</a> + <a href="/kontakt">Kontakt</a> + </nav> +</header> <?php defer($context, function () { echo "</body></html>"; }); } |
