export const getTitle = (location: string): string => {
    const titles: { [key: string]: string } = {
      '/': 'Dashboard',
      '/manage-user/register-user': 'Manage User',
      '/manage-user/deactivate-accounts': 'Manage User',
      '/manage-post': 'Manage Post',
      '/manage-sub-admin': 'Manage Sub Admin',
      '/manage-jobs': 'Manage Jobs',
      '/manage-contact-us': 'Manage Contact Us',
      '/manage-cms/faq': 'Manage CMS',
      '/manage-cms/about-us': 'Manage CMS',
      '/manage-cms/privacy-policy': 'Manage CMS',
      '/manage-cms/terms-and-condition': 'Manage CMS',
      '/profile': 'My Profile',
    };
  
    return titles[location] || 'Page Not Found';
  };
  