feat: working file listing & saving

This commit is contained in:
2024-02-20 06:52:39 +00:00
parent 6b278b092e
commit eb2fd4404b
37 changed files with 3268 additions and 259 deletions
+1
View File
@@ -0,0 +1 @@
export const IS_DEV = process.env.NODE_ENV === "development";
+7 -3
View File
@@ -1,6 +1,10 @@
import { type ClassValue, clsx } from "clsx"
import { twMerge } from "tailwind-merge"
import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
return twMerge(clsx(inputs));
}
export function getFileExt(filename: string) {
return filename.substring(filename.lastIndexOf(".") + 1);
}