Skip to content

Commit

Permalink
Merge pull request #78 from healthy-food-and-dietary-products/feature…
Browse files Browse the repository at this point in the history
…/pages-navigation

Feature/pages navigation
  • Loading branch information
egor-kolesnikov authored Nov 20, 2023
2 parents 26a9f0d + 341730b commit 497f0c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/pages/shopping-cart/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import ProductCard from '@components/product-card';
import { products } from '@data/dataExamples.ts';
import Button from '@components/Button';
import ShoppingList from '@components/shopping-list';
import Breadcrumbs from '@components/breadcrumbs';

type Product = {
cardName: string;
Expand All @@ -15,6 +16,7 @@ type Product = {
const ShoppingCart: React.FC = () => {
return (
<section className={styles.cart}>
<Breadcrumbs />
<div className={styles.details}>
<div className={styles.products}>
<div className={styles.products__title}>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/shopping-cart/shopping-cart.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
.cart {
margin: 0 auto;
width: calc(100% - 128px * 2);
padding-top: 148px;
padding-top: 50px;
display: flex;
flex-direction: column;
gap: 120px;
justify-content: center;
}

Expand All @@ -21,6 +20,7 @@
}

.cart__recomendation {
padding-top: 120px;
display: flex;
flex-direction: column;
gap: 20px;
Expand Down

0 comments on commit 497f0c1

Please sign in to comment.