This commit is contained in:
2025-11-25 21:31:46 +01:00
parent c895ccffa1
commit bd5f144179

View File

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