Skip to content

Commit

Permalink
adjusted code
Browse files Browse the repository at this point in the history
  • Loading branch information
NKoshmak committed Nov 28, 2024
1 parent 1bbf187 commit 915f7f1
Show file tree
Hide file tree
Showing 8 changed files with 1,108 additions and 140 deletions.
1,220 changes: 1,092 additions & 128 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
}
},
"dependencies": {
"backstopjs": "^6.2.2",
"font-awesome": "^4.7.0"
}
}
1 change: 0 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ <h1 class="header__title">Strategic Agency</h1>
<a href="#" class="header__btn">Learn more</a>
</div>


<div class="slider">
<div class="slides">
<div class="slide">
Expand Down
10 changes: 6 additions & 4 deletions src/styles/blocks/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@

@include content-padding-inline;

display: flex;
flex-direction: column;

@include on-desktop {
margin-top: 160px;
grid-column: span 4;
margin: 0 auto;
margin-top: 168px;
}
}

Expand Down Expand Up @@ -84,6 +82,10 @@
line-height: 27px;
margin-bottom: 72px;
text-align: left;

@include on-desktop {
grid-column: span 4;
}
}

&__btn {
Expand Down
5 changes: 3 additions & 2 deletions src/styles/blocks/page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
&__body {
margin: 0;
padding: 0;
min-width: 100%;
background: $c-gray;
overflow-x: hidden;
}
}

.container {
@include content-padding-inline;
width: 100%;

margin: 0 auto;
}
1 change: 1 addition & 0 deletions src/styles/blocks/slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

@include on-desktop {
grid-column: 7/13;
grid-row: span 4;
border-top-left-radius: 30px;
border-top-right-radius: 0;
border-bottom-left-radius: 0;
Expand Down
5 changes: 4 additions & 1 deletion src/styles/blocks/what-we-do.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.what-we-do {
width: 100%;
min-width: 100%;
margin: 0 auto;
background-color: $text-color;
border-radius: 30px;
Expand Down Expand Up @@ -27,6 +27,9 @@

&__cards {
@include page-grid;

justify-items: center;
align-items: center;
}
}

Expand Down
5 changes: 1 addition & 4 deletions src/styles/utils/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,16 @@

@include on-desktop {
max-width: 1024px;
margin-inline: auto;
padding-inline: 54px;
}

@include on-desktop-l {
max-width: 1600px;
margin-inline: auto;
padding-inline: 227px;
}

@include on-desktop-xl {
max-width: 2560px;
margin-inline: auto;
padding-inline: 707px;
}
}
Expand Down Expand Up @@ -79,7 +76,7 @@

@include on-tablet {
--columns: 6;

column-gap: 24px;
}

Expand Down

0 comments on commit 915f7f1

Please sign in to comment.