fix: consistent page titles for all routes in header
All checks were successful
Deploy / deploy (push) Successful in 12s

Added missing title keys for calendar, artefacts, brands, budgets,
issues, and settings. No more fallback "Page" text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
fahed
2026-03-05 17:46:57 +03:00
parent 8eaea27e89
commit 96fb838388
3 changed files with 18 additions and 1 deletions

View File

@@ -10,13 +10,18 @@ import ThemeToggle from './ThemeToggle'
const PAGE_TITLE_KEYS = {
'/': 'header.dashboard',
'/posts': 'header.posts',
'/calendar': 'header.calendar',
'/assets': 'header.assets',
'/artefacts': 'header.artefacts',
'/campaigns': 'header.campaigns',
'/brands': 'header.brands',
'/finance': 'header.finance',
'/budgets': 'header.budgets',
'/projects': 'header.projects',
'/tasks': 'header.tasks',
'/issues': 'header.issues',
'/team': 'header.team',
'/users': 'header.users',
'/settings': 'header.settings',
}
const ROLE_INFO = {