From 071755820b5a4fb4bc0c85a454ac27b7c45c15d1 Mon Sep 17 00:00:00 2001 From: Rupali Kumari Date: Tue, 12 Aug 2025 12:50:24 +0530 Subject: [PATCH 1/3] improve PDF generation spacing in resume builder --- CODE_OF_CONDUCT.md | 6 --- SECURITY.md | 4 -- package-lock.json | 4 +- public/data/DivyaJain-DataAnalyst.json | 54 +++++++++---------- public/data/Rupali2507.json | 24 ++++++++- 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 +- src/ProfilesList.json | 2 +- .../AchievementJourney/IndividualJourney.js | 8 +-- src/components/Profile/Profile.jsx | 14 ++--- src/components/ResumeBuilder/Sidebar.jsx | 41 ++++---------- .../ResumeBuilder/utils/pdfGenerator.js | 32 +++++++---- src/components/Search/Search.jsx | 2 +- src/components/Search/SearchSkill.jsx | 2 +- src/components/Search/VoiceSearch.jsx | 4 +- 20 files changed, 108 insertions(+), 116 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/public/data/Rupali2507.json b/public/data/Rupali2507.json index 6d2e897d..2fc25c25 100644 --- a/public/data/Rupali2507.json +++ b/public/data/Rupali2507.json @@ -4,7 +4,27 @@ "bio": "A passionate developer with a knack for creating innovative solutions.", "avatar": "https://github.com/Rupali2507.png", "portfolio": "https://github.com/Rupali2507", - "skills": ["JavaScript", "React", "Node.js", "Express.js", "MongoDB", "HTML", "CSS", "Bootstrap", "Tailwind CSS", "Git", "GitHub", "API Development", "RESTful Services", "Responsive Design", "Agile Methodologies", "Problem Solving", "Team Collaboration", "Communication","MySQL"], + "skills": [ + "JavaScript", + "React", + "Node.js", + "Express.js", + "MongoDB", + "HTML", + "CSS", + "Bootstrap", + "Tailwind CSS", + "Git", + "GitHub", + "API Development", + "RESTful Services", + "Responsive Design", + "Agile Methodologies", + "Problem Solving", + "Team Collaboration", + "Communication", + "MySQL" + ], "social": { "GitHub": "https://github.com/Rupali2507", "LinkedIn": "https://www.linkedin.com/in/rupali-kumari-662986291/", @@ -12,4 +32,4 @@ "Discord": "https://discord.com/users/rupali_jha", "LeetCode": "https://leetcode.com/rups_2507/" } -} \ No newline at end of file +} diff --git a/src/Page/Home.jsx b/src/Page/Home.jsx index b9782f17..e18ed5c3 100644 --- a/src/Page/Home.jsx +++ b/src/Page/Home.jsx @@ -321,7 +321,7 @@ const StyledDot = styled.div` const TechFeatures = () => { 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/ProfilesList.json b/src/ProfilesList.json index 3b98cc16..0d23e9cc 100644 --- a/src/ProfilesList.json +++ b/src/ProfilesList.json @@ -1,4 +1,4 @@ -[ +[ "Rupali2507.json", "DivyaJain-DataAnalyst.json", 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/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 }) { ))}