Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
innovatixhub authored Nov 26, 2024
1 parent b430518 commit 020c35d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/componants/order-page/OrderPage.jsx
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;
9 changes: 9 additions & 0 deletions src/componants/order-page/OrderPage.module.scss
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;
}

0 comments on commit 020c35d

Please sign in to comment.