Skip to content

Commit

Permalink
Merge pull request #24 from ElizabethBil/Danil-hero-branch
Browse files Browse the repository at this point in the history
hero-danil
  • Loading branch information
ElizabethBil authored Oct 3, 2023
2 parents 571a83e + dd85355 commit c0b67be
Show file tree
Hide file tree
Showing 9 changed files with 177 additions and 3 deletions.
151 changes: 148 additions & 3 deletions src/css/hero.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,150 @@
@media screen and (min-width: 768px) {}
@media screen and (max-width: 374px) {
.hero-icon-img {
display: none;
}

@media screen and (min-width: 1280px) {}
.hero-title {
color: var(--white, #fcf9f9);
font-family: Manrope;
font-size: 44px;
font-style: normal;
font-weight: 400;
line-height: 1.22;
letter-spacing: -0.02em;
margin-top: 30px;
margin-bottom: 20px;
}

@media screen and (min-width: 1440px) {}
.hero-title-span {
color: var(--white, #ecd979);
}

.hero-button {
display: inline-flex;
height: 49px;
width: auto;
padding: 14px 36px;
justify-content: center;
align-items: center;
gap: 10px;
flex-shrink: 0;
border-radius: 15px;
border: 1px solid rgba(252, 249, 249, 0.1);
background-color: transparent;
margin-bottom: 20px;
margin-left: 70px;
}

.hero-btn-text {
color: var(--white, #fcf9f9);
font-family: Manrope;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
letter-spacing: -0.04em;
text-transform: uppercase;
}

.hero-svg {
width: 26px;
height: 10px;
}

.hero-img {
margin-top: 20px;
border-radius: 4px;
width: 335px;
height: 545px;
}
}

@media screen and (min-width: 375px) {
.hero-icon-img {
display: none;
}

.hero-title {
color: var(--white, #fcf9f9);
font-family: Manrope;
font-size: 44px;
font-style: normal;
font-weight: 400;
line-height: 1.22;
letter-spacing: -0.02em;
margin-top: 30px;
margin-bottom: 20px;
width: 335px;
}

.hero-title-span {
color: var(--white, #ecd979);
}

.hero-button {
display: inline-flex;
height: 49px;
width: auto;
padding: 14px 36px;
justify-content: center;
align-items: center;
gap: 10px;
flex-shrink: 0;
border: none;
border-radius: 15px;
border: 1px solid rgba(252, 249, 249, 0.1);
background-color: transparent;
margin-bottom: 20px;
margin-left: 70px;
}

.hero-btn-text {
color: var(--white, #fcf9f9);
font-family: Manrope;
font-size: 14px;
font-style: normal;
font-weight: 600;
line-height: normal;
letter-spacing: -0.04em;
text-transform: uppercase;
}

.hero-svg {
width: 26px;
height: 10px;
}

.hero-img {
margin-top: 20px;
border-radius: 4px;
width: 335px;
height: 545px;
}
}

@media screen and (min-width: 768px) {
.hero-icon-img {
display: flex;
}

.hero-title {
color: var(--white, #fcf9f9);
font-family: Manrope;
font-size: 54px;
font-style: normal;
font-weight: 400;
line-height: 1.18;
letter-spacing: -0.02em;
width: 549px;
}

.hero-title-span {
color: var(--white, #ecd979);
}
}

@media screen and (min-width: 1280px) {
}

@media screen and (min-width: 1440px) {
}
Binary file added src/img/hero/Group.jpg
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/img/hero/girl-desktop.jpg
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/img/hero/[email protected]
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/img/hero/girl-tablet.jpg
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/img/hero/[email protected]
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/img/hero/girl.jpg
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/img/hero/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions src/partials/hero.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<section class="hero-section container">
<div class="hero">
<h1 class="hero-title">
Reviving the traditional<span class="hero-title-span"> Ukrainian </span
>artistry in every stitch.
</h1>
<button class="hero-button">
<p class="hero-btn-text">Order</p>
<svg class="hero-svg">
<use class="hero-send-arrow" href="./img/icons.svg#icon-arrow"></use>
</svg>
</button>
<img
srcset="./img/hero/[email protected] 2x"
src="./img/hero/girl.jpg"
alt="Girl in an vyshyvanka"
class="hero-img"
/>
</div>
<div class="hero-icon-img">
<svg class="hero-svg-star">
<use class="hero-star"></use>
</svg>
<p class="hero-star-text"></p>
<svg class="hero-svg-elipse">
<use class="hero-elipse-icon"></use>
</svg>
</div>
</section>

0 comments on commit c0b67be

Please sign in to comment.