This commit is contained in:
2025-11-25 21:50:22 +01:00
parent 9a8833dc68
commit ea171ef815
2 changed files with 5 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
<?php <?php
$pageKey = 'landing'; $pageKey = 'landing';
include_once dirname(__DIR__) . "/../config/fileload.php"; require_once dirname(__DIR__) . "/../config/fileload.php";
/*
// Sprachlogik: // Sprachlogik:
$lang = $_GET['lang'] ?? 'en'; $lang = $_GET['lang'] ?? 'en';
$lang = in_array($lang, ['de','en','it','fr']) ? $lang : 'en'; $lang = in_array($lang, ['de','en','it','fr']) ? $lang : 'en';
@@ -11,7 +11,7 @@ $lang = in_array($lang, ['de','en','it','fr']) ? $lang : 'en';
$userInitials = null; $userInitials = null;
// Seitentitel & Description für das Layout // Seitentitel & Description für das Layout
$pageTitle = app_primary_domain() . ' Test USB-Sticks'; //$pageTitle = app_primary_domain() . ' Test USB-Sticks';
$pageDescription = 'Prüfe deine USB-Sticks auf Geschwindigkeit, Integrität und mögliche Fakes direkt im Browser.'; $pageDescription = 'Prüfe deine USB-Sticks auf Geschwindigkeit, Integrität und mögliche Fakes direkt im Browser.';
$navAnchors = [ $navAnchors = [
[ 'href' => '#how', 'key' => 'nav_how' ], [ 'href' => '#how', 'key' => 'nav_how' ],
@@ -20,7 +20,7 @@ $navAnchors = [
[ 'href' => '#security', 'key' => 'nav_security' ], [ 'href' => '#security', 'key' => 'nav_security' ],
[ 'href' => '#faq', 'key' => 'nav_faq' ], [ 'href' => '#faq', 'key' => 'nav_faq' ],
]; ];
/*
tpl('layout_start'); // structure/header.php tpl('layout_start'); // structure/header.php
tpl('hero', 'landing', 'main'); tpl('hero', 'landing', 'main');

View File

@@ -1,5 +1,5 @@
<?php <?php
echo "blub";
$GLOBALS['page_header_scripts'] = $GLOBALS['page_header_scripts'] ?? []; $GLOBALS['page_header_scripts'] = $GLOBALS['page_header_scripts'] ?? [];
$GLOBALS['page_footer_scripts'] = $GLOBALS['page_footer_scripts'] ?? []; $GLOBALS['page_footer_scripts'] = $GLOBALS['page_footer_scripts'] ?? [];
$GLOBALS['page_styles'] = $GLOBALS['page_styles'] ?? []; $GLOBALS['page_styles'] = $GLOBALS['page_styles'] ?? [];