spb/qwhpi Public
QHPI — Quebec Housing Price Index: quality-adjusted, hierarchically pooled housing price indexes.
Python 63.9%
TypeScript 25.4%
CSS 5.5%
TeX 3.5%
SQL 0.8%
Makefile 0.5%
Dockerfile 0.5%
1/**2 * =============================================================================3 * QWHPI — Quebec Weekly Housing Price Index4 * Author : Simon-Pierre Boucher5 * Contact : contact@spboucher.ai6 * File : web/components/SearchButton.tsx7 * Purpose : Header search button — dispatches the ⌘K palette shortcut.8 * =============================================================================9 */10"use client";1112export default function SearchButton() {13 return (14 <button15 className="kbd-btn"16 aria-label="Open command palette"17 onClick={() =>18 window.dispatchEvent(19 new KeyboardEvent("keydown", { key: "k", metaKey: true }))}20 >21 Search <kbd>⌘K</kbd>22 </button>23 );24}25