0}>
{t.mission.title}
{m.mission.text}
{t.sections.goals}
{t.sections.goalText}
{t.directions.title}
- {m.directions.map(d => {d.title}
{d.text ?? t.tbc}
)}
+ {m.directions.map(d => {d.title}
{d.text}
)}
- {[t.sections.founder,t.sections.leadership,t.sections.board].map(label => )}
+ {people.length > 0 && {people.map(b =>
{b.label}
{b.items.map(p => - {p.name}{p.role ? {p.role} : null}
)}
)}
}
+ {data.partners.length > 0 && {t.sections.partners}
{data.partners.map(p => - {p.url ? {p.name} : p.name}
)}
}
}
diff --git a/src/i18n/en.ts b/src/i18n/en.ts
index ec30c7b..5fb2bfa 100644
--- a/src/i18n/en.ts
+++ b/src/i18n/en.ts
@@ -1,7 +1,7 @@
import type { Dict } from './types'
export const en: Dict = {
- sections: {"about": "About the foundation", "contacts": "Contacts", "goals": "Goals", "goalText": "Preserve the legacy of outstanding cultural figures and artists, pass it on to new generations, and support cultural and educational initiatives.", "founder": "Founder", "leadership": "Leadership", "board": "Board of trustees", "read": "Read", "source": "Source", "review": "Translation awaiting review."},
+ sections: {"about": "About the foundation", "contacts": "Contacts", "partners": "Partners", "goals": "Goals", "goalText": "Collect and organise archives, manuscripts and recordings; publish books and music collections; make the legacy available to a wide audience in digital form; support young musicians and researchers; build ties with cultural organisations abroad.", "founder": "Founder", "leadership": "Leadership", "board": "Board of trustees", "read": "Read", "source": "Source", "review": "Translation awaiting review."},
siteName: 'Qazaq Legacy Foundation',
metaTitle: 'Qazaq Legacy Foundation — a private foundation for Kazakhstan’s heritage',
metaDescription:
diff --git a/src/i18n/kk.ts b/src/i18n/kk.ts
index 77abd9d..b4503c4 100644
--- a/src/i18n/kk.ts
+++ b/src/i18n/kk.ts
@@ -1,7 +1,7 @@
import type { Dict } from './types'
export const kk: Dict = {
- sections: {"about": "Қор туралы", "contacts": "Байланыс", "goals": "Мақсаттар", "goalText": "Мәдениет пен өнердің көрнекті қайраткерлерінің мұрасын сақтау, оны жаңа ұрпаққа жеткізу және мәдени-ағартушылық бастамаларды қолдау.", "founder": "Құрылтайшы", "leadership": "Басшылық", "board": "Қамқоршылық кеңес", "read": "Оқу", "source": "Дереккөз", "review": "Аударманы тексеру қажет."},
+ sections: {"about": "Қор туралы", "contacts": "Байланыс", "partners": "Серіктестер", "goals": "Мақсаттар", "goalText": "Мұрағаттарды, қолжазбалар мен жазбаларды жинап, жүйелеу; кітаптар мен музыкалық жинақтар шығару; мұраны кең аудиторияға цифрлық түрде ұсыну; жас музыканттар мен зерттеушілерге қолдау көрсету; шетелдік мәдени ұйымдармен байланыс орнату.", "founder": "Құрылтайшы", "leadership": "Басшылық", "board": "Қамқоршылық кеңес", "read": "Оқу", "source": "Дереккөз", "review": "Аударманы тексеру қажет."},
siteName: 'Qazaq Legacy Foundation',
metaTitle: 'Qazaq Legacy Foundation — Қазақстан мұрасының жеке қоры',
metaDescription:
diff --git a/src/i18n/ru.ts b/src/i18n/ru.ts
index 9f9ed9e..e7dea95 100644
--- a/src/i18n/ru.ts
+++ b/src/i18n/ru.ts
@@ -1,7 +1,7 @@
import type { Dict } from './types'
export const ru: Dict = {
- sections: {"about": "О фонде", "contacts": "Контакты", "goals": "Цели", "goalText": "Сохранять наследие выдающихся деятелей культуры и искусства, передавать его новым поколениям и поддерживать культурные и просветительские инициативы.", "founder": "Учредитель", "leadership": "Руководство", "board": "Попечительский совет", "read": "Читать", "source": "Источник", "review": ""},
+ sections: {"about": "О фонде", "contacts": "Контакты", "partners": "Партнёры", "goals": "Цели", "goalText": "Собирать и систематизировать архивы, рукописи и записи; издавать книги и музыкальные сборники; открывать наследие широкой аудитории в цифровом виде; помогать молодым музыкантам и исследователям; выстраивать связи с зарубежными культурными организациями.", "founder": "Учредитель", "leadership": "Руководство", "board": "Попечительский совет", "read": "Читать", "source": "Источник", "review": ""},
siteName: 'Qazaq Legacy Foundation',
metaTitle: 'Qazaq Legacy Foundation — частный фонд наследия Казахстана',
metaDescription:
diff --git a/src/i18n/types.ts b/src/i18n/types.ts
index b902faf..ac375b4 100644
--- a/src/i18n/types.ts
+++ b/src/i18n/types.ts
@@ -2,7 +2,7 @@ export const locales = ['ru', 'kk', 'en'] as const
export type Locale = (typeof locales)[number]
export type Dict = {
- sections: { about: string; contacts: string; goals: string; goalText: string; founder: string; leadership: string; board: string; read: string; source: string; review: string }
+ sections: { about: string; contacts: string; partners: string; goals: string; goalText: string; founder: string; leadership: string; board: string; read: string; source: string; review: string }
siteName: string
metaTitle: string
metaDescription: string
diff --git a/src/lib/about-model.ts b/src/lib/about-model.ts
new file mode 100644
index 0000000..788fdd5
--- /dev/null
+++ b/src/lib/about-model.ts
@@ -0,0 +1,15 @@
+import type { Locale } from '@/i18n'
+
+export type AboutPerson = { name: string; role?: string }
+export type AboutPartner = { name: string; url?: string }
+export type AboutPeople = { founder: AboutPerson[]; leadership: AboutPerson[]; board: AboutPerson[]; partners: AboutPartner[] }
+
+/**
+ * Данные страницы «О фонде». Пока фонд не передал сведения, списки пусты, и блоки не показываются.
+ * Как только в список на нужном языке добавят запись, блок появится сам.
+ */
+export const aboutPeople: Record