Files
smilia/wp-content/themes/smilia/components/not-found/not-found.php
T

22 lines
978 B
PHP

<?php
use Smilia\Core\Markup;
use Smilia\Theme\Data;
defined( 'ABSPATH' ) || exit;
?>
<section class="not-found">
<div class="not-found__content">
<?php Data::illustration( 'visit/kid-4.svg', 'not-found__image', 'eager' ); ?>
<p class="not-found__code">404</p>
<h1 class="not-found__title"><?php esc_html_e( 'Такой страницы нет', 'smilia' ); ?></h1>
<p class="not-found__text"><?php esc_html_e( 'Возможно, адрес изменился или в нём опечатка.', 'smilia' ); ?></p>
<div class="not-found__actions">
<a class="button button--primary button--lg not-found__action" href="<?php echo esc_url( Data::home_url() ); ?>"><?php esc_html_e( 'На главную', 'smilia' ); ?></a>
<button type="button" class="button button--outline button--lg not-found__action not-found__book" data-booking-open><?php esc_html_e( 'Записаться', 'smilia' ); ?></button>
</div>
</div>
<?php Markup::wave(); ?>
</section>