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 21 commits into
base: master
Choose a base branch
from
Open

Develop #1012

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed src/images/slider/slide-img-1.jpg
Binary file not shown.
601 changes: 597 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.

123 changes: 123 additions & 0 deletions src/styles/blocks/contact-details.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
.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: 700 13px/19.5px Poppins, sans-serif;
text-align: left;
letter-spacing: 3px;
color: $text-color;
text-transform: uppercase;
text-underline-position: from-font;
text-decoration-skip-ink: none;
margin: 0;
padding: 10px;
}



.contact__phone a,
.contact__address a {
font: 600 24px/36px 'Open Sans', sans-serif;
text-align: left;
text-decoration-skip-ink: none;
text-transform: none;
color: #fff;
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;

.social-icon {
display: inline-block;
transition: transform 0.3s ease;


&:hover {
transform: scale(1.05);


&.twitter,
&.facebook,
&.instagram {
cursor: url('../styles/images/icons/cursore-icon.png'), auto;
height: 32px;
width: 32px;
}


img {
display: block;
width: 24px;
height: 24px;
}
}
}

}
}


.cta-button {
display: block;
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;
width: 280px;

@include responsive(tablet) {
max-width: 264px;
}

&:hover {
background-color: (#2060f6, lighten,-10%);
transform: scale(1.05);
cursor: url('../styles/images/icons/cursore-icon.png'), auto;
}

&:active {
background-color: gray;
}
}
}
145 changes: 145 additions & 0 deletions src/styles/blocks/contact-form.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,145 @@
.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: 15px;
font-weight: 600;
line-height: 22.5px;
color: lightgray;
text-align: left;
text-underline-position: from-font;
text-decoration-skip-ink: none;
}

&:hover {
color: (#2060f6, darken, 20%);
}

&__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%);
transform: scale(1.05);
}

&:active {
background-color: gray;
}

a {
text-decoration: none;
font: 600 15px/22.5px Poppins,
sans-serif;
text-align: center;
color: inherit;
}
}
}
76 changes: 76 additions & 0 deletions src/styles/blocks/footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
.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: 24px;
padding: 10px;
margin-top: 16px;
color: #fff;
text-align: left;

@include responsive(tablet) {
flex-direction: row;
gap: 40px;
justify-content: space-between;
margin-top: 0;
}

@include responsive(small-desktop) {
gap: 64px;
}

a {
color: #fff;
text-decoration: none;
text-transform: uppercase;
font-family: Poppins, sans-serif;
font-size: 13px;
font-weight: 700;
line-height: 19.5px;
letter-spacing: 3px;
text-align: left;
text-underline-position: from-font;
text-decoration-skip-ink: none;

transition:
color 0.3s ease,
transform 0.3s ease;

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