Docs: admin languages and texts, wording rule for agents, new screen names

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-10-27 15:46:25 +01:00
co-authored by Claude Opus 5.5
parent 6b46bc0c14
commit 0a2374db18
45 changed files with 443 additions and 360 deletions
@@ -7,7 +7,7 @@
Navigation, footer and company data are **project globals** (the model depends on the client
and the country), built from the same shared fields as sections. Logo and name live in
Site Settings — do not duplicate them in Header.
Site settings — do not duplicate them in Header.
```ts
// src/globals/Header.ts
@@ -79,7 +79,7 @@ export const Footer: GlobalConfig = {
```
- **Legal links in the footer** (privacy policy, cookies, terms): `await getSystemLinks(locale)` from `lib/content`
— href and label (page title) from System Pages; do not add them by hand to `columns`, do not write labels in code.
— href and label (page title) from System pages; do not add them by hand to `columns`, do not write labels in code.
- Highlighted menu item / button in a different colour = a style in the admin panel:
`buildLinkField({ appearances: ['default', { label: 'Highlighted', value: 'highlight' }] })` → a class in the project.
- **Company data** (name, address, NIP/ABN, phone) — the project's `company` global;
@@ -117,7 +117,7 @@ export async function Header({ header, locale }: { header: HeaderData; locale: s
return (
<header className="border-b">
<nav className="container flex items-center justify-between py-4">
{/* logo: Site Settings → <Media> */}
{/* logo: Site settings → <Media> */}
<ul className="hidden gap-6 md:flex">
{items.map((item) => (
<li key={item.href}>