Unify workspace dropdowns; Update layouts (#458)
Unified Account and Workspace drop-downs; Layout updates, now header lives within the PageBody component; Sidebars now use floating variant
This commit is contained in:
committed by
GitHub
parent
ca585e09be
commit
4bc8448a1d
10
packages/i18n/src/navigation.ts
Normal file
10
packages/i18n/src/navigation.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { createNavigation } from 'next-intl/navigation';
|
||||
|
||||
import { routing } from './routing';
|
||||
|
||||
/**
|
||||
* Creates navigation utilities for next-intl.
|
||||
* These utilities are locale-aware and automatically handle routing with locales.
|
||||
*/
|
||||
export const { Link, redirect, usePathname, useRouter, permanentRedirect } =
|
||||
createNavigation(routing);
|
||||
Reference in New Issue
Block a user