feat(sprint-5.5): add "Save version" button, update navigation block and block components

- Add "Сохранить версию" button to BlockMetaBar that persists current
  version + changelog from code to PostgreSQL via PATCH API
- Update navigation page: menu items section now renders like live example
  with underlined links, hover dropdowns, and submenus
- Restore uncommitted changes from previous session (thirsty-mayer worktree):
  navigation v1.3 with dropdowns, updated hero/ceo/doctors/reviews/news/
  contact-forms/footer blocks, navData.ts extraction, seed updates
- Extract nav menu data to shared navData.ts module

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
AR 15 M4
2026-03-24 23:28:05 +05:00
parent 3094e9a2b7
commit 196526ffc4
15 changed files with 465 additions and 225 deletions
+11 -20
View File
@@ -75,26 +75,17 @@ export function HeroBlock() {
</div>
{/* Под баннером: соцсети + просмотры */}
<div className="flex items-center gap-3 pt-1">
<span className="text-xs" style={{ color: "#9ca3af" }}>
Поделиться:
</span>
{["VK", "FB", "TW"].map((s) => (
<button
key={s}
className="text-xs px-2 py-1 rounded"
style={{
background: "#f9fafb",
border: "1px solid #e5e7eb",
color: "#9ca3af",
}}
>
{s}
</button>
))}
<span className="text-xs ml-2" style={{ color: "#9ca3af" }}>
👁 98 573 просмотра
</span>
<div className="flex items-center gap-2 pt-1">
<button
className="text-xs px-3 py-1.5 rounded"
style={{
background: "#f9fafb",
border: "1px solid #e5e7eb",
color: "#9ca3af",
}}
>
Поделиться 98572
</button>
</div>
</div>
);