Implement ProgCode identity and real shared reading UI kit
Build and deploy / deploy (push) Successful in 2m39s

This commit is contained in:
huncode committed 2026-10-27 15:19:49 +03:00
1 parent 99c848189e
commit 12562baeb5
2040 files changed
+184656 -181

No files matched your search

@@ -0,0 +1,3 @@
import {Prose} from '../../shared/ui';
import {ContentAccess} from '../../features/content-access';
export default function ArticleReader({article,related}){return <div className="reading-layout">{article.toc?.length>1&&<aside className="contents-rail"><details open><summary>В этой статье</summary><nav aria-label="Оглавление статьи">{article.toc.map((section,index)=><a key={section.id} href={'#'+section.id}><span>{String(index+1).padStart(2,'0')}</span>{section.title}</a>)}</nav></details></aside>}<div className="reading-column"><Prose html={article.contentHtml}/><ContentAccess/><div className="article-end"><span>КОНЕЦ ЗАМЕТКИ</span><a href="#main">↑ В начало</a></div>{related}</div></div>}