feat: site search with a dialog in the header and a /api/busca endpoint
CI / Lint, design e build (push) Successful in 1m52s
CI / Trivy (dependências e segredos) (push) Successful in 12s
CI / Imagem Docker (push) Successful in 2m26s

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas RayanandClaude Sonnet 5.5 committed 2026-11-01 08:02:57 -03:00
1 parent d8323c653b
commit 7d0edf13c4
7 files changed
+1115 -5

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { construirIndiceBusca } from "@/lib/searchIndex";
export const dynamic = "force-static";
/** Índice de busca carregado sob demanda pelo diálogo de pesquisa (Ctrl/⌘+K). */
export function GET() {
return Response.json(construirIndiceBusca(), {
headers: {
"Cache-Control": "no-cache, no-store, must-revalidate",
},
});
}