SPB Git

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%
934 B · 32 lines tsx
Raw Blame History
1/**2 * Trouve-KA — composant UI Card (gk-card : bordure encre, ombre décalée)3 * Author: Simon-Pierre Boucher4 * Contact: contact@spboucher.ai5 */67import type { HTMLAttributes } from "react";8import { cn } from "@/lib/utils";910function Card({ className, ...props }: HTMLAttributes<HTMLDivElement>) {11  return <div className={cn("gk-card", className)} {...props} />;12}1314function CardHeader({ className, ...props }: HTMLAttributes<HTMLDivElement>) {15  return <div className={cn("px-4 pt-4", className)} {...props} />;16}1718function CardTitle({ className, ...props }: HTMLAttributes<HTMLHeadingElement>) {19  return (20    <h221      className={cn("font-display text-[15px] font-bold text-ink", className)}22      {...props}23    />24  );25}2627function CardContent({ className, ...props }: HTMLAttributes<HTMLDivElement>) {28  return <div className={cn("p-4", className)} {...props} />;29}3031export { Card, CardHeader, CardTitle, CardContent };32