diff --git a/next-env.d.ts b/next-env.d.ts index 4f11a03dc..a4a7b3f5c 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -2,4 +2,4 @@ /// // NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. +// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information. diff --git a/styles/global.css b/styles/global.css index 4a1dcb2af..23c8cc467 100644 --- a/styles/global.css +++ b/styles/global.css @@ -31,10 +31,6 @@ div.md-img img { margin-bottom: 0; } -/* Nextra logic for removing footer isn't working right now */ -footer { - display: none; -} /* Make shasums actually legible */ span.shasum { diff --git a/theme.config.tsx b/theme.config.tsx index acc8ef17d..8e86787b1 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -44,8 +44,55 @@ const config: DocsThemeConfig = { }, docsRepositoryBase: "https://github.com/ethereum-optimism/docs/blob/main/", footer: { - text: "OP Documentation", - }, + text: ( +
+
© 2025 Optimism Foundation. All rights reserved.
+ +
+ + Optimism Community Agreement + + + Terms of Service + + + Privacy Policy + +
+ +
+ + + + + + + + + + + + + + + +
+
+ ) + }, + + + + + sidebar: { defaultMenuCollapseLevel: 1, autoCollapse: true,