add fresh project

This commit is contained in:
2025-10-25 21:17:18 +02:00
parent 887ca6aa23
commit 08a11b81df
23 changed files with 1880 additions and 12 deletions
+15
View File
@@ -0,0 +1,15 @@
import { createDefine } from "fresh";
import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
// This specifies the type of "ctx.state" which is used to share
// data among middlewares, layouts and routes.
export interface State {
shared: string;
}
export const define = createDefine<State>();