From 3b13337c2ef3e37b1f1aa3e27847392c2cf0476b Mon Sep 17 00:00:00 2001 From: PesudoDanish Date: Thu, 7 Aug 2025 17:13:44 +0530 Subject: [PATCH] Pagination Brought Up To The Top So that it is easy to navigate between the respected No of profile lists. --- CODE_OF_CONDUCT.md | 6 --- SECURITY.md | 4 -- package-lock.json | 4 +- public/data/DivyaJain-DataAnalyst.json | 54 +++++++++---------- public/data/pseudodanish.json | 18 ++++++- src/Homepage.jsx | 2 +- 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/Pagination/Pagination.jsx | 2 +- 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 +- 20 files changed, 80 insertions(+), 108 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/pseudodanish.json b/public/data/pseudodanish.json index ebd50654..4da30c03 100644 --- a/public/data/pseudodanish.json +++ b/public/data/pseudodanish.json @@ -4,7 +4,21 @@ "bio": "I don’t just write code — I architect digital weapons. I debug like a sniper and build web solutions that conquer. Always hungry to outsmart tech, not just learn it.", "avatar": "https://github.com/pseudodanish.png", "portfolio": "https://github.com/pseudodanish", - "skills": ["Python", "Javascript", "Django","React JS","Wordpress","Shopify","Java","Javascript","Typescript","Redux Toolkit","Ant Design","Axios","Redux Saga"], + "skills": [ + "Python", + "Javascript", + "Django", + "React JS", + "Wordpress", + "Shopify", + "Java", + "Javascript", + "Typescript", + "Redux Toolkit", + "Ant Design", + "Axios", + "Redux Saga" + ], "social": { "GitHub": "https://github.com/pseudodanish", "Twitter": "https://x.com/Draggy2131", @@ -13,6 +27,6 @@ "Email": "danishasadmomin@gmail.com", "Discord": "https://discord.com/users/dragzy6702", "YouTube": "https://www.youtube.com/channel/UC7yqfvX8Ivnxgp-EfIgHmnQ", - "Upwork":"https://www.upwork.com/freelancers/~01be7c53737368bf38?mp_source=share", + "Upwork": "https://www.upwork.com/freelancers/~01be7c53737368bf38?mp_source=share" } } diff --git a/src/Homepage.jsx b/src/Homepage.jsx index f1257678..7d882544 100644 --- a/src/Homepage.jsx +++ b/src/Homepage.jsx @@ -151,7 +151,6 @@ function App() {
- {profiles.length === 0 && searching ? : renderProfiles()} {combinedData.length > 0 && ( )} + {profiles.length === 0 && searching ? : renderProfiles()}
{/* */} 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/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/Pagination/Pagination.jsx b/src/components/Pagination/Pagination.jsx index 6534e5ce..5fca376a 100644 --- a/src/components/Pagination/Pagination.jsx +++ b/src/components/Pagination/Pagination.jsx @@ -14,7 +14,7 @@ function Pagination({ currentPage, totalPages, onNextPage, onPrevPage }) { }; return ( -
+
-
+
    {sections.map((section) => { const status = getStepStatus(section.id); @@ -117,11 +102,7 @@ function Sidebar({
  • -
    +