added mail service

This commit is contained in:
2024-04-10 21:24:25 +03:00
parent c76d4b9717
commit 78107d4ec7
80 changed files with 3478 additions and 329 deletions

12
lib/utils.ts Normal file
View File

@@ -0,0 +1,12 @@
import { type ClassValue, clsx } from 'clsx'
import { twMerge } from 'tailwind-merge'
import { LC } from '@/config/locales'
import bcrypt from 'bcryptjs'
export function cn (...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
export function lc (locale: string) {
return LC.filter(lc => locale === lc.code)[0]
}