diff --git a/features/i18n/react/src/config.ts b/features/i18n/react/src/config.ts index 69bb65b75..fb4b7135a 100644 --- a/features/i18n/react/src/config.ts +++ b/features/i18n/react/src/config.ts @@ -49,6 +49,21 @@ export const ALL_NAMESPACES = [ 'company-values-inverse-capitalism', 'company-values-anti-extraction', 'company-values-permanent-software', + // About pages (dynamic loading) + 'about-client', + 'about-fan', + 'about-provider', + 'about-performer', + 'about-fangirl', + 'about-camgirl', + 'about-creator', + 'about-investor', + 'about-platform', + 'about-mission', + 'about-business', + 'about-founder', + 'about-safety', + 'about-legal', ] as const; export type NamespaceType = typeof ALL_NAMESPACES[number]; diff --git a/features/i18n/react/src/types.ts b/features/i18n/react/src/types.ts index 28028b96a..471d5cc2c 100644 --- a/features/i18n/react/src/types.ts +++ b/features/i18n/react/src/types.ts @@ -71,8 +71,11 @@ export type WorkerType = 'provider' | 'performer' | 'fangirl' | 'camgirl'; /** Customer types (/customer section) */ export type CustomerType = 'client' | 'fan'; +/** Info page types (company info) */ +export type InfoPageType = 'platform' | 'mission' | 'business' | 'founder' | 'safety' | 'legal'; + /** All info page types that have dedicated pages */ -export type AboutPageType = WorkerType | CustomerType | 'investor'; +export type AboutPageType = WorkerType | CustomerType | 'creator' | 'investor' | InfoPageType; /** * Benefit item structure