export function getPageName(): string { // Get the page name from the URL const pageName = window.location.pathname.split('/').pop(); return pageName || ''; }