Skip to content

Commit

Permalink
add task solution
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhiiDielovskiy committed Sep 30, 2024
1 parent 8072d3c commit 54b28b6
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 26 deletions.
16 changes: 12 additions & 4 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
</a>

<div class="header-icons">
<a href="#menu" class="header-burger-menu">
<a href="#aside" class="header-burger-menu">
<img
src="./images/burger-menu.svg"
alt="burger-menu"
Expand Down Expand Up @@ -75,7 +75,7 @@
</div>
</header>

<aside class="aside" id="menu">
<aside class="aside" id="aside">
<div class="container">
<div class="aside-container-for-grid">
<div class="aside-top-bar">
Expand Down Expand Up @@ -304,15 +304,23 @@
placeholder="E-mail"
required
>

<button type="submit" class="sign-up-contact-form-red-box">
<img
src="./images/sign-up-red-box-arrow.png"
alt="arrow"
class="sign-up-contact-form-red-box-arrow"
>
</button>
</form>

<a href="#" class="sign-up-red-box">
<!-- <a href="#" class="sign-up-red-box">
<img
src="./images/sign-up-red-box-arrow.png"
alt="arrow"
class="sign-up-red-box-arrow"
>
</a>
</a> -->
</div>
</div>

Expand Down
5 changes: 5 additions & 0 deletions src/styles/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@
grid-row: 1;
padding-right: 65px;
}

&-description:hover {
color: blue;
}
}

&-schedule, &-contacts {
Expand All @@ -129,6 +133,7 @@
color: #0F0E08;
}


&-title {
margin-top: 40px;
margin-bottom: 20px;
Expand Down
2 changes: 2 additions & 0 deletions src/styles/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@

&-burger-menu {
display: flex;
// cursor: pointer;
// pointer-events: all;

&-icon {
height: 24px;
Expand Down
67 changes: 45 additions & 22 deletions src/styles/sign-up.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,18 @@
}

&-contact-form {
margin-top: 50px;
display: flex;

// flex-direction: row;
gap: 0;
align-items: center;
justify-content: center;

@include onTablet {
gap: 16px;
margin-top: 64px;
}


&-email {
Expand All @@ -65,35 +77,46 @@
box-sizing: border-box;
margin: 0;
}
}

&-red-box {
display: flex;
justify-content: center;
align-items: center;
width: 50px;
height: 50px;
border: none;
background-color: #F14A27;
margin: 0;
&-red-box {
display: flex;
justify-content: center;
align-items: center;
width: 50px;
height: 50px;
border: none;
background-color: #F14A27;
margin: 0;
}
}

// &-red-box {
// display: flex;
// justify-content: center;
// align-items: center;
// width: 50px;
// height: 50px;
// border: none;
// background-color: #F14A27;
// margin: 0;
// }
}

.container-for-form-and-square {
margin-top: 50px;
display: flex;
// .container-for-form-and-square {
// margin-top: 50px;
// display: flex;

// flex-direction: row;
gap: 0;
align-items: center;
justify-content: center;
// // flex-direction: row;
// gap: 0;
// align-items: center;
// justify-content: center;

@include onTablet {
gap: 16px;
margin-top: 64px;
}
// @include onTablet {
// gap: 16px;
// margin-top: 64px;
// }

}
// }

.container-for-all-form {
position: absolute;
Expand Down

0 comments on commit 54b28b6

Please sign in to comment.