34 lines
1.1 KiB
PHP
34 lines
1.1 KiB
PHP
<?php
|
||
$pageKey = 'landing';
|
||
require_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.php
|