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

feat-tech-join-team #269

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

feat-tech-join-team #269

wants to merge 2 commits into from

Conversation

Harshvardhan1012
Copy link
Contributor

What changed?

Tech->Join Our team section
issue #264

How will this change be visible?

join-1

join-2

Copy link
Contributor

@jtfairbank jtfairbank left a comment

Choose a reason for hiding this comment

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

praise: @Harshvardhan1012 looks great! Got a few nitpicks to do, and a bit of positioning between the text / image parts of this component in order to better match the design.

export const JoinTeam = () => {
return (
<Section
mx={{ md: "94px", initial: "2" }}
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: Always put the initial responsive size first so that it goes from smaller screens to larger screens when reading left-to-right. Check other parts of the code for this too.

align="center"
>
<Flex gap="2" direction="column" justify="center">
<Heading size="8" className="text-navy-800">
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion (blocking): Set the as parameter to 2 so that this creates an <h2> heading, which is important document structure for screenreaders and other accessibility technology.

<Heading size="8" className="text-navy-800">
How To Join Our Team!
</Heading>
<Heading size="5">
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion (blocking): This isn't really a heading, just emphasized text, so use the Strong component here or the Text component with appropriate font-weight.

</Text>

<Link href="mailto:[email protected]">
<Button size="4" className="w-40">
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: Probably simpler to go with what Radix provides out of the box, and remove the width class. Alternatively, you could wrap the button in a Box component with a set width, and use the asChild property to pass that down to the button.

px={{ md: "9", initial: "6" }}
py="6"
>
<Flex
Copy link
Contributor

Choose a reason for hiding this comment

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

suggestion (blocking): Based on the design, it looks like the text takes up a little more than half the space available. Can we try to use some flex properties to go for a 60 / 40 width for the text / image?

suggestion (blocking): Can we use the flex stretch properties to have the image fill the vertical space available, as per the design? Could add some vertical margin to the image if it's not supposed to stretch all the way to the top / bottom of the text.

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

Successfully merging this pull request may close these issues.

Feature [Component]: "How To Join Our Team" section for the Tech page
2 participants