chore: initial scaffold

Generated by /init-project. React 19 + TS strict + Vite 6 + Tailwind 4 +
shadcn/ui + motion + pdf-lib + Zod + Zustand + react-router 7. Empty
skeleton, no business logic. Docker multi-stage + nginx + Traefik labels
commented. AGPL-3.0-or-later.
This commit is contained in:
ZenQuality committed 2026-05-17 06:43:11 +02:00
commit a115e785a7
88 files changed
+12149

No files matched your search

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