diff --git a/app/globals.css b/app/globals.css index 5a4b2ed5..2a7a92fe 100644 --- a/app/globals.css +++ b/app/globals.css @@ -68,17 +68,6 @@ code, pre { display: none !important; } -/* Hide ALL built-in nextra theme switches (we use our own ThemeToggle) */ -[title="Change theme"] { - display: none !important; -} - -/* Hide the footer switchers row and its hr separator */ -.x\:bg-gray-100 > div:first-child, -.x\:bg-gray-100 > hr.nextra-border { - display: none !important; -} - /* Hide hamburger menu on desktop */ @media (min-width: 768px) { .nextra-hamburger { @@ -86,38 +75,12 @@ code, pre { } } -/* FIX: Hide Nextra's stray dash separators (–) in the navbar. - Nextra adds ::after pseudo-elements with "–" as separators - between nav sections. We hide them globally in the navbar - but preserve ::after on the hamburger (needed for animation). */ +/* Hide Nextra's stray dash separators (–) in the navbar */ .nextra-navbar nav > div::after { content: none !important; display: none !important; } -/* FIX: Ensure search bar sits inline in the navbar */ -.nextra-search { - position: relative !important; -} - -/* Custom theme toggle button */ -.theme-toggle { - display: flex; - align-items: center; - justify-content: center; - width: 28px; - height: 28px; - border: none; - background: none; - color: currentColor; - cursor: pointer; - border-radius: 6px; - transition: background 0.15s; -} -.theme-toggle:hover { - background: rgba(128, 128, 128, 0.15); -} - /* Hide nextra sidebar on pages that shouldn't have it */ .nextra-sidebar { display: none !important; @@ -132,7 +95,7 @@ code, pre { background-color: var(--bg-dark, #111) !important; } -/* FIX: Mobile menu overlay should cover content completely */ +/* Mobile menu overlay should cover content completely */ @media (max-width: 767px) { aside.nextra-mobile-nav { position: fixed !important; @@ -148,7 +111,7 @@ code, pre { } } -/* FIX: Mobile layout - prevent vertical text stacking */ +/* Mobile layout - prevent vertical text stacking */ @media (max-width: 767px) { .nextra-content, article, diff --git a/app/layout.jsx b/app/layout.jsx index e2529ec5..b2d9b8a2 100644 --- a/app/layout.jsx +++ b/app/layout.jsx @@ -1,9 +1,8 @@ import { Footer, Layout, Navbar } from 'nextra-theme-docs' -import { Head, Search } from 'nextra/components' +import { Head } from 'nextra/components' import { getPageMap } from 'nextra/page-map' import { PostHogProvider } from '../components/PostHogProvider' import { CookieBanner } from '../components/CookieBanner' -import { ThemeToggle } from '../components/ThemeToggle' import 'nextra-theme-docs/style.css' import './globals.css' @@ -23,9 +22,7 @@ const navbar = ( } projectLink="https://github.com/fakela" - > - - + /> ) const footer = ( @@ -58,7 +55,7 @@ export default async function RootLayout({ children }) { navbar={navbar} footer={footer} pageMap={await getPageMap()} - search={} + search={null} > {children} diff --git a/content/portfolio/_meta.js b/content/portfolio/_meta.js index 97208009..faa855e2 100644 --- a/content/portfolio/_meta.js +++ b/content/portfolio/_meta.js @@ -5,30 +5,30 @@ export default { }, 'rebuilding-orbital-docs': { title: "Rebuilding Orbital's Documentation", - theme: { toc: true } + theme: { sidebar: false, toc: true } }, 'ai-documentation-workflow': { title: 'AI-Integrated Documentation Workflow', - theme: { toc: true } + theme: { sidebar: false, toc: true } }, 'building-genlayer-docs': { title: "Building GenLayer's Docs from a Whitepaper", - theme: { toc: true } + theme: { sidebar: false, toc: true } }, 'documentation-acquisition-bacalhau': { title: 'Documentation That Helped an Acquisition', - theme: { toc: true } + theme: { sidebar: false, toc: true } }, '25-issues-30-days-mindee': { title: '25 Issues in 30 Days at Mindee', - theme: { toc: true } + theme: { sidebar: false, toc: true } }, 'documenting-product-pivot-calimero': { title: 'Documenting Through a Product Pivot', - theme: { toc: true } + theme: { sidebar: false, toc: true } }, 'cloud-native-docs-glueops': { title: 'Cloud-Native Docs for GlueOps', - theme: { toc: true } + theme: { sidebar: false, toc: true } } } diff --git a/content/posts/_meta.js b/content/posts/_meta.js index d4cb0cfc..ac671f42 100644 --- a/content/posts/_meta.js +++ b/content/posts/_meta.js @@ -5,22 +5,22 @@ export default { }, 'ai-augmented-documentation-workflow': { title: 'What Actually Changes When You Add AI to a Documentation Workflow', - theme: { toc: true } + theme: { sidebar: false, toc: true } }, 'preventing-documentation-drift': { title: 'Three Ways to Stop Your Documentation from Going Stale', - theme: { toc: true } + theme: { sidebar: false, toc: true } }, 'building-docs-from-nothing': { title: 'The Pattern Behind Building Documentation from Nothing', - theme: { toc: true } + theme: { sidebar: false, toc: true } }, 'sole-technical-writer': { title: 'What Nobody Tells You About Being the Sole Technical Writer', - theme: { toc: true } + theme: { sidebar: false, toc: true } }, 'interviewing-as-a-technical-writer': { title: 'What I\'ve Learned from Interviewing as a Technical Writer in 2026', - theme: { toc: true } + theme: { sidebar: false, toc: true } } }