From bbd5b62665d2158cc192db059cd818cdc701f2bb Mon Sep 17 00:00:00 2001 From: Bradley Camacho <42678939+bradleycamacho@users.noreply.github.com> Date: Thu, 9 Jan 2025 11:42:09 -0800 Subject: [PATCH] Add new footer --- styles/global.css | 5 ----- theme.config.tsx | 46 ++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 44 insertions(+), 7 deletions(-) diff --git a/styles/global.css b/styles/global.css index 6ebe1102c..33a248931 100644 --- a/styles/global.css +++ b/styles/global.css @@ -30,11 +30,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 { display: block; diff --git a/theme.config.tsx b/theme.config.tsx index e93759fba..f56861e51 100644 --- a/theme.config.tsx +++ b/theme.config.tsx @@ -20,8 +20,50 @@ const config: DocsThemeConfig = { }, docsRepositoryBase: 'https://github.com/ethereum-optimism/community-hub/blob/main/', footer: { - text: 'OP Documentation', - }, + text: ( +