From 3927d5717ee36936f6302674a63fd95a1af8e75a Mon Sep 17 00:00:00 2001 From: Ajay Negi Date: Sun, 22 Sep 2024 11:32:20 +0530 Subject: [PATCH 1/2] Add Funding --- src/app/globals.css | 5 ++-- src/app/map/page.module.css | 44 ----------------------------- src/app/map/page.tsx | 1 - src/components/ui/Footer.module.css | 7 ----- 4 files changed, 2 insertions(+), 55 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index bc8a029..6854685 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -10,7 +10,7 @@ --line-grey: #E1E4E8; --slate-black: #667085; --mist-grey: #F2F2F2; - + --light-green: #22C55E; --light-yellow: #FFC107; --light-blue: #3B82F6; @@ -19,7 +19,6 @@ --green: #2E865F; --soil: #EEB27B; - } @@ -64,7 +63,7 @@ button, [role="button"] { /* reset anchor style*/ p{ - font-family: --myCustomFont, "-apple-system", "BlinkMacSystemFont",sans-serif; + font-family: --myCustomFont,"system-ui", "-apple-system", "BlinkMacSystemFont",sans-serif; font-size: 14px; font-style: normal; font-weight: 300; diff --git a/src/app/map/page.module.css b/src/app/map/page.module.css index 36e96b1..15f2c97 100644 --- a/src/app/map/page.module.css +++ b/src/app/map/page.module.css @@ -1,4 +1,3 @@ - .uttarakhand-map{ margin: 8em 0; } @@ -261,46 +260,3 @@ /* scrollbar-width: auto;*/ /* -ms-overflow-style: auto;*/ /*}*/ -.map-container{ - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - -} - -.map-image-container{ - width: 1440px; - height: auto; - max-width: 100vw; - overflow: scroll; -} -.map-container > div > img{ - width: 100%; - height: auto; -} - -.map-button-container{ - display: flex; - flex-direction: row; - gap: 4rem; -} - -.map-button-container > button { - padding: 10px 15px 10px 15px; - color: #fff; - background-color: var(--black); -} - -.map-button-container > button:hover { - color: var(--black); - background-color: var(--mist-grey); -} - - -.image { - - width: 100%; - height:20rem; - background-image: radial-gradient(88% 100% at top, hsla(0, 0%, 100%, .5), hsla(0, 0%, 100%, 0)); -} diff --git a/src/app/map/page.tsx b/src/app/map/page.tsx index a323fb9..33d6d18 100644 --- a/src/app/map/page.tsx +++ b/src/app/map/page.tsx @@ -1,4 +1,3 @@ - // "use client"; // // import { useRef } from 'react'; diff --git a/src/components/ui/Footer.module.css b/src/components/ui/Footer.module.css index 7a99c0e..69fe658 100644 --- a/src/components/ui/Footer.module.css +++ b/src/components/ui/Footer.module.css @@ -3,10 +3,8 @@ margin-bottom: 1rem; padding-top: 2rem; width: 100%; - border-top: 1px solid var(--line-grey); - display: flex; flex-direction: column; justify-content: center; @@ -72,9 +70,7 @@ font-size: 1rem; line-height: 1.5rem; padding: 10px 18px 10px 18px; - border: 1px solid var(--line-grey); - border-radius: 5px; outline: none; } @@ -84,9 +80,7 @@ font-size: 1rem; line-height: 1.5rem; padding: 10px 18px 10px 18px; - border: 1px solid var(--line-grey); - border-radius: 5px; background-color: white; } @@ -177,7 +171,6 @@ .copyright-container{ border-top: 1px solid var(--line-grey); - margin-top: 5rem; max-width: 1200px; width: 100%; From 3d37d6fcba632106976ed04cabf33d8271f68dd4 Mon Sep 17 00:00:00 2001 From: Ajay Negi Date: Sun, 22 Sep 2024 11:50:10 +0530 Subject: [PATCH 2/2] Update --- src/app/language/page.tsx | 9 ++++++--- src/components/ui/Card.tsx | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/app/language/page.tsx b/src/app/language/page.tsx index 1be6aa8..77b300c 100644 --- a/src/app/language/page.tsx +++ b/src/app/language/page.tsx @@ -60,16 +60,19 @@ export default function Language() { + image={""} + readMoreLink={""}/> + image={""} + readMoreLink={""}/> + image={""} + readMoreLink={""}/> ); diff --git a/src/components/ui/Card.tsx b/src/components/ui/Card.tsx index 32b02ef..7c4025a 100644 --- a/src/components/ui/Card.tsx +++ b/src/components/ui/Card.tsx @@ -9,7 +9,7 @@ type CardProps = { subTitle: string; description: string; image: string; - readMoreLink: string + readMoreLink?: string } export default function Card(props: CardProps) {