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(UI): Add Hero component #1336

Merged
merged 15 commits into from
Jun 3, 2022
Merged

feat(UI): Add Hero component #1336

merged 15 commits into from
Jun 3, 2022

Conversation

hellofanny
Copy link
Contributor

What's the purpose of this pull request?

This PR is part of the Component Placement project, to bring some components from our starters (gatsby.store/nextjs.store).

image

How it works?

The Hero component works together with its own wrapper components for each content's details:

HeroImage: the wrapper component for the hero's image;
HeroHeading: the wrapper component for the content (title, description and call to action link).

How to test it?

Unit tests through Jest: yarn test packages/ui/src/organisms/Hero/Hero.test.tsx

References

Component Placement - FSSS-351

@vercel
Copy link

vercel bot commented Jun 1, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
faststore ✅ Ready (Inspect) Visit Preview Jun 3, 2022 at 5:25PM (UTC)

@hellofanny hellofanny self-assigned this Jun 1, 2022
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jun 1, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 181cbfd:

Sandbox Source
Store UI Typescript Configuration

@hellofanny hellofanny marked this pull request as ready for review June 1, 2022 21:24
@hellofanny hellofanny requested a review from a team as a code owner June 1, 2022 21:24
Copy link
Member

@eduardoformiga eduardoformiga left a comment

Choose a reason for hiding this comment

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

Great Job! ✨

Do we have the starters' PRs already?

packages/ui/src/organisms/Hero/Hero.test.tsx Show resolved Hide resolved
Co-authored-by: Eduardo Formiga <eduardo.formiga@gmail.com>
@hellofanny
Copy link
Contributor Author

Great Job! ✨

Do we have the starters' PRs already?

Thanks for reviewing! Just one starter PR in draft. I'll open it soonn ~

packages/ui/src/organisms/Hero/Hero.tsx Outdated Show resolved Hide resolved
packages/ui/src/organisms/Hero/HeroHeading.tsx Outdated Show resolved Hide resolved
Co-authored-by: Filipe W. Lima <filipe.lima@vtex.com.br>
@hellofanny hellofanny merged commit 767c0cd into main Jun 3, 2022
@hellofanny hellofanny deleted the feat/FSSS-351-hero branch June 3, 2022 17:27
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.

3 participants