Files
progcode/web/fsd/entities/article/ui/EditorialNote.jsx
T
huncode 12562baeb5
Build and deploy / deploy (push) Successful in 2m39s
Implement ProgCode identity and real shared reading UI kit
2026-10-27 15:19:49 +03:00

3 lines
670 B
React
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import {TextLink} from '../../../shared/ui';
export function EditorialNote({article}){const greeting=article.slug==='привет-мир';return <p className="editorial-note">{greeting?'Редакционный пересказ исторической записи: речь от первого лица здесь не является дословной цитатой автора.':'Редакционная версия: формулировки, структура и примеры могут отличаться от архивной страницы.'}{' '}<TextLink href={article.source}>Сверить с архивным снимком →</TextLink></p>}