mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-02-12 05:42:07 +00:00
10 lines
274 B
TypeScript
10 lines
274 B
TypeScript
import { type ClassValue, clsx } from "clsx"
|
|
import { twMerge } from "tailwind-merge"
|
|
|
|
export function cn(...inputs: ClassValue[]) {
|
|
return twMerge(clsx(inputs))
|
|
}
|
|
|
|
export function absoluteUrl(pathname: string) {
|
|
return `${process.env.NEXT_PUBLIC_APP_URL}${pathname}`
|
|
}
|