support for algolia docsearch
adds an algolia option to evidence default layout, which accepts the public info for the algolia docs search bar. Adds some custom styles on the actual search button.
+layout.svelte
<script>
import '@evidence-dev/tailwind/fonts.css';
import '../app.css';
import { EvidenceDefaultLayout } from '@evidence-dev/core-components';
export let data;
</script>
<EvidenceDefaultLayout
{data}
githubRepo="/"
slackCommunity="/"
xProfile="/"
algolia={{
appId: 'KHH9ANIISC',
apiKey: 'd2bd44615d8d5f5464e54f06e82edd19',
indexName: 'docs-evidence'
}}
>
<slot slot="content" />
</EvidenceDefaultLayout>
yields
⚠️ No Changeset found
Latest commit: b0aa63ae851a1db056ebac3152d2a531f6a4db71
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 29, 2024 5:08pm |
What is the status of this PR? Can it be merged?
Seems like there is a lockfile deps issue in the tests
@archiewood this needs to go into the sidebar sorting PR, and I'll propose a merge from there w/ a changeset etc.