Спецификация главной страницы, Category и Topic pages в визуальном языке Fyrre Magazine: editorial-grid, featured content, карточки, рубрики, topic clusters, pagination, mobile layout и data contracts.
Главная должна давать сильное журнальное впечатление и одновременно быстро вести пользователя к практическим разделам. Category и Topic pages должны быть полноценными тематическими входами в портал.
HEADER ↓ EDITORIAL HERO ↓ CATEGORY RAIL ↓ LATEST GRID ↓ FEATURED CATEGORY #1 ↓ AD SLOT ↓ FEATURED CATEGORY #2 ↓ POPULAR / RECOMMENDED ↓ KNOWLEDGE / TERMS TEASER ↓ MORE ARTICLES ↓ FOOTER
type HomePageView = {
hero?: ArticleCardView
categories: CategoryNavView[]
latest: ArticleCardView[]
categorySections: HomeCategorySection[]
popular: ArticleCardView[]
recommended?: ArticleCardView[]
terms: TermTeaserView[]
}| Приоритет | Логика |
|---|---|
| 1 | явно выбранная editorial featured статья |
| 2 | последняя published статья из приоритетной категории |
| 3 | последняя published статья вообще |
Данные из active Categories, сортировка по sortOrder. Desktop — horizontal rail/inline nav. Mobile — horizontal scroll с нормальными tap targets.
HomeCategorySection {
category
leadArticle
secondaryArticles[]
optionalTopicLinks[]
}Каждая секция — мини-разворот журнала, а не копия предыдущей.
HEADER ↓ CATEGORY HERO ├── name ├── description ├── optional image └── topic chips ↓ FEATURED ARTICLE ↓ ARTICLE GRID ↓ PAGINATION ↓ RELATED TERMS ↓ FOOTER
type CategoryPageView = {
category: CategoryView
topics: TopicNavView[]
featured?: ArticleCardView
articles: ArticleCardView[]
page: number
totalPages: number
terms: TermTeaserView[]
}TOPIC NAME Parent category Description ↓ FEATURED / LATEST ↓ ARTICLE GRID ↓ RELATED TOPICS ↓ RELATED TERMS ↓ PAGINATION
type TopicPageView = {
topic: TopicView
parentCategory?: CategoryNavView
featured?: ArticleCardView
articles: ArticleCardView[]
relatedTopics: TopicNavView[]
terms: TermTeaserView[]
page: number
totalPages: number
}| Variant | Использование |
|---|---|
| hero | главная / category lead |
| large | editorial section |
| standard | обычная сетка |
| compact | secondary lists |
usedArticleIds = Set() hero -> add id latest -> filter used category sections -> filter used popular -> filter used if possible recommended -> filter used
| Ситуация | Поведение |
|---|---|
| Категория без статей | описание + topics/terms + controlled empty state |
| Topic без статей | related topics/category link |
| Нет featured | grid поднимается выше |
| Нет hero image | text-led composition |
| Нет terms | section hidden |
parallel: - settings - navigation - hero - categories - latest - category sections - terms optional/deferred: - recommended - popular analytics
HEADER Hero Category horizontal rail Latest stacked cards Category section A Ad Category section B Popular Terms Footer
Mobile не должен быть просто сжатым desktop.
| # | Проверка | PASS |
|---|---|---|
| H01 | Home hero | published Payload article |
| H02 | Duplicate hero/latest | suppressed |
| H03 | Category route | correct category articles |
| H04 | Pagination | different pages |
| H05 | Topic route | correct topic articles |
| H06 | Empty category | controlled UI |
| H07 | Gorse down | home still works |
| H08 | Missing image | card valid |
1. HomePageView 2. CategoryPageView 3. TopicPageView 4. HeroStory 5. CategoryRail 6. LatestGrid 7. HomeCategorySection 8. ArticleCard variants 9. CategoryHero 10. TopicHero 11. Pagination 12. duplicate suppression helper 13. responsive screenshots/report 14. functional tests 15. performance notes 16. deviations.md 17. commit hash
build_07_terms_knowledge.html — глоссарий, Terms, internal linking, aliases и knowledge-layer Mathchast.