- Add PublicCampaignsController for public campaign analytics
- Add public routes for /public/analytics/{slug} and /api/campaigns/{slug}
- Add public campaign analytics view with charts and KPIs
- Support for campaign sharing via custom slugs
- Real-time analytics with ApexCharts integration
33 lines
894 B
PHP
33 lines
894 B
PHP
<?php
|
|
use App\Core\View;
|
|
|
|
// Definir variáveis para o layout
|
|
$page_title = 'Pages blog list';
|
|
$page_description = 'Página Pages blog list';
|
|
|
|
// Incluir o layout principal
|
|
View::render('layouts/main.php', [
|
|
'title' => $page_title,
|
|
'description' => $page_description,
|
|
'page_content' => function() {
|
|
?>
|
|
<?php ?>
|
|
<div class="row">
|
|
<div class="col-lg-8">
|
|
<div class="row">
|
|
<?php View::include('@blog/components/blog/filters.php'); ?>
|
|
|
|
<?php View::include('@blog/components/blog/post-list.php'); ?>
|
|
|
|
<?php View::include('@blog/components/blog/pagination.php'); ?>
|
|
</div>
|
|
</div>
|
|
<div class="col-lg-4">
|
|
<?php View::include('@blog/components/blog/sidebar.php'); ?>
|
|
</div>
|
|
</div>
|
|
<?php
|
|
}
|
|
]);
|
|
?>
|