Страницы сайта: разделы, меню и подключаемые блоки
This commit is contained in:
1 parent
bb7d8af290
commit
295594305d
124 files changed
+1516
No files matched your search
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
use Bitrix\Main\Localization\Loc;
|
||||
use Bitrix\Main\Page\Asset;
|
||||
|
||||
include_once($_SERVER["DOCUMENT_ROOT"] . "/bitrix/modules/main/include/urlrewrite.php");
|
||||
CHTTP::SetStatus("404 Not Found");
|
||||
@define("ERROR_404", "Y");
|
||||
|
||||
require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/header.php");
|
||||
Loc::loadMessages(__FILE__);
|
||||
$APPLICATION->SetTitle(Loc::getMessage("VINO_404_TITLE"));
|
||||
$APPLICATION->SetPageProperty("title", Loc::getMessage("VINO_404_TITLE"));
|
||||
$APPLICATION->SetPageProperty("description", Loc::getMessage("VINO_404_TITLE"));
|
||||
$APPLICATION->SetPageProperty("robots", "noindex, follow");
|
||||
$APPLICATION->SetPageProperty("vino_alternates", "N");
|
||||
Asset::getInstance()->addJs(SITE_TEMPLATE_PATH . "/assets/js/vino-slider.js");
|
||||
?>
|
||||
<section class="vino-404">
|
||||
<div class="vino-wrap">
|
||||
<p class="vino-404__code" aria-hidden="true">404</p>
|
||||
<h1 class="vino-404__title"><?= Loc::getMessage("VINO_404_TITLE") ?></h1>
|
||||
<p class="vino-404__text"><?= Loc::getMessage("VINO_404_HINT") ?><br><?= Loc::getMessage("VINO_404_HINT_NEXT") ?></p>
|
||||
<a class="vino-btn" href="<?= SITE_DIR ?>"><?= Loc::getMessage("VINO_404_HOME") ?></a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="vino-section vino-brands">
|
||||
<div class="vino-wrap">
|
||||
<h2 class="vino-section__title vino-404__heading"><?= Loc::getMessage("VINO_404_SECTIONS") ?></h2>
|
||||
<?php $APPLICATION->IncludeComponent("bitrix:catalog.section.list", "vinoteca-tiles", \Jinove\Vinoteca\Catalog\Listing::sectionTilesParams() + array("VINO_SCHEMA" => "N"), false); ?>
|
||||
</div>
|
||||
</section>
|
||||
<section class="vino-section vino-bestsellers">
|
||||
<div class="vino-wrap vino-section__inner">
|
||||
<div class="vino-section__head">
|
||||
<div class="vino-section__intro">
|
||||
<h2 class="vino-section__title"><?= Loc::getMessage("VINO_404_LIKE") ?></h2>
|
||||
</div>
|
||||
<div class="vino-slider__nav">
|
||||
<button type="button" class="vino-arrow" data-slide-prev aria-label="<?= htmlspecialcharsbx((string)Loc::getMessage("VINO_404_PREV")) ?>"><svg class="vino-arrow__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M15 5 8 12l7 7"></path></svg></button>
|
||||
<button type="button" class="vino-arrow" data-slide-next aria-label="<?= htmlspecialcharsbx((string)Loc::getMessage("VINO_404_NEXT")) ?>"><svg class="vino-arrow__icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m9 5 7 7-7 7"></path></svg></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="vino-section__body">
|
||||
<div class="vino-slider__viewport" data-slider="bestsellers">
|
||||
<div class="vino-slider__track">
|
||||
<?php $APPLICATION->IncludeComponent("bitrix:catalog.top", "vinoteca-row", \Jinove\Vinoteca\Catalog\Listing::prepareBestsellers(), false); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="vino-progress" data-slider-progress="bestsellers"><span class="vino-progress__bar"></span></div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php require($_SERVER["DOCUMENT_ROOT"] . "/bitrix/footer.php"); ?>
|
||||
Reference in new issue
Block a user