From 50b5dfcc5e3edb314734fb7b5f4b560a94c5f79d Mon Sep 17 00:00:00 2001 From: Sayali Joshi Date: Fri, 3 May 2024 12:26:34 +0530 Subject: [PATCH 1/2] Refactor: h1 font size --- ui/src/pages/Home/index.tsx | 2 +- ui/src/pages/RegionalLogin/index.tsx | 2 +- ui/src/scss/App.scss | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ui/src/pages/Home/index.tsx b/ui/src/pages/Home/index.tsx index dddf7c0a..18497eda 100644 --- a/ui/src/pages/Home/index.tsx +++ b/ui/src/pages/Home/index.tsx @@ -34,7 +34,7 @@ const Home = () => { return (
- {heading && } + {heading && } {description && parse(description)} {cta && cta?.title && ( diff --git a/ui/src/pages/RegionalLogin/index.tsx b/ui/src/pages/RegionalLogin/index.tsx index 31125391..2a19cba0 100644 --- a/ui/src/pages/RegionalLogin/index.tsx +++ b/ui/src/pages/RegionalLogin/index.tsx @@ -62,7 +62,7 @@ const RegionalLogin = () => {
- {heading && } + {heading && } {description && description != '' && (
{parse(description as string)}
)} diff --git a/ui/src/scss/App.scss b/ui/src/scss/App.scss index 3a558d9c..8cde7608 100644 --- a/ui/src/scss/App.scss +++ b/ui/src/scss/App.scss @@ -303,8 +303,10 @@ p { // overflow: hidden; } h1 { - font-size: 2.125rem; - font-weight: $font-weight-bold; + &.large-font { + font-size: 2.125rem; + font-weight: $font-weight-bold; + } } .pb-32 { padding-bottom: $px-32; From db89b3b23d81fc736b44423b5b68a34f3da584b4 Mon Sep 17 00:00:00 2001 From: Sayali Joshi Date: Fri, 3 May 2024 14:56:36 +0530 Subject: [PATCH 2/2] ADA: Added Skip to Main Content --- ui/public/index.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ui/public/index.html b/ui/public/index.html index 4e8e345f..ff2a7cd3 100644 --- a/ui/public/index.html +++ b/ui/public/index.html @@ -46,9 +46,27 @@ src="https://ui.contentstack.com/contentstack.min.js" async > + + + Skip to main content +