v1.3.0 #124

Merged
DrMaxNix merged 43 commits from dev into main 2024-07-29 19:21:56 +02:00
3 changed files with 23 additions and 23 deletions
Showing only changes of commit c1770fb738 - Show all commits

View File

@ -16,7 +16,7 @@
<div class="width-governor"> <div class="width-governor">
<div class="branding"> <div class="branding">
<div class="button-list"> <div class="button-list">
<a href="/" class="button tertiary"> <a href="<?= $dict->get("nav_start_link") ?>" class="button tertiary">
<img src="<?= File::file("./asset/logo-256.png") ?>" alt="Logo" /> <img src="<?= File::file("./asset/logo-256.png") ?>" alt="Logo" />
<span><?= $dict->get("nav_branding_name") ?></span> <span><?= $dict->get("nav_branding_name") ?></span>
</a> </a>
@ -32,19 +32,14 @@
</div> </div>
<div id="nav-menu" class="menu button-list"> <div id="nav-menu" class="menu button-list">
<a href="#" class="button tertiary <?= (Nav::$active === "button_1" ? "active" : "") ?>"> <a href="<?= $dict->get("nav_start_link") ?>" class="button tertiary <?= (Nav::$active === "start" ? "active" : "") ?>">
<span class="icon ti ti-circle-off"></span> <span class="icon ti ti-home"></span>
<span class="text"><?= $dict->get("nav_button_1") ?></span> <span class="text"><?= $dict->get("nav_start_button") ?></span>
</a> </a>
<a href="#" class="button tertiary <?= (Nav::$active === "button_2" ? "active" : "") ?>"> <a href="<?= $dict->get("nav_timeline_link") ?>" class="button tertiary <?= (Nav::$active === "timeline" ? "active" : "") ?>">
<span class="icon ti ti-circle-off"></span> <span class="icon ti ti-clock"></span>
<span class="text"><?= $dict->get("nav_button_2") ?></span> <span class="text"><?= $dict->get("nav_timeline_button") ?></span>
</a>
<a href="#" class="button tertiary <?= (Nav::$active === "button_3" ? "active" : "") ?>">
<span class="icon ti ti-circle-off"></span>
<span class="text"><?= $dict->get("nav_button_3") ?></span>
</a> </a>
</div> </div>
</div> </div>

View File

@ -51,7 +51,7 @@
<?php <?php
Nav::$active = "button_1"; Nav::$active = "start";
require("./page/nav.php"); require("./page/nav.php");
?> ?>

View File

@ -19,20 +19,25 @@
"nav_branding_name" => [ "nav_branding_name" => [
"de" => "SBGG.jetzt", "de" => "SBGG.jetzt",
"en" => "SBGG.jetzt" "en" => "SBGG.jetzt",
], ],
"nav_button_1" => [ "nav_start_link" => [
"de" => "Knopf 1", "de" => "/",
"en" => "Button 1" "en" => "/en",
], ],
"nav_button_2" => [ "nav_start_button" => [
"de" => "Knopf 2", "de" => "Startseite",
"en" => "Button 2" "en" => "Home",
], ],
"nav_button_3" => [
"de" => "Knopf 3", "nav_timeline_link" => [
"en" => "Button 3" "de" => "/timeline",
"en" => "/en/timeline",
],
"nav_timeline_button" => [
"de" => "Timeline",
"en" => "Timeline",
], ],