diff options
| author | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-12 07:16:23 +0200 |
|---|---|---|
| committer | George Halkiadakis <gchalkiadakis@sklavenitis.co.gr> | 2023-03-12 07:16:23 +0200 |
| commit | 7076343338ae3439f3c86f01144818abe8c31978 (patch) | |
| tree | 794abb1e6b8f821091fd095341885496b6dad51d /html/processed-views/base.php | |
| parent | 47cbb529f5723b246125ae083a193e11481b89ef (diff) | |
| download | classroom-7076343338ae3439f3c86f01144818abe8c31978.tar.gz classroom-7076343338ae3439f3c86f01144818abe8c31978.tar.bz2 classroom-7076343338ae3439f3c86f01144818abe8c31978.zip | |
add container helpers; constuct public directory-tree
Diffstat (limited to 'html/processed-views/base.php')
| -rw-r--r-- | html/processed-views/base.php | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/html/processed-views/base.php b/html/processed-views/base.php new file mode 100644 index 0000000..76c4966 --- /dev/null +++ b/html/processed-views/base.php @@ -0,0 +1,50 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8" /><?php ob_flush(); ?> + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> + <title><?= $data['title'] ?? 'ΣΚΛΑΒΕΝΙΤΗΣ' ?></title> + + <!-- import fonts --> + <?php link_asset( 'font', [ + 'iconfont', 'CFAstyStdBold', 'CFAstyStdBook', 'CFAstyStdMedium' + ], 'rel="preload" crossorigin' + ); ?> + + <!-- import css --> + <?php link_asset('css', ['main', 'overides']); ?> + +</head> +<body class="homepage" data-plugin-lazyload> + + <div class="mainContainer"> + <div class="mainLayer"> + </div> + + <?php render_view('partials/header',[]); ?> + <?php ob_flush(); ?> + + + <main class="main"> + + <?php + parse_sections( $page['sections'] ); + ?> + + </main> + <?php ob_flush(); ?> + + <?php render_view('partials/footer', []); ?> + + </div> + + <!-- scripts --> + <?php link_asset('js', [ + 'require/files', 'require/slim', + 'plugins', 'plugins/setup' + ] + ); ?> + +</body> +</html> +<?php ob_flush(); ?>
\ No newline at end of file |
