@@ -142,9 +142,9 @@ function CodeGroupHeader({ title, children, selectedIndex }) {
}
return (
-
+
{title && (
-
+
{title}
)}
@@ -156,7 +156,7 @@ function CodeGroupHeader({ title, children, selectedIndex }) {
'border-b py-3 transition focus:[&:not(:focus-visible)]:outline-none',
childIndex === selectedIndex
? 'border-orange-500 text-orange-400'
- : 'border-transparent text-zinc-400 hover:text-zinc-300'
+ : 'border-transparent text-zinc-500 hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-300'
)}
>
{getPanelTitle(child.props)}
@@ -266,7 +266,7 @@ export function CodeGroup({ children, title, ...props }) {
{children}
diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx
index 2ac08632..b56add6a 100644
--- a/src/components/Layout.jsx
+++ b/src/components/Layout.jsx
@@ -167,7 +167,7 @@ export function Layout({ children, title, tableOfContents }) {
- {!router.route.startsWith("/ipa/resources") &&
+ {!router.route.startsWith("/ipa/resources") &&