From afa03a89b0aeab08b2da363ed0f790ca743b4679 Mon Sep 17 00:00:00 2001 From: npiyush97 Date: Tue, 19 Dec 2023 18:18:19 +0530 Subject: [PATCH 1/5] microsite a11y Signed-off-by: npiyush97 --- microsite/docusaurus.config.js | 5 ++++- microsite/src/pages/home/_home.tsx | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/microsite/docusaurus.config.js b/microsite/docusaurus.config.js index 99f58d29cb..e444605f48 100644 --- a/microsite/docusaurus.config.js +++ b/microsite/docusaurus.config.js @@ -204,7 +204,10 @@ module.exports = { { items: [ { - html: '', + html: ` + + + `, }, ], }, diff --git a/microsite/src/pages/home/_home.tsx b/microsite/src/pages/home/_home.tsx index ddcfed7d03..517cf89239 100644 --- a/microsite/src/pages/home/_home.tsx +++ b/microsite/src/pages/home/_home.tsx @@ -95,10 +95,12 @@ const HomePage = () => { Illustration of a laptop Animated Backstage Logo From 35cd016e0e188452992917c8be42f8820ef5f28d Mon Sep 17 00:00:00 2001 From: npiyush97 Date: Tue, 19 Dec 2023 18:59:13 +0530 Subject: [PATCH 2/5] prettier fix Signed-off-by: npiyush97 --- microsite/src/pages/home/_home.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microsite/src/pages/home/_home.tsx b/microsite/src/pages/home/_home.tsx index 517cf89239..5cf0f85072 100644 --- a/microsite/src/pages/home/_home.tsx +++ b/microsite/src/pages/home/_home.tsx @@ -100,7 +100,7 @@ const HomePage = () => { Animated Backstage Logo From f2c526d41aba3dca4bdcd52e99fceedcefe03390 Mon Sep 17 00:00:00 2001 From: npiyush97 Date: Wed, 20 Dec 2023 13:22:30 +0530 Subject: [PATCH 3/5] a11y fix Signed-off-by: npiyush97 --- microsite/src/theme/customTheme.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/microsite/src/theme/customTheme.scss b/microsite/src/theme/customTheme.scss index f216762418..0f60eec224 100644 --- a/microsite/src/theme/customTheme.scss +++ b/microsite/src/theme/customTheme.scss @@ -6,6 +6,7 @@ --ifm-color-primary-dark: #31a792; --ifm-color-primary-darker: #2e9e8a; --ifm-color-primary-darkest: #268271; + --ifm-link-decoration: underline; } .footerLogo { From 2cc1f63c7bd5360051ffc4e1aa5847d5b83c9cad Mon Sep 17 00:00:00 2001 From: npiyush97 Date: Wed, 20 Dec 2023 19:33:56 +0530 Subject: [PATCH 4/5] added prettier:fix command Signed-off-by: npiyush97 --- microsite/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/microsite/package.json b/microsite/package.json index eb4d6bccb2..53309fb358 100644 --- a/microsite/package.json +++ b/microsite/package.json @@ -6,6 +6,7 @@ "scripts": { "start": "node scripts/pre-build.js && docusaurus start", "build": "node scripts/pre-build.js && docusaurus build", + "prettier:fix": "prettier --write .", "prettier:check": "prettier --check .", "publish-gh-pages": "docusaurus-publish", "write-translations": "docusaurus-write-translations", From 9ee1d1f8173710286cdf3649cad8035aaa28fa9e Mon Sep 17 00:00:00 2001 From: npiyush97 Date: Tue, 2 Jan 2024 15:06:32 +0530 Subject: [PATCH 5/5] added suggested changes Signed-off-by: npiyush97 --- microsite/docusaurus.config.js | 2 +- microsite/src/theme/customTheme.scss | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/microsite/docusaurus.config.js b/microsite/docusaurus.config.js index e444605f48..94bff04fdd 100644 --- a/microsite/docusaurus.config.js +++ b/microsite/docusaurus.config.js @@ -205,7 +205,7 @@ module.exports = { items: [ { html: ` - + `, }, diff --git a/microsite/src/theme/customTheme.scss b/microsite/src/theme/customTheme.scss index 0f60eec224..57e1f8828e 100644 --- a/microsite/src/theme/customTheme.scss +++ b/microsite/src/theme/customTheme.scss @@ -6,7 +6,14 @@ --ifm-color-primary-dark: #31a792; --ifm-color-primary-darker: #2e9e8a; --ifm-color-primary-darkest: #268271; - --ifm-link-decoration: underline; +} + +#__docusaurus { + .theme-doc-markdown { + a { + text-decoration: underline; + } + } } .footerLogo {