From 68ee7908af30932454253a3107f2ca10d15774b3 Mon Sep 17 00:00:00 2001 From: amaan1114 Date: Thu, 7 Aug 2025 16:39:21 +0530 Subject: [PATCH 01/21] About Section Navbar Bug fix --- CODE_OF_CONDUCT.md | 6 --- SECURITY.md | 4 -- package-lock.json | 4 +- public/data/DivyaJain-DataAnalyst.json | 54 +++++++++---------- src/Page/About.jsx | 3 +- src/Page/Home.jsx | 2 +- src/Page/OpportunitiesHub/CompetitionList.jsx | 5 +- src/Page/OpportunitiesHub/EventsList.jsx | 5 +- src/Page/OpportunitiesHub/HackathonList.jsx | 5 +- src/Page/OpportunitiesHub/InternshipList.jsx | 6 +-- src/Page/OpportunitiesHub/OpenSource.jsx | 2 +- src/Page/Sponsor.jsx | 2 +- .../AchievementJourney/IndividualJourney.js | 8 +-- src/components/Navbar.jsx | 4 +- src/components/Profile/Profile.jsx | 14 ++--- src/components/ResumeBuilder/Sidebar.jsx | 41 ++++---------- src/components/Search/Search.jsx | 2 +- src/components/Search/SearchSkill.jsx | 2 +- src/components/Search/VoiceSearch.jsx | 4 +- 19 files changed, 66 insertions(+), 107 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 0348b796..2d4d0e3b 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -17,17 +17,14 @@ In the interest of fostering an open and welcoming environment, we as contributo We expect all participants to: 1. **Be Respectful:** - - Treat everyone with respect and courtesy. - Approach disagreements constructively and considerately. 2. **Be Inclusive:** - - Ensure everyone feels welcome and valued. - Avoid discriminatory, exclusionary, or harmful language and actions. 3. **Be Collaborative:** - - Share knowledge and help others. - Focus on improving the platform and the experience for all. @@ -52,11 +49,9 @@ The following behaviors are unacceptable in the DevDisplay community: - **Join DevDisplay Discord Community**: [Discord Community](https://discord.gg/chyt2UgTv5) - **Join DevDisplay WhatsApp Community**: [WhatsApp Community](https://chat.whatsapp.com/Dcl21sgGDIpHURESSuH0p4) - - Connect with other developers and collaborate on exciting projects. - **Reach Out to the Team**: - - Organization Email: team@devdisplay.org - Creator's Email: hellow.ashutosh@gmail.com @@ -69,7 +64,6 @@ The following behaviors are unacceptable in the DevDisplay community: --- 2. **Provide Details:** - - Include a description of the incident, relevant links, or screenshots if possible. 3. **Expect a Response:** diff --git a/SECURITY.md b/SECURITY.md index 414e0d02..749ab0cc 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -23,19 +23,16 @@ We take the security of DevDisplay seriously. If you discover any security vulne ### For Contributors 1. **Code Review** - - All code changes must go through peer review - Security-sensitive code requires additional review - Follow secure coding guidelines 2. **Dependencies** - - Keep all dependencies up to date - Regularly check for known vulnerabilities in dependencies - Use only trusted and well-maintained packages 3. **Authentication & Authorization** - - Use strong password policies - Implement proper session management - Follow the principle of least privilege @@ -48,7 +45,6 @@ We take the security of DevDisplay seriously. If you discover any security vulne ### For Users 1. **Account Security** - - Use strong, unique passwords - Enable two-factor authentication when available - Keep your access tokens secure diff --git a/package-lock.json b/package-lock.json index 76739c5b..b893f91b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@fortawesome/free-brands-svg-icons": "^7.0.0", "@fortawesome/free-solid-svg-icons": "^6.7.2", "@fortawesome/react-fontawesome": "^0.2.3", - "@headlessui/react": "^2.2.7", + "@headlessui/react": "^2.2.4", "@huggingface/inference": "^4.5.3", "@testing-library/jest-dom": "^6.6.4", "@testing-library/react": "^16.0.1", @@ -35,7 +35,7 @@ "react-scripts": "5.0.1", "sitemap": "^8.0.0", "styled-components": "^6.1.15", - "web-vitals": "^5.1.0", + "web-vitals": "^5.0.3", "yocto-queue": "^1.2.0" }, "devDependencies": { diff --git a/public/data/DivyaJain-DataAnalyst.json b/public/data/DivyaJain-DataAnalyst.json index a3d2e2b3..c0097da1 100644 --- a/public/data/DivyaJain-DataAnalyst.json +++ b/public/data/DivyaJain-DataAnalyst.json @@ -1,28 +1,28 @@ { - "name": "Divya Jain", - "location": "Delhi, India", - "bio": "Aspiring Data Analyst | GSSoC'25 Campus Ambassador & Contributor | Student", - "avatar": "https://avatars.githubusercontent.com/u/147162320?v=4&size=300", - "portfolio": "https://github.com/DivyaJain-DataAnalyst", - "skills": [ - "HTML", - "CSS", - "JavaScript", - "Excel", - "PowerBI", - "SQL", - "Git", - "Responsive Design", - "Tailwind CSS", - "C", - "C+", - "GitHub" - ], - "social": { - "GitHub": "https://github.com/DivyaJain-DataAnalyst", - "Twitter": "#", - "LinkedIn": "https://www.linkedin.com/in/divyajain-dataanalyst/", - "Instagram": "#", - "Email": "divya_239179@saitm.ac.in" - } - } \ No newline at end of file + "name": "Divya Jain", + "location": "Delhi, India", + "bio": "Aspiring Data Analyst | GSSoC'25 Campus Ambassador & Contributor | Student", + "avatar": "https://avatars.githubusercontent.com/u/147162320?v=4&size=300", + "portfolio": "https://github.com/DivyaJain-DataAnalyst", + "skills": [ + "HTML", + "CSS", + "JavaScript", + "Excel", + "PowerBI", + "SQL", + "Git", + "Responsive Design", + "Tailwind CSS", + "C", + "C+", + "GitHub" + ], + "social": { + "GitHub": "https://github.com/DivyaJain-DataAnalyst", + "Twitter": "#", + "LinkedIn": "https://www.linkedin.com/in/divyajain-dataanalyst/", + "Instagram": "#", + "Email": "divya_239179@saitm.ac.in" + } +} diff --git a/src/Page/About.jsx b/src/Page/About.jsx index e51e6861..ad2294c3 100644 --- a/src/Page/About.jsx +++ b/src/Page/About.jsx @@ -10,8 +10,8 @@ export default function About() { return (
-
+
+
{ return (
-
+

Dive into DevDisplay

diff --git a/src/Page/OpportunitiesHub/CompetitionList.jsx b/src/Page/OpportunitiesHub/CompetitionList.jsx index 896e00dc..efb6daaa 100644 --- a/src/Page/OpportunitiesHub/CompetitionList.jsx +++ b/src/Page/OpportunitiesHub/CompetitionList.jsx @@ -163,10 +163,7 @@ const CompetitionsCardComponent = ({ organizer, title, location, date, domains,

{domains.map((domain, idx) => ( - + {domain} ))} diff --git a/src/Page/OpportunitiesHub/EventsList.jsx b/src/Page/OpportunitiesHub/EventsList.jsx index 55d2a095..7853732f 100644 --- a/src/Page/OpportunitiesHub/EventsList.jsx +++ b/src/Page/OpportunitiesHub/EventsList.jsx @@ -254,10 +254,7 @@ const TecheventsCardComponent = ({ organizer, title, location, date, domains, ap
{domains.map((domain, idx) => ( - + {domain} ))} diff --git a/src/Page/OpportunitiesHub/HackathonList.jsx b/src/Page/OpportunitiesHub/HackathonList.jsx index 3c04517c..6721e0a1 100644 --- a/src/Page/OpportunitiesHub/HackathonList.jsx +++ b/src/Page/OpportunitiesHub/HackathonList.jsx @@ -734,10 +734,7 @@ const HackathonCardComponent = React.forwardRef(
{domains.map((domain, idx) => ( - + {domain} ))} diff --git a/src/Page/OpportunitiesHub/InternshipList.jsx b/src/Page/OpportunitiesHub/InternshipList.jsx index 91e646de..7974244e 100644 --- a/src/Page/OpportunitiesHub/InternshipList.jsx +++ b/src/Page/OpportunitiesHub/InternshipList.jsx @@ -28,7 +28,7 @@ const Internship1 = () => {
-
+
Custom Icon
@@ -166,7 +166,7 @@ const Internship2 = () => {
-
+
Custom Icon
@@ -308,7 +308,7 @@ const Internship3 = () => {
-
+
Custom Icon
diff --git a/src/Page/OpportunitiesHub/OpenSource.jsx b/src/Page/OpportunitiesHub/OpenSource.jsx index 12fc1278..7ebcb1e8 100644 --- a/src/Page/OpportunitiesHub/OpenSource.jsx +++ b/src/Page/OpportunitiesHub/OpenSource.jsx @@ -715,7 +715,7 @@ const OSProgramCardComponent = ({
Apply Now -
+
{timeline} diff --git a/src/Page/Sponsor.jsx b/src/Page/Sponsor.jsx index f4cd85a0..0c3d4cff 100644 --- a/src/Page/Sponsor.jsx +++ b/src/Page/Sponsor.jsx @@ -20,7 +20,7 @@ const SponsorUs = () => { within the tech community.

-
+
What is DevDisplay?

DevDisplay is a global open-source tech community with the mission to unite all tech-related needs under one diff --git a/src/components/AchievementJourney/IndividualJourney.js b/src/components/AchievementJourney/IndividualJourney.js index 2d82eb4d..a93e51e2 100644 --- a/src/components/AchievementJourney/IndividualJourney.js +++ b/src/components/AchievementJourney/IndividualJourney.js @@ -53,7 +53,7 @@ const AchieverJourneyPage = () => {

-
+
{
-
+

Interview Process

Preparation

    @@ -158,7 +158,7 @@ const AchieverJourneyPage = () => {
-
+

Resources for Preparation

{achieverData.resources.learningMaterials.map((material, index) => (
@@ -179,7 +179,7 @@ const AchieverJourneyPage = () => {
-
+

Inspiration & Guidance

{achieverData.inspirationAndGuidance.roadmaps.map((roadmap, index) => (
diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx index 248c4abf..cc2750a5 100644 --- a/src/components/Navbar.jsx +++ b/src/components/Navbar.jsx @@ -77,7 +77,7 @@ const Content = ({ selected, dir }) => { initial={{ opacity: 0, y: 8 }} animate={{ opacity: 1, y: 0 }} exit={{ opacity: 0, y: 8 }} - className="absolute left-0 top-[calc(100%_+_24px)] w-96 rounded-lg border border-neutral-600 bg-gradient-to-b from-neutral-900 via-neutral-900 to-neutral-800 p-4" + className="absolute left-0 top-[calc(100%_+_24px)] z-50 w-96 rounded-lg border border-neutral-600 bg-gradient-to-b from-neutral-900 via-neutral-900 to-neutral-800 p-4" > @@ -134,7 +134,7 @@ const Nub = ({ selected }) => { }} animate={{ left }} transition={{ duration: 0.25, ease: 'easeInOut' }} - className="absolute left-1/2 top-0 h-4 w-4 -translate-x-1/2 -translate-y-1/2 rotate-45 rounded-tl border border-neutral-600 bg-neutral-900" + className="absolute left-1/2 top-0 z-50 h-4 w-4 -translate-x-1/2 -translate-y-1/2 rotate-45 rounded-tl border border-neutral-600 bg-neutral-900" /> ); }; diff --git a/src/components/Profile/Profile.jsx b/src/components/Profile/Profile.jsx index 63875bec..9a69f04e 100644 --- a/src/components/Profile/Profile.jsx +++ b/src/components/Profile/Profile.jsx @@ -106,15 +106,15 @@ function Card({ data }) { {data.location}

-
+
{data.skills && data.skills.map((skill, index) => (
{skill} @@ -122,14 +122,14 @@ function Card({ data }) { ))}