initial commit

This commit is contained in:
jan.skoda
2024-01-10 12:26:54 +01:00
commit c65052e5c4
62 changed files with 4307 additions and 0 deletions

18
template/topmenu.php Normal file
View File

@@ -0,0 +1,18 @@
<div id="blog" class="row">
<div class="header">
<a href="./index.php" class="logo">
<img src="<?= Config::ROOT_PATH?>resources/images/logo.png">
<?= Config::WEBSITE_NAME ?>
</a>
<div id="slogan"> <?= Config::WEBSITE_SLOGAN ?> </div>
<?php
$menuItems = $menu->getMenuArray();
?>
<div class="header-right">
<?php
foreach($menuItems as $item){
echo '<a href="' . $item['link'] . '">' . $item['title'] . '</a>';
}
?>
</div>
</div>