From 4c36d5e75081a590e48661edda02ed501eafc1d6 Mon Sep 17 00:00:00 2001 From: Alison Joseph Date: Tue, 9 Apr 2024 10:20:54 -0500 Subject: [PATCH 1/2] fix: 404 page links and styles --- src/pages/404.js | 2 +- src/styles/_overrides.scss | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/pages/404.js b/src/pages/404.js index 963250d1081..c1c47a7d235 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -3,7 +3,7 @@ import { FourOhFour } from 'gatsby-theme-carbon'; const links = [ { href: '/all-about-carbon/what-is-carbon', text: 'All about Carbon' }, - { href: '/components/overview', text: 'Components overview' }, + { href: '//omponents/overview/components', text: 'Components overview' }, { href: '/designing/get-started', text: 'Get started designing' }, { href: '/developing/get-started', text: 'Get started developing' }, ]; diff --git a/src/styles/_overrides.scss b/src/styles/_overrides.scss index 5e4c05d2db5..efca5725f95 100644 --- a/src/styles/_overrides.scss +++ b/src/styles/_overrides.scss @@ -2,12 +2,6 @@ margin-top: 3rem; } -[class^='FourOhFour-module--container'], -[class^='FourOhFour-module--link'], -[class^='FourOhFour-module--link']:before { - color: $text-inverse !important; -} - // allow tooltips to be visible outside edge of table // table needs overflow at mobile to scroll .page-table__container { From d5f7a171742ace1ecf2161537aa1f6c6daac4488 Mon Sep 17 00:00:00 2001 From: Alison Joseph Date: Tue, 9 Apr 2024 11:31:51 -0500 Subject: [PATCH 2/2] Update 404.js --- src/pages/404.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/404.js b/src/pages/404.js index c1c47a7d235..7bd1de05765 100644 --- a/src/pages/404.js +++ b/src/pages/404.js @@ -3,7 +3,7 @@ import { FourOhFour } from 'gatsby-theme-carbon'; const links = [ { href: '/all-about-carbon/what-is-carbon', text: 'All about Carbon' }, - { href: '//omponents/overview/components', text: 'Components overview' }, + { href: '/components/overview/components', text: 'Components overview' }, { href: '/designing/get-started', text: 'Get started designing' }, { href: '/developing/get-started', text: 'Get started developing' }, ];