Files
Plenario/templates/layout/error.php
T
gnilebeinandClaude Opus 5.5 58145e9753
CI / Deploy / test (push) Successful in 46s
CI / Deploy / deploy (push) Skipped
Add light/dark theme switch
Theme follows the system by default; the header switch cycles
auto/light/dark and is stored per browser. The presenter has its own
switch (T), dark by default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 16:15:14 +01:00

33 lines
1.0 KiB
PHP

<?php
/**
* Layout for production error pages (debug = false).
*
* @var \App\View\AppView $this
*/
?>
<!DOCTYPE html>
<html lang="de">
<head>
<?= $this->Html->charset() ?>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex">
<title><?= h($this->fetch('title')) ?> · Plenario</title>
<?= $this->element('theme_init') ?>
<?= $this->Html->meta('icon') ?>
<?= $this->Html->css(['normalize.min', 'plenario']) ?>
</head>
<body>
<header class="site-header">
<div class="container site-header__inner">
<a class="brand" href="<?= $this->Url->build('/') ?>"><span class="brand__mark" aria-hidden="true"></span>Plenario</a>
</div>
</header>
<main class="container main">
<section class="card card--narrow center">
<?= $this->fetch('content') ?>
<p><a class="button" href="<?= $this->Url->build('/') ?>"><?= __('Zur Startseite') ?></a></p>
</section>
</main>
</body>
</html>