Skip to content

Commit

Permalink
changes added
Browse files Browse the repository at this point in the history
  • Loading branch information
ansnihur committed Jul 16, 2024
1 parent dce2007 commit 77317cd
Show file tree
Hide file tree
Showing 11 changed files with 106 additions and 32 deletions.
77 changes: 46 additions & 31 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,23 +62,23 @@
alt="logo"
/>
</a>
</div>

<input
type="checkbox"
id="menu-toggle"
class="top-bar__menu-toggle-checkbox"
<input
type="checkbox"
id="menu-toggle"
class="top-bar__menu-toggle-checkbox"
/>
<label
for="menu-toggle"
class="top-bar__menu-toggle"
aria-label="Toggle menu"
>
<img
src="images/icons/menu.svg"
alt="Menu icon"
/>
<label
for="menu-toggle"
class="top-bar__menu-toggle"
aria-label="Toggle menu"
>
<img
src="images/icons/menu.svg"
alt="Menu icon"
/>
</label>
</div>
</label>

<nav class="top-bar__nav">
<ul class="nav-list">
Expand Down Expand Up @@ -118,7 +118,7 @@
</nav>

<a
href="#"
href="#contact-us"
class="top-bar__hire-us"
>
Hire us
Expand Down Expand Up @@ -558,21 +558,36 @@ <h3 class="contacts__title">Contact us</h3>
</a>
<p class="contacts__section-title">Our socials</p>
<div class="contacts__socials">
<img
class="contacts__socials-facebook"
src="./images/icons/facebook.svg"
alt="Facebook"
/>
<img
class="contacts__socials-twitter"
src="./images/icons/twitter.svg"
alt="Twitter"
/>
<img
class="contacts__socials-instagram"
src="./images/icons/instagram.svg"
alt="Instagram"
/>
<a
href="#"
class="contacts__socials-link"
>
<img
class="contacts__socials-facebook"
src="./images/icons/facebook.svg"
alt="Facebook"
/>
</a>
<a
href="#"
class="contacts__socials-link"
>
<img
class="contacts__socials-twitter"
src="./images/icons/twitter.svg"
alt="Twitter"
/>
</a>
<a
href="#"
class="contacts__socials-link"
>
<img
class="contacts__socials-instagram"
src="./images/icons/instagram.svg"
alt="Instagram"
/>
</a>
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/styles/blocks/apply.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
font-weight: 600;
line-height: 22.5px;
text-align: center;
cursor: pointer;

color: $c-white;

Expand Down
3 changes: 3 additions & 0 deletions src/styles/blocks/article.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,11 @@
align-items: center;

&-button {
transition: 0.3s;

@include hover(scale, 1.2);

cursor: pointer;
width: 40px;
height: 40px;
border-radius: 50%;
Expand Down
2 changes: 2 additions & 0 deletions src/styles/blocks/benefit.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
flex-direction: column;
justify-content: center;
align-items: center;
transition: 0.3s;

@include hover(scale, 1.1);

&-image {
border-radius: 16px;
width: 166px;
height: 166px;
transition: 0.3s;

@include hover(scale, 0.9);
}
Expand Down
3 changes: 3 additions & 0 deletions src/styles/blocks/bottom-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,8 @@

&__logo-menu {
margin-bottom: 24px;
transition: 0.3s;

@include hover(scale, 1.1);
}
}
3 changes: 3 additions & 0 deletions src/styles/blocks/bottom-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
&-item {
list-style-type: none;
margin-bottom: 24px;
transition: 0.3s;

@include hover(scale, 1.1);

&-link {
text-decoration: none;
Expand Down
4 changes: 4 additions & 0 deletions src/styles/blocks/contacts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,9 @@
align-items: center;
gap: 32px;
margin: 16px 0;

&-link {
@include hover(scale, 1.1);
}
}
}
4 changes: 4 additions & 0 deletions src/styles/blocks/header-main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
}

&-button {
cursor: pointer;
background-color: $c-blue;
width: 280px;
height: 50px;
Expand Down Expand Up @@ -74,8 +75,11 @@

&-left,
&-right {
transition: 0.3s;

@include hover(scale, 1.2);

cursor: pointer;
background-color: $c-gray;
border-radius: 50%;
width: 32px;
Expand Down
12 changes: 12 additions & 0 deletions src/styles/blocks/message.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,13 @@
font-size: 16px;
width: 100%;
outline: none;
color: $c-white;

margin-bottom: 40px;

&:hover {
border-bottom: 2px solid $c-blue;
}
}

&__label {
Expand All @@ -66,6 +71,12 @@
box-sizing: border-box;

margin-bottom: 56px;

color: $c-white;

&:hover {
border-bottom: 2px solid $c-blue;
}
}

&__button {
Expand All @@ -79,6 +90,7 @@
width: 264px;
}

cursor: pointer;
height: 56px;
border-radius: 8px;
background-color: $c-blue;
Expand Down
1 change: 1 addition & 0 deletions src/styles/blocks/quote.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
justify-content: center;
align-items: center;
width: 100%;
transition: 0.3s;

@include hover(scale, 1.1);

Expand Down
28 changes: 27 additions & 1 deletion src/styles/blocks/top-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
justify-content: center;
align-items: center;
gap: 32px;

@include hover(scale, 1.1);
}

&__nav {
Expand All @@ -48,11 +50,28 @@
flex-direction: column;
gap: 16px;

@include on-mobile {
transition: 0.3s ease-out;
padding: 5px 30px;
position: absolute;
left: 130px;
top: 30px;
background-color: $main-page-color;
border: 2px solid $c-gray;
border-radius: 8px;
}

@include on-desktop-s {
padding: 0;
position: relative;
left: 0;
top: 0;
flex-direction: row;
}

&-item {
@include hover(scale, 1.1);

.nav-list-item-link {
text-decoration: none;
color: $c-gray;
Expand All @@ -64,22 +83,29 @@
display: none;

&:checked ~ .top-bar__menu-toggle + .top-bar__nav {
display: flex;
display: block;
}
}

&__menu-toggle {
@include hover(scale, 1.1);

display: block;
background: none;
border: none;
cursor: pointer;
position: absolute;
top: 25px;
left: 100px;

@include on-desktop-s {
display: none;
}
}

&__hire-us {
@include hover(scale, 1.1);

@include on-mobile {
white-space: nowrap;
position: relative;
Expand Down

0 comments on commit 77317cd

Please sign in to comment.