Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a new section highlighting contributor and user badges #6119

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

souvikinator
Copy link

@souvikinator souvikinator commented Dec 10, 2024

Description

This PR fixes #6092

Changes made:

  • Added new recognition-program styling to CommunitySectionWrapper
  • Implemented responsive badge grid with proper spacing
  • Added content describing the recognition program benefits
  • Ensured consistent styling with existing sections

Desktop view:

Mobile view:

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@l5io
Copy link
Contributor

l5io commented Dec 10, 2024

🚀 Preview for commit 972e198 at: https://6757d9749cd366ae3c2540a2--layer5.netlify.app

@vishalvivekm
Copy link
Contributor

@souvikinator
Thank you for your contribution!
Let's discuss this during the website call on Monday at 6:30 PM IST

adding it as an agenda item to the meeting minutes.

}
}

@media (max-width: 62rem) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

be consistent in using either rem or px

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. I'm on it.

@@ -260,6 +260,115 @@ const CommunitySectionWrapper = styled.div`
}
}

.recognition-program {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why defining styles again ? is there no styles to reuse from this page?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the styles. Removed redundant style definitions and used similar style definitions from other sections. Only styles related to badge alignment and responsiveness is there as it is specific to this section.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@souvikinator i was mentioning to use reuse the styles which means the classnames if the other section have the same structure so in that way you don't have to write styles again. I am sure in this page only there might be jumbotrons so see if you can use there classes instead writing again.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sudhanshutech in the current implementation, I'm already reusing styles from the meshmate section (hence the .meshmate class addition) for the section layout, margins, text content and responsive behavior.

The styles you see in the code are specifically for the badge stack visualization and its responsive behavior since this is a unique visual element that is not present in any section.

Are you suggesting we come up with section design/UI that sticks more closely to the existing classes so that we don't need to define the badge related or in fact any extra style? That would mean changing the section UI.

@sudhanshutech
Copy link
Member

sudhanshutech commented Dec 23, 2024

@souvikinator calling again.
Let's discuss this during the website call today at 6:30 PM IST (7:00 AM CT).

Please add it as an agenda item to the meeting minutes.

@l5io
Copy link
Contributor

l5io commented Dec 24, 2024

🚀 Preview for commit b8c6e8a at: https://676b3e11da0e8e6a0c51fc4c--layer5.netlify.app

@@ -260,6 +260,115 @@ const CommunitySectionWrapper = styled.div`
}
}

.recognition-program {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@souvikinator i was mentioning to use reuse the styles which means the classnames if the other section have the same structure so in that way you don't have to write styles again. I am sure in this page only there might be jumbotrons so see if you can use there classes instead writing again.

@sudhanshutech
Copy link
Member

@souvikinator any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[Community] Create a new section highlighting contributor and user badges
4 participants