Skip to content

Commit

Permalink
fixed catalog and Git link
Browse files Browse the repository at this point in the history
  • Loading branch information
syavaYki committed Nov 19, 2024
1 parent 2c85b22 commit 0c3f1ec
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 31 deletions.
43 changes: 17 additions & 26 deletions src/components/Catalog/Catalog.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
@include inline-padding;

& .container {

&_title {
@include ontablet {
grid-area: 2/ 1/ 2/ -1;
Expand All @@ -29,42 +28,34 @@
&_catalog {
display: flex;
flex-flow: row wrap;
gap: 40px;
width: 100%;
justify-content: center;

gap: 40px 16px;

@include ontablet {
justify-content: space-between;
flex-direction: row;
gap: 16px;
}
}

&_product {
display: flex;
flex-direction: row;
width: 220px;

@include ontablet {
flex-wrap: wrap;
width: 230px;

}
flex: 1 1 220px;
}
}

& .products_not_found_container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;

& .img{
flex-grow: 1;
width: 30vw;
aspect-ratio: 1/1;
background: url(../../../public/img/product-not-found.png) no-repeat center/contain;;
& .products_not_found_container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;

& .img {
flex-grow: 1;
width: 30vw;
aspect-ratio: 1/1;
background: url(../../../public/img/product-not-found.png) no-repeat
center/contain;
}
}
}
}
1 change: 1 addition & 0 deletions src/components/Footer/FooterLinks/FooterLinks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const FooterLinks: React.FC = () => {
<Link
to={'https://github.com/syavaYki'}
className={classNames(style.link)}
target="_blank"
>
Github
</Link>
Expand Down
5 changes: 0 additions & 5 deletions src/styles/mixines.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,9 @@
@include ontablet {
padding-inline: $tablet-padding-inline;
}

@include ondesktop {
padding-inline: $desktop-padding-inline;
}
}

@mixin headings {

h1,
h2,
h3,
Expand Down

0 comments on commit 0c3f1ec

Please sign in to comment.