--- /** * @license * Copyright 2025-present Ariakit FZ-LLC. All Rights Reserved. * * This software is proprietary. See the license.md file in the root of this * package for licensing terms. * * SPDX-License-Identifier: UNLICENSED */ // The recipe, component page, and Styles page previews. Sandbox previews // render in [...sandbox].astro, which loads sandbox.css. import "#app/styles/global.css"; import PreviewPage from "#app/components/preview-page.astro"; import { SANDBOX_PREVIEW_KIND } from "#app/lib/preview-config.ts"; import { getPreviewPagePaths } from "#app/lib/preview-page.ts"; import type { GetStaticPaths } from "astro"; import { getCollection } from "astro:content"; export const getStaticPaths = (async () => { const entries = await getCollection( "previews", (entry) => entry.data.source !== SANDBOX_PREVIEW_KIND, ); return getPreviewPagePaths("preview", entries); }) satisfies GetStaticPaths; const { framework, entry, isolated } = Astro.props; ---