clean all

This commit is contained in:
Bastien Chanot committed 2026-05-18 19:40:08 +02:00
1 parent f57d6ec3d3
commit 27afb719f5
101 files changed
+45 -14426

No files matched your search

-6
View File
@@ -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));
}
-10
View File
@@ -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);
}
-5
View File
@@ -1,5 +0,0 @@
import { nanoid } from 'nanoid';
export function newId(prefix?: string): string {
return prefix ? `${prefix}_${nanoid(10)}` : nanoid(12);
}
-12
View File
@@ -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],
};