Skip to content

Commit

Permalink
Merge pull request #11 from ElizabethBil/feature/testimonials
Browse files Browse the repository at this point in the history
Feature/testimonials
  • Loading branch information
ElizabethBil authored Oct 2, 2023
2 parents b0923cb + 725e56e commit beabdcc
Show file tree
Hide file tree
Showing 8 changed files with 103 additions and 11 deletions.
98 changes: 95 additions & 3 deletions src/css/testimonials.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,97 @@
@media screen and (min-width: 768px) {}
/* убрати рамку після виконання роботи */
* {
outline: 1px solid tomato;
}

@media screen and (min-width: 1280px) {}
@media screen and (min-width: 375px) {
.testimonials-title {
margin-bottom: 31px;
text-align: left;
}

@media screen and (min-width: 1440px) {}
.testimonials-list .testimonials-list-item:not(:first-child) {
display: none;
}
.testimonials-list-container {
display: flex;
padding: 0px 18px 18px 18px;
flex-direction: column;
align-items: center;
gap: 32px;
}
.testimonials-list-card-container {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}
.testimonials-list-title {
color: #fcf9f9;
text-align: center;
font-size: 20px;
font-weight: 600;
line-height: 1.5;
margin-top: 20px;
}
.testimonials-list-text {
font-size: 14px;
font-weight: 400;
text-align: center;
width: 291px;
}
.testimonials-list-item {
display: flex;
padding-top: 24px;
flex-wrap: wrap;
flex-direction: column;
align-items: center;
gap: 32px;

position: relative;
box-shadow: 0px 2px 32px 4px rgba(18, 20, 23, 0.02);
border-radius: 4px;
border: 1px solid rgba(252, 249, 249, 0.1);
}
.testimonials-list-img {
position: absolute;
top: -24px;
}
}

@media screen and (min-width: 768px) {
.testimonials-title {
margin-bottom: 64px;
text-align: left;
}
.testimonials-list .testimonials-list-item:not(:first-child) {
display: flex;
}
.testimonials-list .testimonials-list-item:last-child {
display: none;
}

.testimonials-list {
display: flex;
flex-direction: row;
justify-content: center;
gap: 32px;
}
.testimonials-list-text {
font-size: 16px;
font-weight: 400;
text-align: center;
width: 300px;
}
}

@media screen and (min-width: 1280px) {
.testimonials-list .testimonials-list-item:not(:first-child) {
display: flex;
}
.testimonials-list-text {
width: 307px;
}
}

@media screen and (min-width: 1440px) {
}
Binary file added src/img/testimonials/img-1.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/testimonials/[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/testimonials/img-2.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/testimonials/[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/testimonials/img-3.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/testimonials/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions src/partials/testimonials.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<section class="testimonials-section">
<section class="testimonials-section section">
<div class="container testimonials-container">
<h2 class="testimonials-title">Testimonials</h2>
<h2 class="testimonials-title section-title">Testimonials</h2>
<ul class="testimonials-list">
<li class="testimonials-list-item">
<div class="testimonials-list-container">
<img
class="testimonials-list-img"
srcset="./images/testimonials-img/[email protected] 2x"
src="./images/testimonials-img/img-1.jpg"
srcset="../img/testimonials/[email protected] 2x"
src="../img/testimonials/img-1.jpg"
alt="Maria Tkachuk"
width="64"
/>
Expand All @@ -27,8 +27,8 @@ <h3 class="testimonials-list-title">Maria Tkachuk</h3>
<div class="testimonials-list-container">
<img
class="testimonials-list-img"
srcset="./images/testimonials-img/[email protected] 2x"
src="./images/testimonials-img/img-2.jpg"
srcset="../img/testimonials/[email protected] 2x"
src="../img/testimonials/img-2.jpg"
alt="Sergey Rybachok"
width="64"
/>
Expand All @@ -48,8 +48,8 @@ <h3 class="testimonials-list-title">Sergey Rybachok</h3>
<div class="testimonials-list-container">
<img
class="testimonials-list-img"
srcset="./images/testimonials-img/[email protected] 2x"
src="./images/testimonials-img/img-3.jpg"
srcset="../img/testimonials/[email protected] 2x"
src="../img/testimonials/img-3.jpg"
alt="Natalia Chatuk"
width="64"
/>
Expand Down

0 comments on commit beabdcc

Please sign in to comment.