Skip to content

Commit

Permalink
add task solution blue-theme
Browse files Browse the repository at this point in the history
  • Loading branch information
AlinaLuchitska committed Jun 19, 2024
1 parent cb4641c commit 1028217
Show file tree
Hide file tree
Showing 34 changed files with 1,464 additions and 6 deletions.
Binary file added src/images/bg/cookie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/bg/crumbs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-arrow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-cookie-disabled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-cookie-focused.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-cookie-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-cookie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-facebook-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-facebook.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-instagram-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-instagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-logo-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-phone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-twitter-white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/icons/icon-twitter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/products-cards/cakes-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/products-cards/cakes-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/products-cards/cakes-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/products-cards/cookies-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/products-cards/donuts-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/products-cards/donuts-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
486 changes: 482 additions & 4 deletions src/index.html

Large diffs are not rendered by default.

115 changes: 115 additions & 0 deletions src/styles/blocks/about-us.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
.about-us {
@include padding-page;

margin: 72px 0;

@include on-tablet {
margin: 152px 0;
background-image: url(../images/bg/crumbs.png);
background-repeat: no-repeat;
background-position: center;
}

@include on-desktop {
margin: 178px 0 349px;
background-image: url(../images/bg/crumbs.png);
background-repeat: no-repeat;
grid-column: 3 / -1;
background-size: 718px 673px;
}

&__text {
@include page-grid;

&__title {
margin: 0;
grid-column: 1 / -1;
font-family: Inter;
font-weight: 400;
font-size: 48px;
line-height: 85%;
letter-spacing: -0.05em;
text-transform: uppercase;

@include on-tablet {
grid-column: 1 / 5;
font-size: 56px;
line-height: 85%;
}

@include on-desktop {
grid-column: 1 / 5;
font-size: 72px;
}
}

&__paragraph {
grid-column: 1 / -1;
font-family: Inter;
font-size: 16px;
font-weight: 400;
line-height: 24px;
letter-spacing: -0.01em;
text-align: left;
margin: 32px 0 64px;

@include on-tablet {
grid-column: 5 / 9;
margin: 0 0 72px;
}

@include on-desktop {
grid-column: 5 / 9;
margin: 0 0 146px;
}
}
}

&__content {
@include page-grid;
background-image: url(../images/bg/crumbs.png);
background-repeat: no-repeat;
background-position: center;
background-size: 320px 300px;
display: grid;
row-gap: 50px;

@include on-tablet {
background-image: none;
}
}

&__num {
grid-column: 1 / -1;

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

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

&--item {
margin: 0;
font-family: Inter;
font-size: 96px;
font-weight: 400;
line-height: 81.6px;
letter-spacing: -0.05em;
text-align: left;
color: $color-footer-or-text-black;
}

&--text {
margin: 8px 0 0;
font-family: Inter;
font-size: 16px;
font-weight: 400;
line-height: 24px;
letter-spacing: -0.01em;
text-align: left;
color: $color-text-grey;
}
}
}
193 changes: 193 additions & 0 deletions src/styles/blocks/footer.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
.footer {
@include padding-page;
@include page-grid;

background-color: $color-footer-or-text-black;
flex: auto;
bottom: 0;

&__menu {
grid-column: 1 / -1;

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

@include on-desktop {
padding-inline: 44px;
column-gap: 24px;
}

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

&__logo {
grid-column: 1 / -1;
margin: 56px 0 40px;
height: 40px;

@include on-tablet {
margin: 88px 0 96px;
grid-column: span 2;
}

@include on-desktop {
margin: 88px 0 61px;
grid-column: span 2;
}
}
}

&__section__title {
color: $color-text-grey;
font-family: Inter;
font-size: 16px;
font-weight: 500;
line-height: 16px;
letter-spacing: 0.02em;
margin: 40px 0 16px;
text-transform: uppercase;

&--contact-us {
margin: 0;
font-family: Inter;
font-weight: 400;
font-size: 48px;
line-height: 85%;
letter-spacing: -0.05em;
text-transform: uppercase;
color: $color-text-white;

@include on-tablet {
font-size: 56px;
}

@include on-desktop {
grid-column: 1 / -1;
font-size: 72px;
}
}

&--menu {
@include on-tablet {
margin: 0 0 16px;
}
}
}

&__nav__list {
grid-column: 1 / -1;
margin: 0;
padding: 0;
list-style: none;

display: flex;
flex-direction: column;
gap: 16px;

&--call-us {
grid-column: 5 / 7;
}

&--email-us {
grid-column: 7 / -1;

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

&__nav__link {
font-family: Inter;
font-size: 16px;
font-weight: 400;
line-height: 24px;
letter-spacing: -0.01em;
color: $color-text-white;
text-decoration: none;

&:hover {
cursor: pointer;
color: $dark-color-orange;
}
}

&__contact-us {
margin: 64px 0 0;

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

@include on-desktop {
--columns: 8;
margin: 88px 0 0;
display: grid;

grid-template-columns: repeat(var(--columns), 1fr);
column-gap: 24px;
}
}

&__social-buttons {
display: flex;
gap: 32px;
grid-column: 1 / -1;
margin-top: 40px;

@include on-tablet {
grid-column: 1 / 5;
}

@include on-desktop {
padding-inline: 44px;
column-gap: 24px;
}

&--facebook {
background-image: url(../images/icons/icon-facebook.png);
@include hover(transform, scale(1.3));

&:hover {
background-image: url(../images/icons/icon-facebook-white.png);
}
}

&--instagram {
background-image: url(../images/icons/icon-instagram.png);
@include hover(transform, scale(1.3));

&:hover {
background-image: url(../images/icons/icon-instagram-white.png);
}
}

&--twitter {
background-image: url(../images/icons/icon-twitter.png);
@include hover(transform, scale(1.3));

&:hover {
background-image: url(../images/icons/icon-twitter-white.png);
}
}
}

&__copyright {
color: $color-text-grey;
font-family: Inter;
font-size: 16px;
font-weight: 400;
line-height: 24px;
letter-spacing: -0.01em;
margin: 40px 0 56px;

@include on-tablet {
grid-column: 5 / -1;
margin: 48px 0 88px;
}
}
}
Loading

0 comments on commit 1028217

Please sign in to comment.