16 lines
297 B
TypeScript
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 '/'
|
|
}
|