From 3e9d9f472fd5754692bcc7537d2df5bbcbaef8ed Mon Sep 17 00:00:00 2001 From: Brett Beutell Date: Thu, 22 Aug 2024 14:15:41 +0200 Subject: [PATCH] Ship it all i will fix it on my end --- www/astro.config.mjs | 33 +------------------------- www/src/components/ThemeProvider.astro | 10 ++++++++ www/src/pages/index.astro | 2 +- 3 files changed, 12 insertions(+), 33 deletions(-) diff --git a/www/astro.config.mjs b/www/astro.config.mjs index 266c57b8f..0e19ae3ea 100644 --- a/www/astro.config.mjs +++ b/www/astro.config.mjs @@ -16,38 +16,7 @@ export default defineConfig({ github: "https://github.com/fiberplane/fpx", discord: "https://discord.com/invite/cqdY6SpfVR", }, - sidebar: [ - { - label: "Home", - items: [ - // Each item here is one entry in the navigation menu. - { label: "Get started", slug: "home/get-started" }, - ], - }, - { - label: "Components", - items: [ - { label: "Client library", slug: "components/client-library" }, - { label: "Studio", slug: "components/studio" }, - ], - }, - { - label: "Features", - items: [ - { label: "Making requests", slug: "features/making-requests" }, - { label: "Showing traces", slug: "features/showing-traces" }, - { - label: "Generating with AI", - slug: "features/generating-with-ai", - }, - { - label: "Generating prompts for tests", - slug: "features/generating-prompts-for-tests", - }, - { label: "Webhooks", slug: "features/webhooks" }, - ], - }, - ], + components: { Header: "@/components/Header.astro", Pagination: "@/components/Pagination.astro", diff --git a/www/src/components/ThemeProvider.astro b/www/src/components/ThemeProvider.astro index 95686bcd2..d161dabca 100644 --- a/www/src/components/ThemeProvider.astro +++ b/www/src/components/ThemeProvider.astro @@ -1,5 +1,15 @@ {/* This is intentionally inlined to avoid FOUC. */}