-
{setPhoneNumber(e.target.value)}} />
+
+
+
+
+
+
+
+
+
-
Cancel
-
Save
+
Cancel
+
Save
diff --git a/src/components/modules/account/AccountPage/components/FavouriteProducts/FavouriteProducts.module.scss b/src/components/modules/account/AccountPage/components/FavouriteProducts/FavouriteProducts.module.scss
new file mode 100644
index 000000000..e6eef3499
--- /dev/null
+++ b/src/components/modules/account/AccountPage/components/FavouriteProducts/FavouriteProducts.module.scss
@@ -0,0 +1,5 @@
+@import '../../../../../../styles/utilities';
+
+.favouriteProducts {
+
+}
\ No newline at end of file
diff --git a/src/components/modules/account/AccountPage/components/FavouriteProducts/FavouriteProducts.tsx b/src/components/modules/account/AccountPage/components/FavouriteProducts/FavouriteProducts.tsx
new file mode 100644
index 000000000..f88605242
--- /dev/null
+++ b/src/components/modules/account/AccountPage/components/FavouriteProducts/FavouriteProducts.tsx
@@ -0,0 +1,20 @@
+import React from "react"
+import s from './FavouriteProducts.module.scss'
+import {ProductList} from '../../../../../common'
+import { ProductCardProps } from '../../../../../common/ProductCard/ProductCard'
+
+
+interface FavouriteProductsProps {
+ products: ProductCardProps[];
+}
+
+const FavouriteProducts = ({ products } : FavouriteProductsProps) => {
+
+ return (
+
+ )
+}
+
+export default FavouriteProducts
\ No newline at end of file
diff --git a/src/components/modules/account/AccountPage/components/OrderInformation/OrderInformation.module.scss b/src/components/modules/account/AccountPage/components/OrderInformation/OrderInformation.module.scss
index 0096a67d7..cfa30c6ad 100644
--- a/src/components/modules/account/AccountPage/components/OrderInformation/OrderInformation.module.scss
+++ b/src/components/modules/account/AccountPage/components/OrderInformation/OrderInformation.module.scss
@@ -8,6 +8,8 @@
.tabs {
margin-top: 3.2rem;
+ width: 100%;
+ border-bottom: black;
.blank {
margin-bottom: 2.4rem;
diff --git a/src/components/modules/account/AccountPage/components/OrderInformation/OrderInformation.tsx b/src/components/modules/account/AccountPage/components/OrderInformation/OrderInformation.tsx
index 76985b9fd..211cebe3b 100644
--- a/src/components/modules/account/AccountPage/components/OrderInformation/OrderInformation.tsx
+++ b/src/components/modules/account/AccountPage/components/OrderInformation/OrderInformation.tsx
@@ -10,55 +10,50 @@ interface OrderInformationProps {
waiting: {id: string, products: string[], totalPrice: number}[],
delivering: {id: string, products: string[], totalPrice: number}[],
delivered: {id: string, products: string[], totalPrice: number}[],
- // active?: boolean
}
const OrderInformation = ({ waiting, delivering, delivered} : OrderInformationProps) => {
return (
- {
-
-
Order Information
+
Order Information
-
-
-
-
- {
- waiting.map((order, i) => {
- return (
-
- )
- })
- }
-
+
+
+
+
+ {
+ waiting.map((order, i) => {
+ return (
+
+ )
+ })
+ }
+
-
-
- {
- delivering.map((order, i) => {
- return (
-
- )
- })
- }
-
+
+
+ {
+ delivering.map((order, i) => {
+ return (
+
+ )
+ })
+ }
+
-
-
- {
- delivered.map((order, i) => {
- return (
-
- )
- })
- }
-
-
-
-
- }
+
+
+ {
+ delivered.map((order, i) => {
+ return (
+
+ )
+ })
+ }
+
+
+
)
}
diff --git a/src/components/modules/account/DeliveryItem/DeliveryItem.module.scss b/src/components/modules/account/DeliveryItem/DeliveryItem.module.scss
index b83b77fd3..44cc3a5c9 100644
--- a/src/components/modules/account/DeliveryItem/DeliveryItem.module.scss
+++ b/src/components/modules/account/DeliveryItem/DeliveryItem.module.scss
@@ -1,9 +1,8 @@
@import '../../../../styles/utilities';
.deliveryItem {
- @apply flex bg-white items-center custom-border-radius;
+ @apply flex bg-white items-center shape-common;
margin-bottom: 1.6rem;
- border: 1px solid var(--primary)
}
.separator {
diff --git a/src/components/modules/account/DeliveryItem/components/IdAndStatus/IdAndStatus.module.scss b/src/components/modules/account/DeliveryItem/components/IdAndStatus/IdAndStatus.module.scss
index d50ecd115..5e8cbdd83 100644
--- a/src/components/modules/account/DeliveryItem/components/IdAndStatus/IdAndStatus.module.scss
+++ b/src/components/modules/account/DeliveryItem/components/IdAndStatus/IdAndStatus.module.scss
@@ -2,48 +2,7 @@
.idAndStatus {
@apply items-center;
- padding: 2.4rem 0 2.4rem 1rem;
-
- @screen md {
- padding: 2.4rem 0 2.4rem 1.2rem;
- }
-
- @screen lg {
- padding: 2.4rem 0 2.4rem 2.4rem;
- }
-
- .id {
- @apply font-bold;
- margin-bottom: .8rem;
- }
-
- .deliveryStatus {
- @apply font-bold text-white;
- font-size: 1.2rem;
- line-height: 2rem;
- padding: 0 .8rem;
- border-radius: 0.5rem;
- width: fit-content;
-
- &.waiting {
- background-color: #D9A645;
- }
- &.delivering {
- background-color: var(--info-dark);
- }
- &.delivered {
- background-color: var(--primary);
- }
- }
-}@import '../../../../../../styles/utilities';
-
-.idAndStatus {
- @apply items-center;
- padding: 2.4rem 0 2.4rem 1rem;
-
- @screen md {
- padding: 2.4rem 0 2.4rem 1.2rem;
- }
+ padding: 2.4rem 0 2.4rem 1.2rem;
@screen lg {
padding: 2.4rem 0 2.4rem 2.4rem;
diff --git a/src/components/modules/account/DeliveryItem/components/IdAndStatus/IdAndStatus.tsx b/src/components/modules/account/DeliveryItem/components/IdAndStatus/IdAndStatus.tsx
index 841dd530f..578c94f97 100644
--- a/src/components/modules/account/DeliveryItem/components/IdAndStatus/IdAndStatus.tsx
+++ b/src/components/modules/account/DeliveryItem/components/IdAndStatus/IdAndStatus.tsx
@@ -5,10 +5,10 @@ import s from './IdAndStatus.module.scss'
interface IdAndStatusProps {
id?: string;
- status: "waiting" | "delivering" | "delivered";
+ status: "Waiting" | "Delivering" | "Delivered";
}
-const IdAndStatus = ({ id, status="waiting" } : IdAndStatusProps) => {
+const IdAndStatus = ({ id, status="Waiting" } : IdAndStatusProps) => {
return (
@@ -16,7 +16,7 @@ const IdAndStatus = ({ id, status="waiting" } : IdAndStatusProps) => {
{status}
+ })}> {status.charAt(0).toUpperCase() + status.slice(1)}
)
diff --git a/src/components/modules/account/DeliveryItem/components/ReOrder/ReOrder.module.scss b/src/components/modules/account/DeliveryItem/components/ReOrder/ReOrder.module.scss
index b46b528e1..ce36380da 100644
--- a/src/components/modules/account/DeliveryItem/components/ReOrder/ReOrder.module.scss
+++ b/src/components/modules/account/DeliveryItem/components/ReOrder/ReOrder.module.scss
@@ -3,14 +3,9 @@
.reOrder {
@apply text-white custom-border-radius hidden font-bold;
padding: .4rem .6rem;
- margin-right: 1rem;
+ margin-right: 1.2rem;
background-color: var(--primary);
- @screen md {
- padding: .4rem .6rem;
- margin-right: 1.2rem;
- }
-
@screen lg {
padding: .8rem 1.2rem;
margin-right: 2.4rem;
diff --git a/src/components/modules/account/DeliveryItem/components/TotalPrice/TotalPrice.module.scss b/src/components/modules/account/DeliveryItem/components/TotalPrice/TotalPrice.module.scss
index 9a4f795b3..e987f30c1 100644
--- a/src/components/modules/account/DeliveryItem/components/TotalPrice/TotalPrice.module.scss
+++ b/src/components/modules/account/DeliveryItem/components/TotalPrice/TotalPrice.module.scss
@@ -2,11 +2,7 @@
.totalPrice {
margin-left: auto;
- margin-right: 1rem;
-
- @screen md {
- margin-right: 1.2rem;
- }
+ margin-right: 1.2rem;
@screen lg {
margin-right: 2.4rem;