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

Midpoint changes #97

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/cart/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const Backtext = styled.p`
export const TrashIcon = styled(Trash2)`
width: 30px;
height: 30px;
color: navy;
color: ${COLORS.navy};
margin-right: 30px;
margin-left: 50px;
margin-top: 28px;
Expand Down
25 changes: 23 additions & 2 deletions src/app/orderConfirmationDelivery/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
DeliveryTimes,
fetchDeliveryTimes,
} from '@/api/supabase/queries/delivery_queries';
import { BackButtonDiv } from '../orderConfirmationPickUp/styles';
import BackButton from '../../components/BackButton/BackButton';

import { fetchCartItemsWithQuantityByID } from '../../api/supabase/queries/cart_queries';
Expand Down Expand Up @@ -102,6 +103,9 @@ export default function OrderConfirmationDelivery() {
<NavBar />
<CenterDiv>
<PageDiv>
<BackButtonDiv>
<BackButton destination="./storefront" />
</BackButtonDiv>
<BottomColumnDiv>
<LeftColumnDiv>
<BackButton destination="./storefront" />
Expand All @@ -121,8 +125,25 @@ export default function OrderConfirmationDelivery() {
}}
/>
<LabelBox>
<Body1Bold>{cartItem.name}</Body1Bold>
<Body2Light>Category: {cartItem.category}</Body2Light>
<div>
<span
style={{
display: 'inline-block',
fontWeight: 'bold',
marginRight: '4px',
}}
>
Quantity:
</span>
<span
style={{
display: 'inline-block',
fontSize: '16px',
}}
>
{cartItem.quantity}
</span>
</div>
</LabelBox>
<Quantity>
<Body2>
Expand Down
Loading