sitestructure

This commit is contained in:
2025-11-20 02:31:04 +01:00
parent 5ee3b9afab
commit 055f07a620
16 changed files with 617 additions and 387 deletions

View File

@@ -1,4 +1,6 @@
<?php
require __DIR__ . '/../src/functions.php';
// Sprachlogik:
$lang = $_GET['lang'] ?? 'en';
$lang = in_array($lang, ['de','en','it','fr']) ? $lang : 'en';
@@ -17,6 +19,19 @@ $navAnchors = [
[ 'href' => '#faq', 'key' => 'nav_faq' ],
];
tpl('layout_start'); // structure/header.php
?>
<?php tpl('hero', 'landing', 'main'); ?>
<?php tpl('how', 'landing', 'main'); ?>
<?php tpl('problem', 'landing', 'main'); ?>
<?php tpl('features', 'landing', 'main'); ?>
<?php tpl('security', 'landing', 'main'); ?>
<?php tpl('faq', 'landing', 'main'); ?>
tpl('layout_end'); // structure/footer.php
/*
// Layout-Start (Head, Body, Header, <main>)
require __DIR__ . '/partials/layout_start.php';
?>