Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #1012

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Binary file removed src/images/slider/slide-img-1.jpg
Binary file not shown.
577 changes: 573 additions & 4 deletions src/index.html

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions src/styles/_utils.scss

This file was deleted.

84 changes: 84 additions & 0 deletions src/styles/blocks/contact-details.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
.contact__details {
display: flex;
flex-direction: column;
text-align: center;
gap: 8px;
padding: 20px;
margin: 0 auto;

@include responsive(small-desktop) {
display: grid;
grid-column: 7 / 11;

@include responsive(design) {
grid-column: 7 / 12;
}
}

a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease;

&:hover {
color: #144ed4;
}
}

.contact__phone,
.contact__address,
.contact__socials {
font-family: Poppins, sans-serif;
font-size: 13px;
font-weight: 700;
line-height: 19.5px;
letter-spacing: 3px;
text-align: left;
color: #fff;
text-underline-position: from-font;
text-decoration-skip-ink: none;
margin: 0;
padding: 10px;
}

.contact__phone a,
.contact__address a {
font-family: 'Open Sans', sans-serif;
font-size: 24px;
font-weight: 600;
line-height: 36px;
text-align: left;
text-decoration-skip-ink: none;
color: inherit;
text-decoration: none;
border-bottom: 2px solid transparent;
transition: border-bottom-color 0.3s ease;

&:hover {
border-bottom-color: (#144ed4, lighten, 20%);
}
}

.contact__socials {
.social-icons {
display: flex;
gap: 32px;

&:hover {
transform: scale(1.05);
transition: 0.3s ease;
}

a {
display: block;
width: 24px;
height: 24px;

img {
width: 100%;
height: 100%;
}
}
}
}
}
138 changes: 138 additions & 0 deletions src/styles/blocks/contact-form.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,138 @@
.contacts {
background-color: $bg-color;
color: #fff;

@include content-padding-inline;

@include responsive(small-desktop) {
display: grid;
grid-template-columns: repeat(12, 1fr);
grid-column-gap: 24px;
}

.send-message {
display: flex;
flex-direction: column;
gap: 20px;
padding: 20px;
text-align: left;
color: #fff;

@include responsive(small-desktop) {
display: grid;
grid-column: 1/6;
}
}

.section-title {
display: inline;
color: #fff;
width: 100%;
margin-bottom: 48px;
text-align: left;
text-underline-position: from-font;
text-decoration-skip-ink: none;
}

.contact__form {
display: grid;
}

label {
display: block;
margin-bottom: 8px;
font-size: 16px;
font-family: Poppins, sans-serif;
}

input,
textarea {
width: 100%;
box-sizing: border-box;
padding: 16px;
margin-bottom: 40px;
border: none;
border-bottom: 2px solid #fff;
font-family: Poppins, sans-serif;
font-size: 15px;
font-weight: 600;
line-height: 22.5px;
text-align: left;
background: $bg-color;
text-underline-position: from-font;
text-decoration-skip-ink: none;
transition: all 0.3s ease-in-out;

@include responsive(tablet) {
margin-bottom: 48px;
}

textarea {
resize: none;
}

&:focus {
outline: none;
border-bottom: 1px solid #144ed4;
}

&:hover {
border-color: $text-color;
}

&:active {
background-color: #f0f0f0;
}

&:-webkit-autofill,
&:-webkit-autofill:hover,
&:-webkit-autofill:focus {
background-color: $bg-color !important;
color: #fff !important;
border-bottom: 2px solid #fff !important;
transition: background-color 0.3s ease;
}
}

input::placeholder,
textarea::placeholder {
font-family: Poppins, sans-serif;
font-size: 16px;
font-weight: 600;
line-height: 22px;
text-align: left;
color: #fff;
}

&__cta-button {
display: block;
width: 100%;
max-width: 264px;
background: #2060f6;
color: #fff;
padding: 12px;
margin-bottom: 48px;
border: none;
cursor: pointer;
border-radius: 8px;
text-decoration: none;
text-align: center;
transition: background-color 0.3s ease;

&:hover {
background-color: (#2060f6, darken, 10%);
}
&:active {
background-color: gray;
}

a {
text-decoration: none;
font-family: Poppins, sans-serif;
font-size: 15px;
font-weight: 600;
line-height: 22.5px;
color: inherit;
}
}
}
65 changes: 65 additions & 0 deletions src/styles/blocks/footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
.footer {
background-color: $bg-color;
padding: 20px;
width: 100%;
box-sizing: border-box;

&__content {
display: flex;
flex-direction: column;
align-items: flex-start;
color: #fff;
text-align: left;

@include content-padding-inline;

@include responsive(tablet) {
flex-direction: row;
justify-content: space-between;
}
}

&__logo {
display: block;
margin-bottom: 16px;
padding: 10px;

.logo {
height: auto;
max-width: 150px;
}
}

&__nav {
display: flex;
flex-direction: column;
gap: 12px;
padding: 10px;
margin-top: 16px;
color: #fff;
text-align: left;

@include responsive(tablet) {
flex-direction: row;
gap: 24px;
margin-top: 0;
}

a {
color: #fff;
text-decoration: none;
text-transform: uppercase;
font-size: 14px;
font-weight: 600;
letter-spacing: 1px;
transition:
color 0.3s ease,
transform 0.3s ease;

&:hover {
color: #144ed4;
transform: scale(1.05);
}
}
}
}
Loading
Loading