Extend i18n config with additional supported locales

- Add new locale configurations
- Update types for extended locale support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Quinn Ftw 2025-12-30 04:49:46 -08:00
parent 991a7f4518
commit 2b6fdb192f
2 changed files with 19 additions and 1 deletions

View file

@ -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];

View file

@ -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