diff --git a/apps/site/next.constants.mjs b/apps/site/next.constants.mjs index 8a8e9ec4196cb..d079cea22edfc 100644 --- a/apps/site/next.constants.mjs +++ b/apps/site/next.constants.mjs @@ -130,27 +130,11 @@ export const DEFAULT_ORAMA_QUERY_PARAMS = { }, }; -/** - * The initial Orama Cloud chat suggestions visible in the empty state of the search box. - */ -export const DEFAULT_ORAMA_SUGGESTIONS = [ - 'How to install Node.js?', - 'How to create an HTTP server?', - 'Upgrading Node.js version', -]; - /** * The default batch size to use when syncing Orama Cloud */ export const ORAMA_SYNC_BATCH_SIZE = 250; -/** - * The default Orama Cloud endpoint to use when searching with Orama Cloud. - */ -export const ORAMA_CLOUD_ENDPOINT = - process.env.NEXT_PUBLIC_ORAMA_ENDPOINT || - 'https://cloud.orama.run/v1/indexes/nodejs-org-dev-hhqrzv'; - /** * The default Orama Cloud API Key to use when searching with Orama Cloud. * This is a public API key and can be shared publicly on the frontend. @@ -159,13 +143,6 @@ export const ORAMA_CLOUD_READ_API_KEY = process.env.NEXT_PUBLIC_NEW_ORAMA_API_KEY || 'c1__KPYDQNEFr$nFgrTgFTVLHf8BuNf08COBqBUzk65AYJEmSsJONPsO$_cihl'; -/** - * The default Orama Cloud Datasource ID to use when searching with Orama Cloud. - */ -export const ORAMA_CLOUD_DATASOURCE_ID = - process.env.NEXT_PUBLIC_NEW_ORAMA_DATASOURCE_ID || - '6044121f-53c3-46af-aaf0-f498e3c548f2'; - /** * The default Orama Cloud Project ID to use when initializing Orama Cloud. */ diff --git a/packages/ui-components/src/Common/Search/Suggestions/index.tsx b/packages/ui-components/src/Common/Search/Suggestions/index.tsx index 456bd052d9aa2..b7cda77bda76a 100644 --- a/packages/ui-components/src/Common/Search/Suggestions/index.tsx +++ b/packages/ui-components/src/Common/Search/Suggestions/index.tsx @@ -18,8 +18,12 @@ const SearchSuggestions: FC = ({ {label &&

{label}

} {suggestions.map((suggestion, i) => ( - - + + {suggestion} ))}