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%
1.2 KB · 45 lines tsx
Raw Blame History
1/**2 * Trouve-KA — page d'accueil (la boîte de recherche)3 * Author: Simon-Pierre Boucher4 * Contact: contact@spboucher.ai5 */67import { IndexCounter } from "@/components/index-counter";8import { SearchBar } from "@/components/search-bar";9import { Wordmark } from "@/components/wordmark";1011export default function HomePage() {12  return (13    <main14      id="contenu"15      className="flex flex-1 flex-col items-center justify-center px-4 py-14"16    >17      <div className="rise w-full max-w-xl text-center">18        <h1>19          <Wordmark variant="hero" />20        </h1>21        <div className="mt-10">22          <SearchBar23            size="lg"24            autoFocus25            buttonPlacement="below"26            placeholderSuggestions={[27              "plombier Gatineau",28              "subvention thermopompe",29              "cégep Sherbrooke",30              "marché public Trois-Rivières",31              "programme Hydro-Québec",32            ]}33          />34        </div>35        <p className="gk-display mt-9 text-[17px] font-bold tracking-[-0.02em] text-ink">36          Cherche <span className="hl">le Québec</span>.37        </p>38        <div className="mt-9">39          <IndexCounter />40        </div>41      </div>42    </main>43  );44}45