add proper menu

This commit is contained in:
2024-12-13 10:39:17 +01:00
parent b7d50f8b9d
commit 7ca2678a6f
11 changed files with 136 additions and 17 deletions

View File

@@ -2,5 +2,11 @@ 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 const playAudio = (path: string, volume: number) => {
const audio = new Audio(path);
audio.volume = volume;
audio.play();
};