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: created sponsor DA section on tech pg #289

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

Conversation

littilemike11
Copy link
Contributor

What changed?

created sponsor DA section component for tech pg. Added img to tech images.

#267

How will this change be visible?

Changes can be viewed on tech pg and tech components

How can you test this change?

  • Automated tests
  • [x ] Manual tests (describe)
    see if new section component closely resembles figma design across various screen sizes

@jtfairbank jtfairbank force-pushed the feat/267/sponser-section-tech-pg branch from a968dfb to 593d345 Compare January 16, 2025 18:35
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.

@littilemike11 looks great! Answered your question about the color hex codes, and have 1 blocking sugggestion to get that button working. Should be quick to get this one sorted and merged!

gap={{ initial: "4", lg: "6", xl: "9" }}
>
<Box
<>
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: Don't think we need an empty wrapping element, because the wraps everything else?

return (
<Container size={{ xs: "1", sm: "2", md: "3", lg: "4" }} align="center">
<Flex width="100%" direction="column" align="center" justify="center">
{/* is there a global title color/theme rather than hard coding it in? */}
Copy link
Contributor

Choose a reason for hiding this comment

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

answer: You can tackle this in 2 ways:

  • Radix gives us CSS variables defined in the /src/stylesheets/ folder, which you can reference in hard coded styles. Example
  • Tailwind gives us the color as a class, with custom colors defined in /tailwind.config.ts. The class names use their text-[color]-[weight] & bg-[color]-[weight] conventions. Example: bg-navy-900.

Double check the stylesheets and tailwind config to figure out what specific hex code colors are called. Want to change up the hard coded value here?

</Strong>{" "}
</Text>

<Button size="4" className=" w-max font-normal cursor-pointer">
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 button should link to the [email protected] email. You can see an example of buttons doing that on the page's Hero Section component.

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.

Create "Sponsor Distribute Aid’s Tech Team!" section for the Tech page
2 participants