- 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
17 lines
756 B
PHP
17 lines
756 B
PHP
<?php
|
|
use App\Core\View;
|
|
|
|
View::render('layouts/main.php', [
|
|
'title' => 'Erro 404 - Página não encontrada',
|
|
'page_content' => function() {
|
|
// Simple, styled 404 message (Portuguese)
|
|
echo '<div class="row justify-content-center align-items-center" style="min-height:60vh;">';
|
|
echo '<div class="col-md-8 text-center">';
|
|
echo '<img src="' . View::asset('/assets/images/404-error.png') . '" alt="404" style="max-width:220px; margin-bottom:2rem;">';
|
|
echo '<h1 class="display-4 mb-3">Erro 404</h1>';
|
|
echo '<p class="lead mb-4">A página que procura não existe ou foi movida.</p>';
|
|
echo '<a href="/" class="btn btn-primary">Voltar à página inicial</a>';
|
|
echo '</div></div>';
|
|
}
|
|
]);
|