Individualisations

This commit is contained in:
Timon Ostertun
2020-09-21 21:06:16 +02:00
parent 7e8d863e26
commit 62cb4408cf
21 changed files with 1810 additions and 1632 deletions

View File

@@ -1,24 +1,13 @@
<?php
$sp['output'] = '<div class="card bg-transparent" data-card-height="cover">
<div class="card-center text-center">
<i class="fa fa-exclamation-triangle fa-8x color-red2-dark"></i>
<h1 class="fa-6x mt-5 font-900">404</h1>
<h4 class="mb-5 mt-3">Seite nicht gefunden</h4>
<p>
Die gesuchte Seite wurde nicht gefunden.<br>
Wie w&auml;re es mit der Homepage?
</p>
<div class="row ml-5 mr-5 mt-5 mb-0">
<div class="col-6">
<a href="' . LINK_PRE . 'index" class="btn btn-m rounded-sm btn-full bg-red2-dark text-uppercase font-900">Zur Startseite</a>
</div>
<div class="col-6">
<a href="' . LINK_PRE . 'contact" class="btn btn-m rounded-sm btn-full bg-red2-dark text-uppercase font-900">Kontakt</a>
</div>
</div>
</div>
</div>';
$content = $tpl->load('error', ['404', 'Seite nicht gefunden']);
$content .= '<p>';
$content .= 'Die gesuchte Seite wurde nicht gefunden.<br>';
$content .= 'Wie w&auml;re es mit der Homepage?';
$content .= '</p>';
$content .= $tpl->load('button', ['Zur Startseite', LINK_PRE . 'index', 'css-class' => 'mb-3']);
$content .= $tpl->load('button', ['Kontakt', LINK_PRE . 'contact']);
$sp['output'] = $tpl->load('card', [$content, 'css-class' => 'text-center pt-3']);
?>