feat(site): focus Mission Core story and center product carousels

This commit is contained in:
DCCONSTRUCTIONS
2026-11-05 20:25:24 +03:00
parent d22c738cc4
commit 5ef2e41d9e
55 changed files with 2284 additions and 3961 deletions
@@ -1,43 +1,25 @@
<section class="s project-composition">
<div class="c _w-60 project-composition-copy project-composition-copy-top">
<hgroup data-module="hg" class="ho project-composition-hgroup">
<h2 class="main-h h2">
<span class="darker-40">{{text:content.heading.muted}}</span>
<span>{{text:content.heading.main}}</span>
</h2>
<section class="s project-video-detail mission-carousel {{attr:content.mediaKind}}">
<div class="c _w-60 project-video-detail-copy project-video-detail-copy-top">
<hgroup class="ho flip project-video-detail-hgroup">
<h2 class="main-h h1"><span class="darker-40">{{text:content.heading.muted}}</span><span class="darker-70">{{text:content.heading.middle}}</span><span>{{text:content.heading.main}}</span></h2>
<div class="h-txt">{{html:content.introHtml}}</div>
</hgroup>
</div>
<div class="c full">
<div class="w-dyn-list">
<div data-module="slider" data-admin-order="true" data-scroll-speed="{{attr:content.scroll.speed}}" role="list" class="slider w-dyn-items">
{{#each content.sliderItems}}
{{#if enabled}}
<div role="listitem" class="slide-w w-dyn-item">
<div class="video-cut">
<div class="video-screen">
<video src="{{attr:videoSrc}}" playsinline="true" muted="" loop="" preload="none" data-lazy-video="" class="video-el"></video>
</div>
</div>
<hgroup class="slide-he-w">
<h3 data-title="" class="slide-he">{{text:title}}</h3>
</hgroup>
<div data-carousel role="region" aria-roledescription="карусель" aria-label="{{attr:adminLabel}}" tabindex="0">
<div data-carousel-track role="list">
{{#each content.sliderItems}}{{#if enabled}}
<article role="listitem" class="carousel-slide">
<div class="carousel-media">
{{#if imageSrc}}<a href="{{attr:imageSrc}}" target="_blank" rel="noopener" aria-label="{{attr:title}} — открыть изображение"><img src="{{attr:imageSrc}}" alt="{{attr:imageAlt}}" loading="lazy" decoding="async" draggable="false"></a>{{/if}}
{{#if videoSrc}}<video src="{{attr:videoSrc}}" poster="{{attr:posterSrc}}" controls playsinline preload="none" aria-label="{{attr:title}}"></video>{{/if}}
</div>
{{/if}}
{{/each}}
</div>
<div class="carousel-caption"><h3>{{text:title}}</h3>{{#if description}}<p>{{text:description}}</p>{{/if}}</div>
</article>
{{/if}}{{/each}}
</div>
<div data-carousel-controls class="carousel-controls"><button type="button" data-carousel-prev aria-label="Предыдущий слайд">←</button><span data-carousel-count class="carousel-count" aria-live="polite"></span><button type="button" data-carousel-next aria-label="Следующий слайд">→</button></div>
</div>
<div class="c _w-60 project-composition-copy project-composition-copy-bottom">
<hgroup data-module="hg" class="ho flip project-composition-hgroup">
<h2 class="main-h h2">
<span class="darker-40">{{text:content.bottomInfo.heading.muted}}</span>
<span>{{text:content.bottomInfo.heading.main}}</span>
</h2>
<div class="h-txt">{{html:content.bottomInfo.introHtml}}</div>
</hgroup>
</div>
<div class="webgl-target-w">
<div data-scale="1, 0.6" data-module="webgl-target" class="webgl-target"></div>
</div>
{{#if content.note}}<p class="carousel-note">{{text:content.note}}</p>{{/if}}
{{#if content.modules}}<div class="infrastructure-modules">{{#each content.modules}}<article class="infrastructure-module"><h3>{{text:title}}</h3><p>{{text:description}}</p></article>{{/each}}</div>{{/if}}
{{#if content.bottomInfo.introHtml}}<div class="c _w-60 project-video-detail-copy project-video-detail-copy-bottom"><hgroup class="ho project-video-detail-hgroup"><h2 class="main-h h1"><span class="darker-40">{{text:content.bottomInfo.heading.muted}}</span><span>{{text:content.bottomInfo.heading.main}}</span></h2><div class="h-txt">{{html:content.bottomInfo.introHtml}}</div></hgroup></div>{{/if}}
</section>