Files
editor/apps/community/lib/navigation.ts
T
2026-03-11 12:16:26 +01:00

16 lines
297 B
TypeScript

/**
* Navigation helpers for project-based routing
*/
export function getEditorUrl(projectId: string): string {
return `/editor/${projectId}`
}
export function getViewerUrl(projectId: string): string {
return `/viewer/${projectId}`
}
export function getHomeUrl(): string {
return '/'
}