-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add fallback component when 404 route * feat: add typings for product & category * refactor: change merchDetail typings to productType * feat: skeleton for merch list * feat: merch detail, typings, added size chart * feat: Cart Page * feat: checkout page * feat: order summary page * feat: order history page * feat: sign up, sign in and confirm sign in to take in page component * refactor: responsiveness on merch and change route name * refactor: responsiveness on merch detail * feat(cart): add cart count into header * style(cart): fix gap between hamburger and cart * refactor(*): Responsiveness changes, and fix max quantity to 99 * fix(cart): remove wrong equality meant for UI checking * refactor(*): add paynow modal * refactor(*): cart and checkout page, add payment element Co-authored-by: Woke Orange <75624491+wokeorange@users.noreply.github.com> Co-authored-by: Chan Wen Xu <lutherchanpublic+git@gmail.com>
- Loading branch information
1 parent
334d6e3
commit fa9a0d4
Showing
74 changed files
with
2,331 additions
and
1,961 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,5 @@ groups: | |
internal_reviewers: 0 | ||
usernames: | ||
- RealDyllon | ||
- tayalaks2001 | ||
- yankai14 | ||
- ashwin2201 | ||
- chanbakjsd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { ReactNode } from "react"; | ||
import { Flex, FlexProps, Text, Divider } from "@chakra-ui/react"; | ||
|
||
type CartCardProps = FlexProps & { | ||
title?: string; | ||
children: ReactNode; | ||
}; | ||
|
||
const CartCard = ({ children, title, ...props }: CartCardProps) => { | ||
return ( | ||
<Flex px={3} py={4} gap={4} flexDir="column" borderWidth="1px" borderRadius="lg" {...props}> | ||
<Text fontWeight={600}>{title} </Text> | ||
<Divider /> | ||
{children} | ||
</Flex> | ||
); | ||
}; | ||
|
||
export default CartCard; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.