From 557923de0b215c3f49f44d27246df1584e23dce1 Mon Sep 17 00:00:00 2001 From: Swathi Angadi Date: Tue, 12 May 2026 23:13:52 -0700 Subject: [PATCH 1/2] Initial code changes --- src/components/Collaboration/Main.jsx | 33 ++++++++++++++++++++++++++ src/components/Collaboration/index.jsx | 4 ++-- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 src/components/Collaboration/Main.jsx diff --git a/src/components/Collaboration/Main.jsx b/src/components/Collaboration/Main.jsx new file mode 100644 index 0000000000..c6d6027452 --- /dev/null +++ b/src/components/Collaboration/Main.jsx @@ -0,0 +1,33 @@ +import { useEffect, useState, useMemo, useRef } from 'react'; +import styles from './Collaboration.module.css'; +import WhatWeDoSection from '../WhatWeDo/WhatWeDo'; +import Collaboration from './Collaboration'; + +export default function Main() { + const [activeTab, setActiveTab] = useState('jobPostings'); + return ( + <> + +
+ {/* render based on active tab */} + {activeTab === 'whatWeDo' ? : } +
+ + ); +} diff --git a/src/components/Collaboration/index.jsx b/src/components/Collaboration/index.jsx index b370578f1d..d23b9bd676 100644 --- a/src/components/Collaboration/index.jsx +++ b/src/components/Collaboration/index.jsx @@ -1,2 +1,2 @@ -import Collaboration from './Collaboration'; -export default Collaboration; +import Main from './Main'; +export default Main; From 0e36e3fc3c68d9321ee7092fefdc080e01392fe8 Mon Sep 17 00:00:00 2001 From: Swathi Angadi Date: Thu, 14 May 2026 01:14:33 -0700 Subject: [PATCH 2/2] Final Changes along with Dark mode changes --- .../Collaboration/Collaboration.jsx | 7 --- .../Collaboration/Collaboration.module.css | 26 ++++++++++- src/components/Collaboration/Main.jsx | 8 +++- src/components/WhatWeDo/WhatWeDo.jsx | 4 +- src/components/WhatWeDo/WhatWeDo.module.css | 43 +++++++++++-------- 5 files changed, 61 insertions(+), 27 deletions(-) diff --git a/src/components/Collaboration/Collaboration.jsx b/src/components/Collaboration/Collaboration.jsx index 5655ecad77..c1ff2d4e55 100644 --- a/src/components/Collaboration/Collaboration.jsx +++ b/src/components/Collaboration/Collaboration.jsx @@ -4,7 +4,6 @@ import styles from './Collaboration.module.css'; import { toast } from 'react-toastify'; import { ApiEndpoint } from '~/utils/URL'; import { useSelector } from 'react-redux'; -import OneCommunityImage from '../../assets/images/logo2.png'; const ADS_PER_PAGE = 18; @@ -205,12 +204,6 @@ function Collaboration() { /* ================= MAIN VIEW ================= */ return (
-
- - One Community Logo - -
-
{/* NAVBAR */}