-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b430518
commit 020c35d
Showing
2 changed files
with
37 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { useTranslation } from "react-i18next"; | ||
import useScrollOnMount from "src/Hooks/App/useScrollOnMount"; | ||
import PagesHistory from "../Shared/MiniComponents/PagesHistory/PagesHistory"; | ||
import ForYouSection from "../Shared/Sections/ForYouSection/ForYouSection"; | ||
import OrderProducts from "./CartProducts/OrderProducts"; | ||
import s from "./OrderPage.module.scss"; | ||
import OrderPageButtons from "./OrderPageButtons/OrderPageButtons"; | ||
|
||
const OrderPage = () => { | ||
const { t } = useTranslation(); | ||
|
||
useScrollOnMount(200); | ||
|
||
return ( | ||
<div className="container"> | ||
<main className={s.orderPage}> | ||
<PagesHistory history={["/", t("history.orders")]} /> | ||
|
||
<div className={s.pageComponents} id="order-page"> | ||
<OrderProducts /> | ||
<OrderPageButtons /> | ||
<ForYouSection /> | ||
</div> | ||
</main> | ||
</div> | ||
); | ||
}; | ||
export default OrderPage; |
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,9 @@ | ||
@import "src/Styles/mixins"; | ||
|
||
.orderPage { | ||
margin: var(--page-margin); | ||
} | ||
|
||
.pageComponents { | ||
margin-top: 60px; | ||
} |