From acec16a7bfcbcb9de72d88d120bae90055021838 Mon Sep 17 00:00:00 2001 From: sarthak-kumar-shailendra Date: Sun, 10 Sep 2023 00:06:48 +0530 Subject: [PATCH 1/2] [BUG] Fix dark mode design #169 --- src/app/global.css | 1 - src/components/Headers/IndexHeader.tsx | 2 +- src/components/Home/Modal.tsx | 2 +- src/components/Home/Newsletter.tsx | 10 +++++----- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/app/global.css b/src/app/global.css index dc6d54e..ddfe61a 100644 --- a/src/app/global.css +++ b/src/app/global.css @@ -33,7 +33,6 @@ body { background: #e5e7eb; } .newsletter { - background-color: #ffe9d5; z-index: -1; } diff --git a/src/components/Headers/IndexHeader.tsx b/src/components/Headers/IndexHeader.tsx index 258b7fe..50e2600 100644 --- a/src/components/Headers/IndexHeader.tsx +++ b/src/components/Headers/IndexHeader.tsx @@ -318,7 +318,7 @@ export default function IndexHeader({ locale, translate }: Props) { - +
diff --git a/src/components/Home/Newsletter.tsx b/src/components/Home/Newsletter.tsx index afc384b..d9a06ac 100644 --- a/src/components/Home/Newsletter.tsx +++ b/src/components/Home/Newsletter.tsx @@ -95,18 +95,18 @@ const Newsletter = ({ notification, locale, translations }: Props) => { objectFit: "cover", objectPosition: "center", }} - className="newsletter" + className="newsletter bg-light-orange dark:bg-dark-100" />
-

+

{translate( "Have the Shloka of the Day delivered to your inbox each morning", )}

{ placeholder={translate("Enter Your Name")} /> {
{!isValid && ( -
+

{errorMessage}

)} From 2510339724b25715bb2ec11631801df7405b143d Mon Sep 17 00:00:00 2001 From: sarthak-kumar-shailendra Date: Sun, 10 Sep 2023 00:26:10 +0530 Subject: [PATCH 2/2] search bar mobile --- src/components/Headers/IndexHeader.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Headers/IndexHeader.tsx b/src/components/Headers/IndexHeader.tsx index 50e2600..fd808f5 100644 --- a/src/components/Headers/IndexHeader.tsx +++ b/src/components/Headers/IndexHeader.tsx @@ -318,7 +318,7 @@ export default function IndexHeader({ locale, translate }: Props) {