3namespace Bitrix\Landing\Hook\Page;
5use Bitrix\Landing\Field;
6use Bitrix\Landing\Hook;
7use Bitrix\Landing\Landing;
8use Bitrix\Landing\Manager;
9use Bitrix\Main\Localization\Loc;
10use Bitrix\Main\Page\Asset;
27 'title' => Loc::getMessage(
'LANDING_HOOK_TRANSITION_COLOR'),
55 public function exec(): void
62 $type = strtoupper(Landing::getSiteType());
63 if (
$type ===
'KNOWLEDGE')
71 $color = self::BASE_COLOR;
79 Asset::getInstance()->addString(
81 @keyframes page-transition {
89 body.landing-page-transition::after {
91 background: ' . $color .
';
92 animation: page-transition 2s 1s forwards;
103 'landing-page-transition'
static setPageView(string $marker, string $content, bool $skipTrim=false)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
htmlspecialcharsbx($string, $flags=ENT_COMPAT, $doubleEncode=true)