8eb88399a3
Add header menu with About and Instructions modals so GMs can read product details and step-by-step help for all app features. Co-authored-by: Cursor <cursoragent@cursor.com>
29 lines
616 B
TypeScript
29 lines
616 B
TypeScript
/** Порядок разделов в окне «Инструкция». */
|
|
export const HELP_SECTION_IDS = [
|
|
'overview',
|
|
'license',
|
|
'projects',
|
|
'scenes',
|
|
'graph',
|
|
'sceneProps',
|
|
'campaignAudio',
|
|
'session',
|
|
'controlPanel',
|
|
'transitions',
|
|
'music',
|
|
'effects',
|
|
'presentation',
|
|
'importExport',
|
|
'settings',
|
|
] as const;
|
|
|
|
export type HelpSectionId = (typeof HELP_SECTION_IDS)[number];
|
|
|
|
export function helpSectionTitleKey(id: HelpSectionId): string {
|
|
return `help.section.${id}.title`;
|
|
}
|
|
|
|
export function helpSectionBodyKey(id: HelpSectionId): string {
|
|
return `help.section.${id}.body`;
|
|
}
|