diff --git a/apps/developer-hub/content/docs/meta.json b/apps/developer-hub/content/docs/meta.json
index f58ac9f7ba..0d89d9cdc8 100644
--- a/apps/developer-hub/content/docs/meta.json
+++ b/apps/developer-hub/content/docs/meta.json
@@ -1,3 +1,3 @@
{
- "pages": ["price-feeds"]
+ "pages": ["price-feeds", "express-relay", "entropy"]
}
diff --git a/apps/developer-hub/src/app/(docs)/[section]/layout.tsx b/apps/developer-hub/src/app/(docs)/[section]/layout.tsx
index 3fb955a7e0..8a258e1fe6 100644
--- a/apps/developer-hub/src/app/(docs)/[section]/layout.tsx
+++ b/apps/developer-hub/src/app/(docs)/[section]/layout.tsx
@@ -3,19 +3,7 @@ import type { ReactNode } from "react";
import { docsOptions } from "../../../config/layout.config";
-export default async function Layout({
- children,
- ...props
-}: {
- children: ReactNode;
- params: Promise<{ section: string }>;
-}) {
- const params = await props.params;
+export default function Layout({ children }: { children: ReactNode }) {
const options = { ...docsOptions };
- options.sidebar = {
- ...options.sidebar,
- // {} (empty object) means true
- tabs: params.section === "price-feeds" ? {} : false,
- };
return {children};
}
diff --git a/apps/developer-hub/src/app/price-feeds/page.tsx b/apps/developer-hub/src/app/price-feeds/page.tsx
deleted file mode 100644
index d3e3d42298..0000000000
--- a/apps/developer-hub/src/app/price-feeds/page.tsx
+++ /dev/null
@@ -1 +0,0 @@
-export { Homepage as default } from "../../components/Pages/Homepage";
diff --git a/apps/developer-hub/src/components/Root/global.css b/apps/developer-hub/src/components/Root/global.css
index 8db5c5c3fa..150e7f18aa 100644
--- a/apps/developer-hub/src/components/Root/global.css
+++ b/apps/developer-hub/src/components/Root/global.css
@@ -1,5 +1,5 @@
@import "tailwindcss";
@import "fumadocs-ui/css/neutral.css";
@import "fumadocs-ui/css/preset.css";
-@import "./theme.css";
-@import "./fumadocs-global-style-overrides.css";
+@import "./theme.css"; /*this overrides the default colors to match the pyth branding */
+/* @import "./fumadocs-global-style-overrides.css"; */
diff --git a/apps/developer-hub/src/components/Root/index.tsx b/apps/developer-hub/src/components/Root/index.tsx
index aae615145a..64ce8d687d 100644
--- a/apps/developer-hub/src/components/Root/index.tsx
+++ b/apps/developer-hub/src/components/Root/index.tsx
@@ -1,15 +1,8 @@
-import { AppBody, AppShellRoot } from "@pythnetwork/component-library/AppShell";
+import { RootProviders } from "@pythnetwork/component-library/AppShell";
import { RootProvider as FumadocsRootProvider } from "fumadocs-ui/provider";
import { NuqsAdapter } from "nuqs/adapters/next/app";
import type { ReactNode } from "react";
-import {
- AMPLITUDE_API_KEY,
- ENABLE_ACCESSIBILITY_REPORTING,
- GOOGLE_ANALYTICS_ID,
-} from "../../config/server";
-import { SearchButton } from "../search-button";
-
import "./global.css";
export const TABS = [
@@ -24,21 +17,19 @@ type Props = {
};
export const Root = ({ children }: Props) => (
-
-
-
+
+
+
+ {/* commenting out the app body because we don't have the app shell anymore
+ }
@@ -47,9 +38,11 @@ export const Root = ({ children }: Props) => (
href: "https://dev-forum.pyth.network/",
}}
tabs={TABS}
- >
- {children}
-
-
-
+ > */}
+ {children}
+ {/* */}
+
+
+
+