Skip to content

Commit

Permalink
docs: updates search
Browse files Browse the repository at this point in the history
  • Loading branch information
faustoq committed Oct 17, 2024
1 parent 5964acc commit 22d43e7
Show file tree
Hide file tree
Showing 3 changed files with 64 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"@astrojs/starlight-tailwind": "^2.0.3",
"@astrojs/tailwind": "^5.1.0",
"@jop-software/astro-cookieconsent": "^3.0.0",
"@orama/react-components": "^0.0.28",
"@orama/react-components": "^0.1.5",
"@oramacloud/client": "^1.3.16",
"astro": "^4.16.1",
"astro-og-canvas": "^0.5.3",
Expand Down
3 changes: 3 additions & 0 deletions packages/docs/src/components/Search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ export function Search() {
suggestions={suggestions}
searchPlaceholder={`Search ${currentCategory === 'Open Source' ? 'Open Source' : 'Orama Cloud'}`}
chatPlaceholder='Ask me anything about Orama'
highlight={{
HTMLTag: 'b'
}}
/>

<OramaSearchButton
Expand Down
65 changes: 60 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 22d43e7

Please sign in to comment.