Skip to content

Commit

Permalink
Add client imgs and add padding to hero text
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitish-bot committed Jun 19, 2024
1 parent 7a58981 commit 6f1074d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
Binary file added images/prof.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@
<div class="text">Hear from our clients.</div>
<div class="testimonials">
<div class="client">
<img class="clientImg" src="./images/">
<img class="clientImg" src="./images/prof.jpg">
<div class="subtext">"It is honestly the best gym I have been to in jodhpur</div>
</div>
<div class="client">
<img class="clientImg" src="./images/">
<img class="clientImg" src="./images/prof.jpg">
<div class="subtext">"It is honestly the best gym I have been to in jodhpur</div>
</div>
<div class="client">
<img class="clientImg" src="./images/">
<img class="clientImg" src="./images/prof.jpg">
<div class="subtext">"It is honestly the best gym I have been to in jodhpur</div>
</div>
<div class="client">
<img class="clientImg" src="./images/">
<img class="clientImg" src="./images/prof.jpg">
<div class="subtext">"It is honestly the best gym I have been to in jodhpur</div>
</div>
</div>
Expand Down
21 changes: 11 additions & 10 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,15 @@ button {
font-family: 'Roboto', Verdana, Arial, sans-serif;
}

ul {
list-style-type: none;
padding: 0;
margin-left: auto;

display: flex;
gap: 16px;
}

/* Combine header and footer plus where there is style overlap */
.header {
color: #F9FAF8;
Expand All @@ -30,19 +39,10 @@ button {
font-weight: 700;
}

ul {
list-style-type: none;
padding: 0;
margin-left: auto;

display: flex;
gap: 16px;
}

.hero {
background-color: #1F2937;
color: #F9FAF8;
padding: 6vh 15vw;
padding: 9vh 15vw;

display: flex;
align-items: center;
Expand All @@ -57,6 +57,7 @@ ul {
.hero-left {
display: flex;
flex-direction: column;
gap: 9px;
}

.hero-left .text {
Expand Down

0 comments on commit 6f1074d

Please sign in to comment.