Change CSS framework from PicoCSS to Bootstrap 5.3
This commit is contained in:
+27
-11
@@ -3,17 +3,33 @@
|
||||
include 'views/layouts/header.php';
|
||||
?>
|
||||
|
||||
<div class="container" style="text-align: center; padding: 4rem 1rem;">
|
||||
<h1>404 - Страница не найдена</h1>
|
||||
<p style="font-size: 1.2rem; margin-bottom: 2rem;">
|
||||
Запрашиваемая страница не существует или была перемещена.
|
||||
</p>
|
||||
<div style="display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;">
|
||||
<a href="<?= SITE_URL ?>/" class="button">🏠 На главную</a>
|
||||
<a href="<?= SITE_URL ?>/books" class="button secondary">📚 К книгам</a>
|
||||
<?php if (!is_logged_in()): ?>
|
||||
<a href="<?= SITE_URL ?>/login" class="button secondary">🔑 Войти</a>
|
||||
<?php endif; ?>
|
||||
<div class="container">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-8 text-center">
|
||||
<div class="py-5">
|
||||
<div class="mb-4">
|
||||
<i class="bi bi-exclamation-triangle display-1 text-warning"></i>
|
||||
</div>
|
||||
<h1 class="display-4 fw-bold text-muted">404</h1>
|
||||
<h2 class="h3 mb-4">Страница не найдена</h2>
|
||||
<p class="lead text-muted mb-5">
|
||||
Запрашиваемая страница не существует или была перемещена.
|
||||
</p>
|
||||
<div class="d-flex gap-3 justify-content-center flex-wrap">
|
||||
<a href="<?= SITE_URL ?>/" class="btn btn-primary btn-lg">
|
||||
<i class="bi bi-house"></i> На главную
|
||||
</a>
|
||||
<a href="<?= SITE_URL ?>/books" class="btn btn-outline-secondary btn-lg">
|
||||
<i class="bi bi-journal-bookmark"></i> К книгам
|
||||
</a>
|
||||
<?php if (!is_logged_in()): ?>
|
||||
<a href="<?= SITE_URL ?>/login" class="btn btn-outline-primary btn-lg">
|
||||
<i class="bi bi-box-arrow-in-right"></i> Войти
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user