15 lines
472 B
TypeScript
15 lines
472 B
TypeScript
import { clsx, type ClassValue } from "clsx"
|
|
import { twMerge } from "tailwind-merge"
|
|
|
|
export function cn(...inputs: ClassValue[]) {
|
|
return twMerge(clsx(inputs))
|
|
}
|
|
|
|
export function downloadAndNavigate() {
|
|
// Open download URL in a new tab/window (this will trigger the download)
|
|
window.open('https://github.com/owengretzinger/meetingnotes/releases/latest/download/Meetingnotes.dmg', '_blank')
|
|
|
|
// Navigate to download page
|
|
window.location.href = '/download'
|
|
}
|