sitestructure
This commit is contained in:
@@ -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';
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user