@sarimarcus/content-sites-ui 0.42.1 → 0.42.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All packages in the platform release in lockstep; entries are per release version.
|
|
4
4
|
|
|
5
|
+
## 0.42.2 (2026-10-21)
|
|
6
|
+
|
|
7
|
+
- `editorial`: new `EraScenes`, a site's eras as stacked scenes: a hero (image, date range, title and hook; a bordered panel without an era image), a cast row of up to six imaged people and monuments that anchors to the strips, the era intro, then a People strip (`PersonCard`, role labels, life dates), a Monuments grid (4:3 `EntityCard`, a landmark placeholder without an image) and an Articles list capped at `articleLimit` (default 5). An empty strip keeps its heading and says so; the era index is a `TableOfContents`. New `SceneItem`, `SceneKind`, `EraScene` types and `splitScene()` (cast ranked imaged first, featured, then year); copy defaults in `LABELS.eraScenes`. `PersonCard`'s `headingLevel` also accepts 4. The People strip is a plain scroll-snap track, not `CardCarousel`, so its global CSS does not ship to every page that imports the editorial barrel. `ChronologyTimeline` and `PersonPage` markup are unchanged (SLA-3299).
|
|
8
|
+
|
|
5
9
|
## 0.42.1 (2026-10-21)
|
|
6
10
|
|
|
7
11
|
- `composed`: `EntityCard` gains `footerDivider` (default `true`, the hairline above the footer row); every existing caller renders identically. `editorial`: `PersonCard` and the featured full-story card of `PersonPage` pass `false`, so the divider above the CTA is gone on person cards (SLA-3303).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sarimarcus/content-sites-ui",
|
|
3
|
-
"version": "0.42.
|
|
3
|
+
"version": "0.42.2",
|
|
4
4
|
"description": "Universal Astro UI components, layout shell and design tokens shared by the content sites.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -50,6 +50,6 @@
|
|
|
50
50
|
"@lucide/astro": "^1.23.0",
|
|
51
51
|
"astro": "^7.0.6",
|
|
52
52
|
"tailwindcss": "^4.1.18",
|
|
53
|
-
"@sarimarcus/content-sites-core": "0.42.
|
|
53
|
+
"@sarimarcus/content-sites-core": "0.42.2"
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
---
|
|
2
|
+
/**
|
|
3
|
+
* EraScenes — a site's eras as stacked scenes, one per era: hero (image, date range, title, hook), a cast row of
|
|
4
|
+
* faces and buildings that anchors to the strips below, the era's intro, then people, monuments and articles.
|
|
5
|
+
* Entries arrive in `items` keyed by era id, each tagged with its strip (`SceneItem.type`); `splitScene` picks the
|
|
6
|
+
* cast and caps the articles. An empty people or monuments strip keeps its heading and says so; an era with no
|
|
7
|
+
* entries at all still renders its scene, so eraHref() links never dead-end. Without `era.image` the header is a
|
|
8
|
+
* plain bordered panel. Scenes alternate a muted tint. Only the first scene's hero loads eagerly.
|
|
9
|
+
* The `index` ToC jumps between eras; `data-chronology-era` marks each scene for its scrollspy.
|
|
10
|
+
*/
|
|
11
|
+
import type { ImageMetadata } from 'astro';
|
|
12
|
+
import type { EraDefinition } from '@sarimarcus/content-sites-core/eras';
|
|
13
|
+
import TableOfContents from '../composed/TableOfContents.astro';
|
|
14
|
+
import EntityCard from '../composed/EntityCard.astro';
|
|
15
|
+
import Container from '../layout/Container.astro';
|
|
16
|
+
import Icon from '../primitives/Icon.astro';
|
|
17
|
+
import LinkArrow from '../primitives/LinkArrow.astro';
|
|
18
|
+
import ResponsivePicture from '../primitives/ResponsivePicture.astro';
|
|
19
|
+
import PersonCard from './PersonCard.astro';
|
|
20
|
+
import CardPlaceholder from './CardPlaceholder.astro';
|
|
21
|
+
import { LABELS } from '../internal/labels';
|
|
22
|
+
import { splitScene, type SceneItem } from './chronology';
|
|
23
|
+
|
|
24
|
+
type SceneLabels = typeof LABELS.eraScenes;
|
|
25
|
+
|
|
26
|
+
interface Props {
|
|
27
|
+
eras: readonly EraDefinition[];
|
|
28
|
+
/** Entries keyed by era id, already ordered (people and monuments by year, articles newest first). */
|
|
29
|
+
items: Record<string, readonly SceneItem[]>;
|
|
30
|
+
/** The jump links above the scenes. */
|
|
31
|
+
index?: boolean;
|
|
32
|
+
castLimit?: number;
|
|
33
|
+
articleLimit?: number;
|
|
34
|
+
labels?: Partial<SceneLabels>;
|
|
35
|
+
class?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
const { eras, items, index = true, castLimit = 6, articleLimit = 5, labels, class: className } = Astro.props;
|
|
39
|
+
const L: SceneLabels = { ...LABELS.eraScenes, ...labels };
|
|
40
|
+
|
|
41
|
+
const ordered = [...eras].sort((a, b) => a.startYear - b.startYear);
|
|
42
|
+
const scenes = ordered.map((era) => ({ era, scene: splitScene(items[era.id] ?? [], { castLimit, articleLimit }) }));
|
|
43
|
+
|
|
44
|
+
if (import.meta.env.DEV) {
|
|
45
|
+
const known = new Set(eras.map((e) => e.id));
|
|
46
|
+
const orphans = Object.keys(items).filter((id) => !known.has(id) && items[id].length);
|
|
47
|
+
if (orphans.length) console.warn(`EraScenes: entries for unknown era id(s) ${orphans.join(', ')} are not rendered.`);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const asImage = (image: SceneItem['image']): ImageMetadata | undefined => (typeof image === 'object' ? image : undefined);
|
|
51
|
+
const asSrc = (image: SceneItem['image']): string | undefined => (typeof image === 'string' ? image : undefined);
|
|
52
|
+
// A plain snap track: CardCarousel's CSS would ship to every page importing the editorial barrel.
|
|
53
|
+
const track = 'flex gap-4 overflow-x-auto snap-x snap-mandatory pb-3 focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-ring';
|
|
54
|
+
const cardWidth = 'snap-start shrink-0 w-[72vw] sm:w-60';
|
|
55
|
+
const stripHeading = 'font-display text-2xl text-foreground';
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
<div data-era-scenes class:list={['w-full', className]}>
|
|
59
|
+
{index && scenes.length > 1 && (
|
|
60
|
+
<Container class="pb-8 md:pb-12">
|
|
61
|
+
<TableOfContents
|
|
62
|
+
showHeader={false}
|
|
63
|
+
ariaLabel={L.indexLabel}
|
|
64
|
+
items={scenes.map(({ era }) => ({ label: era.label, href: `#${era.anchor}` }))}
|
|
65
|
+
sectionSelector="[data-chronology-era]"
|
|
66
|
+
hideMiniPastLastSection
|
|
67
|
+
/>
|
|
68
|
+
</Container>
|
|
69
|
+
)}
|
|
70
|
+
{scenes.map(({ era, scene }, n) => {
|
|
71
|
+
const cast = scene.cast.map((item) => {
|
|
72
|
+
const list = item.type === 'person' ? scene.people : scene.monuments;
|
|
73
|
+
return { item, href: `#${era.anchor}-${item.type}-${list.indexOf(item)}` };
|
|
74
|
+
});
|
|
75
|
+
const hero = era.image;
|
|
76
|
+
return (
|
|
77
|
+
<section
|
|
78
|
+
id={era.anchor}
|
|
79
|
+
data-chronology-era={era.id}
|
|
80
|
+
aria-labelledby={`${era.anchor}-title`}
|
|
81
|
+
class:list={['scroll-mt-28 py-10 md:py-14', n % 2 === 1 && 'bg-muted/30']}
|
|
82
|
+
>
|
|
83
|
+
<Container>
|
|
84
|
+
<header class:list={['relative isolate flex min-h-60 items-end overflow-hidden rounded-xl sm:min-h-72 md:min-h-80', !hero && 'border border-border bg-card']}>
|
|
85
|
+
{hero && (
|
|
86
|
+
<>
|
|
87
|
+
<ResponsivePicture
|
|
88
|
+
src={hero}
|
|
89
|
+
alt=""
|
|
90
|
+
sizes="(min-width: 1152px) 1152px, 100vw"
|
|
91
|
+
loading={n === 0 ? 'eager' : 'lazy'}
|
|
92
|
+
fetchpriority={n === 0 ? 'high' : undefined}
|
|
93
|
+
decoding="async"
|
|
94
|
+
pictureAttributes={{ class: 'absolute inset-0 -z-10' }}
|
|
95
|
+
class="size-full object-cover"
|
|
96
|
+
/>
|
|
97
|
+
<div class="absolute inset-0 -z-10 bg-gradient-to-t from-overlay/90 via-overlay/45 to-transparent" aria-hidden="true"></div>
|
|
98
|
+
</>
|
|
99
|
+
)}
|
|
100
|
+
<div class:list={['relative w-full p-5 sm:p-8', hero ? 'text-overlay-foreground' : 'text-foreground']}>
|
|
101
|
+
<p class="font-display text-5xl leading-none tabular-nums sm:text-6xl md:text-7xl">{era.rangeLabel}</p>
|
|
102
|
+
<h2 id={`${era.anchor}-title`} class="mt-3 font-display text-2xl leading-tight text-balance sm:text-3xl md:text-4xl">{era.label}</h2>
|
|
103
|
+
{era.hook && <p class:list={['mt-2 max-w-measure text-lg leading-snug', hero ? 'text-overlay-foreground/90' : 'text-muted-foreground']}>{era.hook}</p>}
|
|
104
|
+
</div>
|
|
105
|
+
</header>
|
|
106
|
+
|
|
107
|
+
{cast.length > 0 && (
|
|
108
|
+
<div class="mt-8" data-era-cast>
|
|
109
|
+
<p id={`${era.anchor}-cast`} class="text-sm font-semibold text-muted-foreground">{L.castLabel}</p>
|
|
110
|
+
<ul aria-labelledby={`${era.anchor}-cast`} class="mt-3 flex flex-wrap gap-x-4 gap-y-3">
|
|
111
|
+
{cast.map(({ item, href }) => (
|
|
112
|
+
<li class="w-20">
|
|
113
|
+
<a href={href} class="group flex flex-col gap-1.5 rounded-lg focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-ring">
|
|
114
|
+
<span class="block aspect-square overflow-hidden rounded-lg bg-muted">
|
|
115
|
+
{asImage(item.image) ? (
|
|
116
|
+
<ResponsivePicture src={asImage(item.image)!} alt="" sizes="80px" loading="lazy" decoding="async" pictureAttributes={{ class: 'block size-full' }} class="size-full object-cover" />
|
|
117
|
+
) : (
|
|
118
|
+
<img src={asSrc(item.image)} alt="" width="80" height="80" loading="lazy" decoding="async" class="size-full object-cover" />
|
|
119
|
+
)}
|
|
120
|
+
</span>
|
|
121
|
+
<span class="line-clamp-2 text-sm leading-tight text-foreground group-hover:text-primary">{item.title}</span>
|
|
122
|
+
</a>
|
|
123
|
+
</li>
|
|
124
|
+
))}
|
|
125
|
+
</ul>
|
|
126
|
+
</div>
|
|
127
|
+
)}
|
|
128
|
+
|
|
129
|
+
<p class="mt-8 max-w-measure text-lg leading-relaxed text-foreground">{era.intro}</p>
|
|
130
|
+
|
|
131
|
+
<div class="mt-10">
|
|
132
|
+
<h3 id={`${era.anchor}-people`} class={stripHeading}>{L.peopleHeading}</h3>
|
|
133
|
+
{scene.people.length > 0 ? (
|
|
134
|
+
<div role="region" aria-labelledby={`${era.anchor}-people`} tabindex="0" class={`mt-4 ${track}`}>
|
|
135
|
+
{scene.people.map((item, i) => (
|
|
136
|
+
<div id={`${era.anchor}-person-${i}`} class={`${cardWidth} scroll-mt-28`}>
|
|
137
|
+
<PersonCard
|
|
138
|
+
href={item.href}
|
|
139
|
+
name={item.title}
|
|
140
|
+
image={asImage(item.image)}
|
|
141
|
+
fallbackSrc={asSrc(item.image)}
|
|
142
|
+
imageAlt={L.portraitAlt(item.title)}
|
|
143
|
+
dates={item.yearLabel}
|
|
144
|
+
roles={item.roles}
|
|
145
|
+
knownFor={item.description}
|
|
146
|
+
headingLevel={4}
|
|
147
|
+
sizes="(max-width: 639px) 72vw, 240px"
|
|
148
|
+
/>
|
|
149
|
+
</div>
|
|
150
|
+
))}
|
|
151
|
+
</div>
|
|
152
|
+
) : (
|
|
153
|
+
<p class="mt-2 text-muted-foreground">{L.emptyPeople}</p>
|
|
154
|
+
)}
|
|
155
|
+
</div>
|
|
156
|
+
|
|
157
|
+
<div class="mt-10">
|
|
158
|
+
<h3 id={`${era.anchor}-monuments`} class={stripHeading}>{L.monumentsHeading}</h3>
|
|
159
|
+
{scene.monuments.length > 0 ? (
|
|
160
|
+
<div class="mt-4 grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
|
|
161
|
+
{scene.monuments.map((item, i) => (
|
|
162
|
+
<div id={`${era.anchor}-monument-${i}`} class="scroll-mt-28">
|
|
163
|
+
<EntityCard
|
|
164
|
+
href={item.href}
|
|
165
|
+
variant="poster"
|
|
166
|
+
mediaClass="aspect-[4/3]"
|
|
167
|
+
image={asImage(item.image)}
|
|
168
|
+
fallbackSrc={asSrc(item.image)}
|
|
169
|
+
imageAlt=""
|
|
170
|
+
sizes="(max-width: 639px) 100vw, (max-width: 1023px) 50vw, 360px"
|
|
171
|
+
footer={false}
|
|
172
|
+
>
|
|
173
|
+
<CardPlaceholder slot="fallback">
|
|
174
|
+
<Icon name="landmark" class="size-10 text-primary/60" />
|
|
175
|
+
</CardPlaceholder>
|
|
176
|
+
<h4 class="text-lg font-semibold leading-snug text-foreground text-pretty">{item.title}</h4>
|
|
177
|
+
<p class="mt-1 flex flex-wrap gap-x-2 text-sm text-muted-foreground">
|
|
178
|
+
{item.yearLabel && <span class="tabular-nums font-medium text-foreground">{item.yearLabel}</span>}
|
|
179
|
+
{item.yearLabel && <span aria-hidden="true">·</span>}
|
|
180
|
+
<span>{item.kind}</span>
|
|
181
|
+
</p>
|
|
182
|
+
{item.description && <p class="mt-2 line-clamp-3 text-sm leading-relaxed text-muted-foreground">{item.description}</p>}
|
|
183
|
+
</EntityCard>
|
|
184
|
+
</div>
|
|
185
|
+
))}
|
|
186
|
+
</div>
|
|
187
|
+
) : (
|
|
188
|
+
<p class="mt-2 text-muted-foreground">{L.emptyMonuments}</p>
|
|
189
|
+
)}
|
|
190
|
+
</div>
|
|
191
|
+
|
|
192
|
+
<div class="mt-10">
|
|
193
|
+
<h3 id={`${era.anchor}-articles`} class={stripHeading}>{L.articlesHeading}</h3>
|
|
194
|
+
{scene.articles.length > 0 ? (
|
|
195
|
+
<ol aria-labelledby={`${era.anchor}-articles`} class="mt-4 divide-y divide-border border-y border-border">
|
|
196
|
+
{scene.articles.map((item) => (
|
|
197
|
+
<li class="group/entry relative flex items-start gap-3 py-5 sm:gap-6">
|
|
198
|
+
<div class="min-w-0 flex-1">
|
|
199
|
+
<h4 class="text-lg font-semibold leading-snug text-foreground text-pretty">
|
|
200
|
+
<a href={item.href} class="rounded-sm transition-colors group-hover/entry:text-primary focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-ring after:absolute after:inset-0">{item.title}</a>
|
|
201
|
+
</h4>
|
|
202
|
+
<p class="mt-1 flex flex-wrap gap-x-2 gap-y-0.5 text-sm text-muted-foreground">
|
|
203
|
+
{item.yearLabel && <span class="tabular-nums font-medium text-foreground">{item.yearLabel}</span>}
|
|
204
|
+
{item.yearLabel && <span aria-hidden="true">·</span>}
|
|
205
|
+
<span>{item.kind}</span>
|
|
206
|
+
</p>
|
|
207
|
+
{item.description && (
|
|
208
|
+
<p class="mt-2 line-clamp-3 max-w-measure text-base leading-relaxed text-muted-foreground sm:line-clamp-none">{item.description}</p>
|
|
209
|
+
)}
|
|
210
|
+
</div>
|
|
211
|
+
{item.image && (
|
|
212
|
+
<div class="aspect-[4/3] w-16 shrink-0 overflow-hidden rounded-md bg-muted sm:w-32">
|
|
213
|
+
{asImage(item.image) ? (
|
|
214
|
+
<ResponsivePicture src={asImage(item.image)!} alt="" sizes="(min-width: 640px) 128px, 64px" loading="lazy" decoding="async" class="size-full object-cover" />
|
|
215
|
+
) : (
|
|
216
|
+
<img src={asSrc(item.image)} alt="" width="128" height="96" loading="lazy" decoding="async" class="size-full object-cover" />
|
|
217
|
+
)}
|
|
218
|
+
</div>
|
|
219
|
+
)}
|
|
220
|
+
</li>
|
|
221
|
+
))}
|
|
222
|
+
</ol>
|
|
223
|
+
) : (
|
|
224
|
+
<p class="mt-2 text-muted-foreground">{L.emptyArticles}</p>
|
|
225
|
+
)}
|
|
226
|
+
</div>
|
|
227
|
+
|
|
228
|
+
{era.dossiers && era.dossiers.length > 0 && (
|
|
229
|
+
<div class="mt-8">
|
|
230
|
+
<p id={`${era.anchor}-dossiers`} class="text-sm font-semibold text-foreground">{L.dossiersLabel}</p>
|
|
231
|
+
<ul aria-labelledby={`${era.anchor}-dossiers`} class="mt-2 flex flex-wrap gap-x-6">
|
|
232
|
+
{era.dossiers.map((d) => (
|
|
233
|
+
<li><LinkArrow href={d.href} color="secondary" class="min-h-11">{d.label}</LinkArrow></li>
|
|
234
|
+
))}
|
|
235
|
+
</ul>
|
|
236
|
+
</div>
|
|
237
|
+
)}
|
|
238
|
+
</Container>
|
|
239
|
+
</section>
|
|
240
|
+
);
|
|
241
|
+
})}
|
|
242
|
+
</div>
|
|
@@ -32,7 +32,7 @@ interface Props {
|
|
|
32
32
|
/** Deprecated: clamped fallback when `knownFor` is absent. */
|
|
33
33
|
description?: string;
|
|
34
34
|
ctaLabel?: string;
|
|
35
|
-
headingLevel?: 2 | 3;
|
|
35
|
+
headingLevel?: 2 | 3 | 4;
|
|
36
36
|
index?: number;
|
|
37
37
|
eager?: number;
|
|
38
38
|
sizes?: string;
|
|
@@ -59,7 +59,7 @@ const {
|
|
|
59
59
|
class: className,
|
|
60
60
|
} = Astro.props;
|
|
61
61
|
|
|
62
|
-
const Heading = `h${headingLevel}` as 'h2' | 'h3';
|
|
62
|
+
const Heading = `h${headingLevel}` as 'h2' | 'h3' | 'h4';
|
|
63
63
|
const initials = monogram ?? initialsOf(name);
|
|
64
64
|
---
|
|
65
65
|
|
|
@@ -11,6 +11,49 @@ export interface TimelineItem {
|
|
|
11
11
|
image?: ImageMetadata | string;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
export type SceneKind = 'person' | 'monument' | 'article';
|
|
15
|
+
|
|
16
|
+
/** One entry of an EraScenes era: a TimelineItem plus the strip it belongs to. */
|
|
17
|
+
export interface SceneItem extends TimelineItem {
|
|
18
|
+
type: SceneKind;
|
|
19
|
+
/** Sort year (historians' years, negative = BCE); the cast orders by it. */
|
|
20
|
+
year?: number;
|
|
21
|
+
/** People only: display role labels. */
|
|
22
|
+
roles?: readonly string[];
|
|
23
|
+
featured?: boolean;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export interface EraScene {
|
|
27
|
+
cast: SceneItem[];
|
|
28
|
+
people: SceneItem[];
|
|
29
|
+
monuments: SceneItem[];
|
|
30
|
+
articles: SceneItem[];
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Splits one era's entries into its strips. People and monuments keep the given order; articles keep it and are
|
|
35
|
+
* capped at `articleLimit` (the caller orders them, e.g. newest first). The cast is the people and monuments that
|
|
36
|
+
* have an image, featured first, then by year (entries without one last), capped at `castLimit`. Not mutating.
|
|
37
|
+
*/
|
|
38
|
+
export function splitScene(
|
|
39
|
+
entries: readonly SceneItem[],
|
|
40
|
+
{ castLimit = 6, articleLimit = 5 }: { castLimit?: number; articleLimit?: number } = {},
|
|
41
|
+
): EraScene {
|
|
42
|
+
const of = (type: SceneKind) => entries.filter((e) => e.type === type);
|
|
43
|
+
const people = of('person');
|
|
44
|
+
const monuments = of('monument');
|
|
45
|
+
const rank = (e: SceneItem) => [e.featured ? 0 : 1, e.year === undefined ? 1 : 0, e.year ?? 0] as const;
|
|
46
|
+
const cast = [...people, ...monuments]
|
|
47
|
+
.filter((e) => e.image)
|
|
48
|
+
.sort((a, b) => {
|
|
49
|
+
const [fa, ua, ya] = rank(a);
|
|
50
|
+
const [fb, ub, yb] = rank(b);
|
|
51
|
+
return fa - fb || ua - ub || ya - yb;
|
|
52
|
+
})
|
|
53
|
+
.slice(0, castLimit);
|
|
54
|
+
return { cast, people, monuments, articles: of('article').slice(0, articleLimit) };
|
|
55
|
+
}
|
|
56
|
+
|
|
14
57
|
/**
|
|
15
58
|
* Groups entries by era id and orders each group by year (entries without a year last), then by title. Entries whose
|
|
16
59
|
* era is undefined are dropped. The input is not mutated.
|
package/src/editorial/index.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
// Public surface of @sarimarcus/content-sites-ui/editorial.
|
|
2
2
|
export { default as EditorialGuidePage } from './EditorialGuidePage.astro';
|
|
3
|
+
export { default as EraScenes } from './EraScenes.astro';
|
|
4
|
+
export { splitScene } from './chronology';
|
|
5
|
+
export type { SceneItem, SceneKind, EraScene } from './chronology';
|
|
3
6
|
export { default as EventPage } from './EventPage.astro';
|
|
4
7
|
export { default as BeforeYouGo } from './BeforeYouGo.astro';
|
|
5
8
|
export { default as NumberedStep } from './NumberedStep.astro';
|
package/src/internal/labels.ts
CHANGED
|
@@ -121,4 +121,16 @@ export const LABELS = {
|
|
|
121
121
|
emptyLabel: '',
|
|
122
122
|
undatedLabel: 'Undated',
|
|
123
123
|
},
|
|
124
|
+
eraScenes: {
|
|
125
|
+
indexLabel: 'Eras',
|
|
126
|
+
castLabel: 'In this era',
|
|
127
|
+
peopleHeading: 'People',
|
|
128
|
+
monumentsHeading: 'Monuments',
|
|
129
|
+
articlesHeading: 'Articles',
|
|
130
|
+
dossiersLabel: 'Go deeper',
|
|
131
|
+
emptyPeople: 'No people catalogued for this era yet.',
|
|
132
|
+
emptyMonuments: 'No monuments catalogued for this era yet.',
|
|
133
|
+
emptyArticles: 'No articles for this era yet.',
|
|
134
|
+
portraitAlt: (name: string) => `Portrait of ${name}`,
|
|
135
|
+
},
|
|
124
136
|
};
|