clean all
This commit is contained in:
1 parent
f57d6ec3d3
commit
27afb719f5
101 files changed
+45
-14426
No files matched your search
@@ -1,6 +0,0 @@
|
||||
import { clsx, type ClassValue } from 'clsx';
|
||||
import { twMerge } from 'tailwind-merge';
|
||||
|
||||
export function cn(...inputs: ClassValue[]): string {
|
||||
return twMerge(clsx(inputs));
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
import { format, parseISO } from 'date-fns';
|
||||
import { fr } from 'date-fns/locale';
|
||||
|
||||
export function formatDateFr(iso: string): string {
|
||||
return format(parseISO(iso), 'd MMMM yyyy', { locale: fr });
|
||||
}
|
||||
|
||||
export function todayIso(): string {
|
||||
return new Date().toISOString().slice(0, 10);
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
import { nanoid } from 'nanoid';
|
||||
|
||||
export function newId(prefix?: string): string {
|
||||
return prefix ? `${prefix}_${nanoid(10)}` : nanoid(12);
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
import type { Transition } from 'motion/react';
|
||||
|
||||
export const SPRING: Transition = {
|
||||
type: 'spring',
|
||||
stiffness: 260,
|
||||
damping: 22,
|
||||
};
|
||||
|
||||
export const FADE_IN_UP: Transition = {
|
||||
duration: 0.2,
|
||||
ease: [0.22, 1, 0.36, 1],
|
||||
};
|
||||
Reference in new issue
Block a user