Spaces:
Sleeping
Sleeping
| import { clsx } from "clsx"; | |
| import { twMerge } from "tailwind-merge"; | |
| export function cn(...inputs) { | |
| return twMerge(clsx(inputs)); | |
| } | |
| export function createPageUrl(pageName) { | |
| const routes = { | |
| Dashboard: '/', | |
| Repository: '/repository', | |
| Scheduler: '/scheduler', | |
| PostEditor: '/post-editor', | |
| Integrations: '/integrations', | |
| }; | |
| return routes[pageName] || '/'; | |
| } | |