Spaces:
Sleeping
Sleeping
File size: 389 Bytes
f80e9b3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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] || '/';
}
|