Beautiful pdf components, built on Takumi and Forme. 100% Free, Zero config, one command setup.
import { cn } from "cn";
import { SITE } from "@/constants/site";
export { cn };
export const absoluteUrl = (path: string) => `${SITE.URL}${path}`;
export const formatLabelFromSlug = (slug: string) =>
slug
.split("-")
.map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1))
.join(" ");