Files
zeekay b111357c54 feat: Complete sync with upstream shadcn/ui
- Full parity with shadcn/ui components and features
- All 48 UI components present and updated
- All 72 chart variations included
- All 149 example implementations
- Updated registry files for all themes
- Added monorepo templates
- Fixed test configurations
- Updated all dependencies
- Maintained Hanzo branding throughout
2025-09-17 23:12:16 -05:00

17 lines
431 B
JavaScript

import { clsx } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs) {
return twMerge(clsx(inputs));
}
export function formatDate(input) {
const date = new Date(input);
return date.toLocaleDateString("en-US", {
month: "long",
day: "numeric",
year: "numeric",
});
}
export function absoluteUrl(path) {
return `${process.env.NEXT_PUBLIC_APP_URL}${path}`;
}