Skip to content

Commit

Permalink
feat(nx-dev): Add canary index
Browse files Browse the repository at this point in the history
  • Loading branch information
ndcunningham committed May 23, 2024
1 parent c1b1c5b commit a73fbac
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nx-dev/feature-search/src/lib/algolia-search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,15 +83,15 @@ export function AlgoliaSearch({
type="button"
ref={searchButtonRef}
onClick={handleOpen}
className="flex w-full items-center rounded-md bg-white py-1.5 px-2 text-sm leading-4 ring-1 ring-slate-300 transition dark:bg-slate-700 dark:ring-slate-900"
className="flex w-full items-center rounded-md bg-white px-2 py-1.5 text-sm leading-4 ring-1 ring-slate-300 transition dark:bg-slate-700 dark:ring-slate-900"
>
<MagnifyingGlassIcon className="h-4 w-4 flex-none" />
<span className="mx-3 inline-flex text-xs text-slate-300 dark:text-slate-400 md:text-sm">
<span className="mx-3 inline-flex text-xs text-slate-300 md:text-sm dark:text-slate-400">
Search
</span>
<span
style={{ opacity: browserDetected ? '1' : '0' }}
className="ml-auto hidden flex-none rounded-md border border-slate-200 bg-slate-50 px-1 py-0.5 text-xs font-semibold text-slate-500 dark:border-slate-700 dark:bg-slate-800/60 md:block"
className="ml-auto hidden flex-none rounded-md border border-slate-200 bg-slate-50 px-1 py-0.5 text-xs font-semibold text-slate-500 md:block dark:border-slate-700 dark:bg-slate-800/60"
>
<span className="sr-only">Press </span>
<kbd className="font-sans">
Expand Down Expand Up @@ -140,8 +140,8 @@ export function AlgoliaSearch({
placeholder="Search the docs"
initialScrollY={window.scrollY}
onClose={handleClose}
indexName="nx-production"
apiKey="f49a1eb671385f0472a7285556168930"
indexName="nx-canary-production"
apiKey="07340b85db83fd49c1f904f883cc3ef8"
appId="PCTGM1JTQL"
navigator={{
navigate({ itemUrl }) {
Expand Down

0 comments on commit a73fbac

Please sign in to comment.