Ремонт: авто-обнаружение разделов из заметок (не нужен конфиг)
All checks were successful
Deploy Remont Site / deploy (push) Successful in 17s

- одна заметка = один раздел; номер/площадь берутся из таблицы Планировки по названию
- оформление через необязательный frontmatter (navShort, sub, swatches)
- пустая заметка = раздел «в работе» (Кабинет добавлен)
- галерея 2×2 для 4 рендеров, плейсхолдер для пустых разделов
- README: подробная инструкция как добавлять комнаты

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cosmo
2026-07-15 21:04:49 +00:00
parent dd8678a426
commit a61044a04b
7 changed files with 231 additions and 157 deletions

View File

@@ -310,9 +310,16 @@ a.rooms-link:hover .room-name { color: var(--sage-deep); }
.variants small { color: var(--ink-soft); display: block; font-size: 13.5px; }
@media (max-width: 860px) { .finish { grid-template-columns: 1fr; } }
/* парный ряд рендеров */
/* парный ряд / сетка 2×2 рендеров */
.renders--duo { grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
@media (max-width: 720px) { .renders--duo { grid-template-columns: 1fr; } }
.renders--quad { grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
@media (max-width: 720px) { .renders--duo, .renders--quad { grid-template-columns: 1fr; } }
/* пустой раздел (в работе) */
.section-empty {
margin-top: 36px; padding: 28px 30px; border: 1px dashed var(--line-strong); border-radius: var(--r);
color: var(--ink-soft); font-size: 16px; background: color-mix(in srgb, var(--sage) 5%, transparent);
}
/* проза и заметки из markdown */
.prose { max-width: 62ch; color: var(--ink-soft); margin: 22px 0 0; }