Skip to content

Commit

Permalink
docs: adds image zoom (#822)
Browse files Browse the repository at this point in the history
  • Loading branch information
faustoq authored Oct 16, 2024
1 parent 49959cc commit 5abd5bf
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import starlight from '@astrojs/starlight'
import react from '@astrojs/react'
import tailwind from '@astrojs/tailwind'
import cookieconsent from '@jop-software/astro-cookieconsent'
import starlightImageZoom from 'starlight-image-zoom'
import {openSourceMenu, oramaCloudMenu, head, cookieConsentConfig } from './config'

// https://astro.build/config
Expand All @@ -27,7 +28,7 @@ export default defineConfig({
integrations: [
starlight({
pagefind: false,
plugins: [],
plugins: [starlightImageZoom()],
title: 'Orama Docs',
description: 'Your product answer engine. Unlimited full-text search, embeddings generations and more. Help your users find the right answers, faster.',
favicon: '/favicon.png',
Expand Down
1 change: 1 addition & 0 deletions packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"canvaskit-wasm": "^0.39.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"starlight-image-zoom": "^0.8.0",
"starlight-showcases": "^0.2.0",
"tailwindcss": "^3.4.4",
"vanilla-cookieconsent": "^3.0.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ One important concept to understand when working with **Orama Cloud**, is the co
Connecting your data source to Orama Cloud is the first step in creating an index. An index is a collection of documents that you can search through.

<div class="text-center py-4">
<img src="/misc/data-sources.jpg" alt="Orama Cloud - Data Sources" class="rounded-xl" />
<img src="/misc/data-sources.jpg" alt="Orama Cloud - Data Sources" class="rounded-xl" data-zoom-off />
</div>

## Choosing a data source
Expand Down
16 changes: 16 additions & 0 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 5abd5bf

Please sign in to comment.