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

made padding consistent by adding h3 class to ProgramGrid component and using that instead of passing a subtitle prop for the subtitle #6087

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

Conversation

FaatimaAbidi
Copy link

@FaatimaAbidi FaatimaAbidi commented Nov 20, 2024

Description

This PR fixes #5648

Notes for Reviewers

Signed commits

  • Yes, I signed my commits.

@l5io
Copy link
Contributor

l5io commented Nov 21, 2024

🚀 Preview for commit a199d8c at: https://673e79cfa111e9a3ab9a2501--layer5.netlify.app

@vishalvivekm
Copy link
Contributor

@FaatimaAbidi
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.

@@ -57,7 +57,8 @@ const ProgramsGrid = ({ hide_path, sub_section }) => {

return (
<ProgramsPageWrapper>
<PageHeader title="Open Source Internship Programs" subtitle="Build Your Career at Layer5" path={path} />
Copy link
Member

Choose a reason for hiding this comment

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

is this pageheader used elsewhere also, i guess yes. So why only here the subtitle having the css issues and not elsewhere?

Copy link
Author

Choose a reason for hiding this comment

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

yes, the pageHeader is used in other components too, and the subtitle has css issues in those places as well. For example, the issue exists on this page as well: https://layer5.io/community/members

Copy link
Author

Choose a reason for hiding this comment

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

@sudhanshutech instead of the fix I did for the current page, should I fix the issue for all pages by adding the h3 class to the page header subtitle component?

Copy link
Contributor

Choose a reason for hiding this comment

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

@FaatimaAbidi It should be for all page headings. You can add to components

@sudhanshutech
Copy link
Member

@FaatimaAbidi any update?

@FaatimaAbidi
Copy link
Author

Yes @sudhanshutech, I am almost done making the changes that @Vidit-Kushwaha suggested so I'll be updating my PR shortly.

…fixed the header margin issue on the open source internship programs page.

Signed-off-by: faatima_abidi <[email protected]>
@l5io
Copy link
Contributor

l5io commented Dec 19, 2024

🚀 Preview for commit 860d443 at: https://6763a56eb16ae3073b5b769d--layer5.netlify.app

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.

Add spacing above the heading
5 participants