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: PickUp Page redesign #80

Merged
merged 9 commits into from
Apr 15, 2024
Merged

feat: PickUp Page redesign #80

merged 9 commits into from
Apr 15, 2024

Conversation

CharlotteLaw
Copy link
Contributor

What's new in this PR

Description

Re-designed the frontend of the pick up confirmation page according to Katy's re-designs on the Figma.

Screenshots

image

How to review

orderConfirmationPickUp

  • page.tsx
  • styles.ts

Next steps

N/A

Relevant Links

Online sources

N/A

Related PRs

N/A

🛍 CC: @BuyankhuuTsCAl

Copy link

vercel bot commented Apr 12, 2024

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

Name Status Preview Comments Updated (UTC)
shanti-project ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2024 0:35am

@BuyankhuuTsCAl
Copy link
Collaborator

A couple things:

  • Make sure that you are rebasing before submitting. You can double check to see if your behind main by going to the branch on github.
  • don't forget to run npx prettier --write .
  • on the actual page, you are missing the product quantity count.
  • can you make the text div wider so that some names don't seem so squished.
  • can you see what adding a shadow on the images would look like?
  • get the category names and not the number
  • location has a header and a text saying location: something
  • is adding am and pm to the time possible?

@BuyankhuuTsCAl
Copy link
Collaborator

Screen Shot 2024-04-12 at 3 24 06 PM could you double check your styling to make sure that the margins and whatnot are fitting the screen.

Copy link
Collaborator

@BuyankhuuTsCAl BuyankhuuTsCAl 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! I really like how the page is looking at the moment but there is a couple things that you will need to fix :)

<TextDiv>
<Heading3Bold>Your order has been submitted</Heading3Bold>
</TextDiv>
<OutterFavoriteDiv>
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you change the name of this div. I think in the past, someone might've copied the favorites style but we should prob rename them

<Body1Bold>{cartItem.name}</Body1Bold>
<Body2Light>Category: {cartItem.category}</Body2Light>
</LabelBox>
</FavoriteDiv>
Copy link
Collaborator

Choose a reason for hiding this comment

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

same here

padding-top: 10px;
width: 350px;
padding-left: 0px;
border-top: 1px black solid;
Copy link
Collaborator

Choose a reason for hiding this comment

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

don't use black -> do color.black


export const WhiteBackgroundDiv = styled.div`
border-radius: 8px;
background: var(--White, #fff);
Copy link
Collaborator

Choose a reason for hiding this comment

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

use the color file :)

flex-direction: column;
align-items: flex-start;
border-radius: 10px;
background: var(--White, #fff);
Copy link
Collaborator

Choose a reason for hiding this comment

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

same issue

max-height: 100%;
padding: 36px 34px;
gap: 33px;
max-height: 100%;
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is there two max heights

`;

export const DetailsHeader = styled.p`
color: var(--Navy, #1b3679);
Copy link
Collaborator

Choose a reason for hiding this comment

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

same idea


export const DetailsHeader = styled.p`
color: var(--Navy, #1b3679);
font-family: Public Sans, sans-serif;
Copy link
Collaborator

Choose a reason for hiding this comment

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

if you imported the text file then you shouldn't need this part

@BuyankhuuTsCAl BuyankhuuTsCAl merged commit 8ad3ecc into main Apr 15, 2024
4 checks passed
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.

2 participants