Files
1sonhador 0283e966a9 MoneyFlix: Add remaining assets and source maps
- Add source maps and license files for compiled assets
- Add debug and test files for development
- Complete Git repository with all necessary files for MoneyFlix project
2025-10-22 18:09:55 +01:00

59 lines
2.4 KiB
PHP

<?php
declare(strict_types=1);
use App\Core\View;
use App\Core\Branding;
// Start session for all pages
if (session_status() === PHP_SESSION_NONE) {
session_start();
}
// Branding dinâmico
$branding = Branding::get();
?>
<!DOCTYPE html>
<html lang="pt" data-layout="vertical" data-topbar="light" data-sidebar="dark" data-sidebar-size="lg" data-sidebar-image="none" data-preloader="disable">
<head>
<meta charset="utf-8" />
<title><?php echo $branding['company_name'] ?? 'BitReport'; ?> - <?php echo $title ?? 'Authentication'; ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta content="BitReport CRM - Sistema de Gestão Empresarial" name="description" />
<meta content="<?php echo $branding['company_name'] ?? 'BitReport'; ?>" name="author" />
<!-- App favicon -->
<link rel="shortcut icon" href="<?php echo View::asset('/assets/images/favicon.ico'); ?>">
<!-- Bootstrap Css -->
<link href="<?php echo View::asset('/assets/css/bootstrap.min.css'); ?>" rel="stylesheet" type="text/css" />
<!-- Icons Css -->
<link href="<?php echo View::asset('/assets/css/icons.min.css'); ?>" rel="stylesheet" type="text/css" />
<!-- custom Css-->
<link href="<?php echo View::asset('/assets/css/custom.min.css'); ?>" rel="stylesheet" type="text/css" />
</head>
<body>
<?php
// Renderizar o conteúdo da página se definido
if (isset($page_content)) {
if (is_callable($page_content)) {
$page_content();
} else {
View::render($page_content, $page_vars ?? []);
}
}
?>
<!-- JAVASCRIPT -->
<script src="<?php echo View::asset('/assets/libs/bootstrap/js/bootstrap.bundle.min.js'); ?>"></script>
<script src="<?php echo View::asset('/assets/libs/simplebar/simplebar.min.js'); ?>"></script>
<script src="<?php echo View::asset('/assets/libs/node-waves/waves.min.js'); ?>"></script>
<script src="<?php echo View::asset('/assets/libs/feather-icons/feather.min.js'); ?>"></script>
<script src="<?php echo View::asset('/assets/js/pages/plugins/lord-icon-2.1.0.js'); ?>"></script>
<script src="<?php echo View::asset('/assets/js/plugins.js'); ?>"></script>
<!-- Public js -->
<script src="<?php echo View::asset('/assets/js/public.b44e07a8df8714e0836b.js'); ?>"></script>
<!-- Page specific scripts -->
<?php if (isset($scripts) && is_string($scripts)) echo $scripts; ?>
</body>
</html>