diff --git a/public/index copy.php b/public/index copy.php new file mode 100644 index 0000000..3c2c91b --- /dev/null +++ b/public/index copy.php @@ -0,0 +1,33 @@ + '#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 \ No newline at end of file diff --git a/public/index.php b/public/index.php index 3c2c91b..b91b7cf 100644 --- a/public/index.php +++ b/public/index.php @@ -1,33 +1,2 @@ '#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 \ No newline at end of file +$pageKey = 'landing'; \ No newline at end of file