220 changed files with 8586 additions and 537 deletions

Before

Width:  |  Height:  |  Size: 581 KiB

After

Width:  |  Height:  |  Size: 581 KiB

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

Before

Width:  |  Height:  |  Size: 258 KiB

After

Width:  |  Height:  |  Size: 258 KiB

Before

Width:  |  Height:  |  Size: 144 KiB

After

Width:  |  Height:  |  Size: 144 KiB

Before

Width:  |  Height:  |  Size: 550 KiB

After

Width:  |  Height:  |  Size: 550 KiB

Before

Width:  |  Height:  |  Size: 377 KiB

After

Width:  |  Height:  |  Size: 377 KiB

Before

Width:  |  Height:  |  Size: 502 KiB

After

Width:  |  Height:  |  Size: 502 KiB

Before

Width:  |  Height:  |  Size: 444 KiB

After

Width:  |  Height:  |  Size: 444 KiB

Before

Width:  |  Height:  |  Size: 88 KiB

After

Width:  |  Height:  |  Size: 88 KiB

Before

Width:  |  Height:  |  Size: 467 KiB

After

Width:  |  Height:  |  Size: 467 KiB

Before

Width:  |  Height:  |  Size: 513 KiB

After

Width:  |  Height:  |  Size: 513 KiB

Before

Width:  |  Height:  |  Size: 510 KiB

After

Width:  |  Height:  |  Size: 510 KiB

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Before

Width:  |  Height:  |  Size: 522 KiB

After

Width:  |  Height:  |  Size: 522 KiB

Before

Width:  |  Height:  |  Size: 244 KiB

After

Width:  |  Height:  |  Size: 244 KiB

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Before

Width:  |  Height:  |  Size: 223 KiB

After

Width:  |  Height:  |  Size: 223 KiB

Before

Width:  |  Height:  |  Size: 403 KiB

After

Width:  |  Height:  |  Size: 403 KiB

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 78 KiB

Before

Width:  |  Height:  |  Size: 425 KiB

After

Width:  |  Height:  |  Size: 425 KiB

Before

Width:  |  Height:  |  Size: 479 KiB

After

Width:  |  Height:  |  Size: 479 KiB

Before

Width:  |  Height:  |  Size: 384 KiB

After

Width:  |  Height:  |  Size: 384 KiB

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

Before

Width:  |  Height:  |  Size: 410 KiB

After

Width:  |  Height:  |  Size: 410 KiB

Before

Width:  |  Height:  |  Size: 379 KiB

After

Width:  |  Height:  |  Size: 379 KiB

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB

Before

Width:  |  Height:  |  Size: 492 KiB

After

Width:  |  Height:  |  Size: 492 KiB

Before

Width:  |  Height:  |  Size: 431 KiB

After

Width:  |  Height:  |  Size: 431 KiB

+12 -10
View File
@@ -1,21 +1,23 @@
# NODE.DC — Mission Core
# NODE.DC — Mission Core Promo
Промосайт Mission Core в существующей визуальной системе NODE.DC. Ветка `system-automation` сохраняет исходный агентский сайт; `mission-core` содержит новую версию для `https://nodedc.ru/`.
Промосайт Mission Core в существующей визуальной системе NODE.DC. Ветка `mission-core-v2-promo` развивает прикладную подачу; `mission-core` на `1265bd1` сохраняет версию Mission Core Tech. Исходный агентский сайт остаётся в `system-automation`.
## Редактирование
- `content/pages/home.json`: 20 блоков главной страницы.
- `content/knowledge.json`: 12 материалов базы знаний.
- `content/block-templates/home.json`: шаблоны блоков для CMS.
- `content/pages/home.json`: 12 блоков главной, включая 4 карусели.
- `content/knowledge.json`: 27 материалов базы знаний, из них 15 подробных прикладных решений.
- `content/block-templates/home.json`: каталог блоков и схема редактируемых полей CMS.
- `content/redirects.json`: 21 переход со старых адресов базы знаний.
- `assets/uploads/mission-core/`: исходные фотографии в WebP, реальные скриншоты и браузерная версия демонстрации.
- Изображения, скриншоты и видео сохранены из Tech без замены. Сценарные AI-иллюстрации обозначены на странице.
Сборка: `npm run render:home` и `npm run render:knowledge`. Node без внешних зависимостей. Предпросмотр: `python3 -m http.server 8081`.
Сборка: `npm run render:home` и `npm run render:knowledge`. Node без внешних зависимостей. Проверка: `node --test test/*.test.mjs` и `python3 tools/validate-site.py`. Предпросмотр: `python3 -m http.server 8081 --bind 127.0.0.1`.
Фотографии получены из предоставленной папки dronephoto/png, без генеративной обработки. Три скриншота сняты из Mission Core в 2560×1440; запись облака точек взята из пользовательской презентации. Демо — версия июля 2026, перекодированная из оригинального 4K HEVC в 1080p H.264 без звука. 12 существующих роликов Hub/Engine/Ops сохранены в блоках дополнительной инфраструктуры.
Слайды поддерживают редактируемую ссылку на подробный материал: `detailsHref` и `detailsLabel`. Она независима от `openImagesInFullscreen`, который выключен у всех четырёх каруселей. Статьи хранятся в дереве базы знаний, попадают в навигацию, поиск и sitemap.
## Публикация
Git хранит исходники и ветки. Публикация промосайта выполняется отдельным проектом в DC CMS через ZIP и SFTP на существующий Макхост. Старый проект `NODE.DC — Agent` остаётся в CMS с отключённым деплоем; адрес agent.nodedc.ru носит справочный характер, отдельный хостинг не создаётся. Новый проект `NODE.DC — Mission Core` получает существующие настройки публикации nodedc.ru через серверный перенос в CMS.
В CMS остаётся один проект Mission Core (`mission-core`). Promo обновляет его содержимое; отдельные Tech/Promo-сайты не создаются. Проект Agent (`nodedc`) сохраняется с выключенной публикацией.
Оба проекта подключены и проверены в production 05.11.2026. Автоматический деплой из Git относится к самой CMS, а не к публикации контента промосайта; новый release r42 установлен после push без ручных команд. В Mission Core пересборка обновляет предпросмотр, а публикация запускается отдельной кнопкой. [Рабочий маршрут и границы](docs/cms-publication.md).
Обычное сохранение текста, SEO, статьи или картинки запускает сборку и публикацию по SFTP. ZIP используется при обновлении шаблонов и структуры. Перед импортом сверяется текущий серверный проект и сохраняется полный снимок. Кнопка «Скачать бэкап» находится в настройках сайта.
Git хранит код и версии; push ветки сайта сам по себе не публикует контент. Автодеплой из Git относится к приложению CMS. [Маршрут публикации](docs/cms-publication.md), [решения по аудиту](docs/mission-core-promo-v2.md).
+22
View File
@@ -28,3 +28,25 @@
.mission-hero .main-h.sm{font-size:1.75rem}
}
@media (max-width:767px){.mission-demo .app-w{margin-top:2rem}}
/* Responsive image dimensions reserve space; logo widths remain controlled by the shell. */
img.logo[width][height] { height: auto; }
.app-item.data .pilot-heading {
width: calc(100% - 1.5rem);
margin-block-start: -.5rem;
font-size: 2rem;
line-height: 1.05;
}
@media (max-width: 479px) {
.app-item.data .pilot-heading { font-size: clamp(1.5rem, 7vw, 2rem); }
}
[data-cta] > .btn-bg {
background-color: var(--cta-bg);
color: var(--cta-ink);
border-radius: var(--cta-radius);
}
[data-cta][data-module="btn"] > div > div > div > div {
text-shadow: 0 1.3em currentColor;
}
+2 -1
View File
@@ -18,7 +18,8 @@
.carousel-caption p{font-size:clamp(15px,1.1vw,18px);line-height:1.45;color:#a7a7a7;margin:0;max-width:64ch;}
.carousel-controls{display:flex;justify-content:center;align-items:center;gap:18px;margin:22px auto 0;}
.carousel-controls[hidden]{display:none;}
.carousel-controls button{width:44px;height:44px;border:0;border-radius:50%;background:#242426;color:#eee;font-size:22px;cursor:pointer;}
.carousel-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;background:transparent;color:#eee;cursor:pointer;}
.carousel-controls [data-carousel-prev] svg{transform:rotate(180deg);}
.carousel-controls button:disabled{opacity:.3;cursor:default;}
.carousel-controls button:focus-visible,[data-carousel]:focus-visible{outline:2px solid #eee;outline-offset:4px;}
.carousel-count{font-size:13px;color:#aaa;min-width:52px;text-align:center;font-variant-numeric:tabular-nums;}
File diff suppressed because one or more lines are too long
+117 -3
View File
@@ -1,6 +1,9 @@
/* Shared finite carousel: fitting groups and every overflow item center exactly. */
(() => {
const reduced = matchMedia('(prefers-reduced-motion: reduce)');
const finePointer = matchMedia('(hover: hover) and (pointer: fine)');
// WheelEvent has no device type. Keep macOS pixel gestures entirely native.
const applePointer = /Mac|iPhone|iPad|iPod/i.test(navigator.userAgentData?.platform || navigator.platform || '');
function bind(root) {
if (root.dataset.carouselReady) return;
root.dataset.carouselReady = 'true';
@@ -10,7 +13,57 @@
const next = root.querySelector('[data-carousel-next]');
const count = root.querySelector('[data-carousel-count]');
let active = 0, fits = false, settle, dragging = null, layoutWidth = 0;
let wheelFrame = 0, wheelSnap = '';
let pageFrame = 0, alignmentQuietUntil = 0, alignmentDirection = 0;
const center = item => item.offsetLeft + item.offsetWidth / 2 - track.clientWidth / 2;
function cancelPageInput(event) {
if (event.type !== 'wheel' || !track.contains(event.target)) stopPageMotion();
}
function stopPageMotion() {
if (pageFrame) cancelAnimationFrame(pageFrame);
pageFrame = 0;
window.removeEventListener('wheel', cancelPageInput, true);
window.removeEventListener('pointerdown', cancelPageInput, true);
window.removeEventListener('keydown', cancelPageInput, true);
}
function alignPage(offset, direction) {
const from = window.scrollY, start = performance.now();
const max = Math.max(0, document.documentElement.scrollHeight - window.innerHeight);
const destination = Math.max(0, Math.min(max, from + offset));
if (Math.abs(destination - from) < 1) return false;
stopWheelMotion();
alignmentDirection = direction;
window.addEventListener('wheel', cancelPageInput, {capture:true, passive:true});
window.addEventListener('pointerdown', cancelPageInput, {capture:true, passive:true});
window.addEventListener('keydown', cancelPageInput, {capture:true, passive:true});
const frame = now => {
const progress = Math.min(1, Math.max(0, (now - start) / 300));
window.scrollTo({top:from + (destination - from) * (1 - Math.pow(1 - progress, 3)), behavior:'instant'});
if (progress < 1) pageFrame = requestAnimationFrame(frame);
else { stopPageMotion(); alignmentQuietUntil = now + 180; }
};
pageFrame = requestAnimationFrame(frame);
return true;
}
function stopWheelMotion() {
if (!wheelFrame) return;
cancelAnimationFrame(wheelFrame);
wheelFrame = 0;
track.style.scrollSnapType = wheelSnap;
}
function moveWithWheel(left) {
const from = track.scrollLeft, start = performance.now();
wheelSnap = track.style.scrollSnapType;
track.style.scrollSnapType = 'none';
const frame = now => {
const progress = Math.min(1, Math.max(0, (now - start) / 300));
const eased = 1 - Math.pow(1 - progress, 3);
track.scrollTo({left: from + (left - from) * eased, behavior:'instant'});
if (progress < 1) wheelFrame = requestAnimationFrame(frame);
else { wheelFrame = 0; track.style.scrollSnapType = wheelSnap; }
};
wheelFrame = requestAnimationFrame(frame);
}
function state() {
prev.disabled = fits || active === 0;
next.disabled = fits || active === items.length - 1;
@@ -21,9 +74,13 @@
if (i !== active && !fits) item.querySelectorAll('video').forEach(v => v.pause());
});
}
function go(index, smooth = true) {
function go(index, smooth = true, wheelMotion = false) {
stopPageMotion();
stopWheelMotion();
active = Math.max(0, Math.min(items.length - 1, index));
track.scrollTo({left: fits ? 0 : center(items[active]), behavior: smooth && !reduced.matches ? 'smooth' : 'instant'});
const left = fits ? 0 : center(items[active]);
if (wheelMotion && smooth && !fits) moveWithWheel(left);
else track.scrollTo({left, behavior: smooth && !reduced.matches ? 'smooth' : 'instant'});
state();
}
function layout() {
@@ -49,13 +106,15 @@
track.addEventListener('scroll', () => {
clearTimeout(settle);
settle = setTimeout(() => {
if (fits || dragging) return;
if (fits || dragging || wheelFrame) return;
active = items.reduce((best, item, i) => Math.abs(center(item)-track.scrollLeft) < Math.abs(center(items[best])-track.scrollLeft) ? i : best, 0);
state();
}, 100);
}, {passive:true});
// Touch uses native horizontal scrolling; vertical gestures continue down the page.
track.addEventListener('pointerdown', event => {
stopPageMotion();
stopWheelMotion();
if (event.pointerType !== 'mouse' || fits || event.target.closest('video,button')) return;
dragging = {x:event.clientX, left:track.scrollLeft, moved:false};
});
@@ -73,6 +132,61 @@
track.addEventListener('dragstart', event => event.preventDefault());
// Prevent legacy page smooth-scroll from converting horizontal trackpad input.
track.addEventListener('wheel', event => { if(Math.abs(event.deltaX)>Math.abs(event.deltaY)) event.stopPropagation(); },{passive:true});
if (!applePointer) {
let lastStep = -Infinity, lastDirection = 0, continuousUntil = 0, lastPageWheel = -Infinity;
track.addEventListener('wheel', event => {
if (!finePointer.matches || fits || dragging || event.defaultPrevented || !event.cancelable ||
event.ctrlKey || event.metaKey || event.altKey || event.shiftKey ||
event.target.closest('input,textarea,select,[contenteditable="true"],[role="slider"]')) return;
const mode = event.deltaMode, dy = event.deltaY, now = performance.now();
if (!dy || !Number.isFinite(dy)) return;
// Coarse vertical steps include fractional deltas from browser scaling.
// Fine/diagonal samples mark a continuous gesture, including its tail.
const discrete = !event.deltaX && (mode === 1 || mode === 2 ||
(mode === 0 && Math.abs(dy) >= 40));
if (!discrete) { stopPageMotion(); stopWheelMotion(); continuousUntil = now + 250; return; }
if (now < continuousUntil) return;
const direction = Math.sign(dy);
// The arrival gesture aligns the page only; it must not spend its tail
// on horizontal slides. Reversing cancels alignment and releases the page.
if (pageFrame || now < alignmentQuietUntil) {
if (direction !== alignmentDirection) {
stopPageMotion(); alignmentQuietUntil = 0; lastPageWheel = now; return;
}
event.preventDefault(); event.stopPropagation();
alignmentQuietUntil = now + 180;
return;
}
const target = active + direction;
if (target < 0 || target >= items.length) return;
// Hover is not enough: first let the reader bring the media into view.
const media = items[active].querySelector('.carousel-media') || items[active];
const rect = media.getBoundingClientRect();
const top = 64, bottom = window.innerHeight - 32;
const visible = Math.max(0, Math.min(rect.bottom, bottom) - Math.max(rect.top, top));
const offset = (rect.top + rect.bottom - top - bottom) / 2;
const distance = Math.abs(offset);
const near = distance <= Math.min(240, (bottom - top) * 0.3) &&
visible >= Math.min(rect.height, bottom - top) * 0.65;
if (near && distance > 8 && (offset * direction > 0 || distance <= 80) && alignPage(offset, direction)) {
event.preventDefault(); event.stopPropagation(); return;
}
const centered = distance <= 80;
if (!centered || visible < Math.min(rect.height, bottom - top) * 0.95 || now - lastPageWheel < 180) {
lastPageWheel = now;
return;
}
// Consume a short burst while moving, but allow reversal immediately.
if (now - lastStep < 220 && direction === lastDirection) {
event.preventDefault(); event.stopPropagation(); return;
}
event.preventDefault(); event.stopPropagation();
lastStep = now; lastDirection = direction;
// User-requested wheel navigation remains smooth even with reduced
// decorative motion. Native gestures and other controls retain their policy.
go(target, true, true);
}, {passive:false});
}
new ResizeObserver(layout).observe(root);
const observer=new IntersectionObserver(entries=>entries.forEach(entry=>{if(!entry.isIntersecting)root.querySelectorAll('video').forEach(v=>v.pause());}));observer.observe(root);
layout();
Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 431 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 467 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 293 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 502 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 221 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 223 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 510 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 109 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 377 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 323 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 550 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 425 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 513 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Some files were not shown because too many files have changed in this diff Show More