spb/trouve-ka Public
Trouve-KA — moteur de recherche web indépendant, Québec-first. Crawler distribué, index OpenSearch, ranking bilingue, galerie d'images. En prod : www.trouve-ka.com
Python 76.8%
TypeScript 15.7%
SQL 3.9%
Shell 1.4%
CSS 1.3%
Dockerfile 0.7%
1/**2 * Trouve-KA — tuile de statistique (étiquette klabel + valeur display)3 * Author: Simon-Pierre Boucher4 * Contact: contact@spboucher.ai5 */67import { cn } from "@/lib/utils";89interface StatProps {10 label: string;11 value: string;12 hint?: string;13 className?: string;14}1516/**17 * Tuile de statistique éditoriale : étiquette mono uppercase, valeur en18 * Space Grotesk bold, carte à bordure encre et ombre décalée.19 */20export function Stat({ label, value, hint, className }: StatProps) {21 return (22 <div className={cn("gk-card p-4", className)}>23 <p className="klabel">{label}</p>24 <p className="mt-1.5 font-display text-2xl font-bold tracking-[-0.03em] text-ink">25 {value}26 </p>27 {hint ? <p className="mt-1 text-xs text-ink-3">{hint}</p> : null}28 </div>29 );30}31