Skip to content

Commit d050b80

Browse files
committed
Update testimonials section to use bootstrap
1 parent 0a78139 commit d050b80

File tree

2 files changed

+36
-18
lines changed

2 files changed

+36
-18
lines changed

app/assets/stylesheets/landing_page.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@
6464
width: 100%;
6565
}
6666

67+
#testimonials {
68+
background-color: rgb(22, 163, 74);
69+
70+
.quote-image {
71+
width: 300px;
72+
}
73+
}
74+
6775
// .text {
6876

6977
// &-header {

app/views/static/index.html.erb

Lines changed: 28 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -176,28 +176,38 @@
176176
</div>
177177
</div>
178178

179-
<div class="py-5 px-0 bg-green-600 text-white" id="testimonials">
180-
<div class="container max-w-7xl mx-auto flex flex-col md:flex-row py-5 justify-center items-center">
181-
<div class="w-1/2 flex justify-center">
182-
<%= image_tag("quote.svg", class: "quote-image", style: 'width: 300px') %>
183-
</div>
184-
<div class="pt-5 px-4 w-full sm:w-1/2">
185-
<h3 class="text-4xl">Testimonials</h3>
186-
<div class='mt-5'>
187-
<div class='space-y-12'>
188-
<div>
189-
<p>Human Essentials has taken our diaper distribution to the next level. We no longer have to worry about how to track our incoming and outgoing inventory, and having all our products and data tracked in different ways in different documents and systems. Human Essentials has saved us time, money, energy and many, many headaches. The system is extremely intuitive and user-friendly and we are so grateful to have it.</p>
190-
<strong class='mt-2'> - Megan, Sweet Cheeks Diaper Bank</strong>
191-
</div>
192-
<div>
193-
<p class="text-testimonials">Finally, an inventory management system designed specifically for the unique needs of diaper banks!</p>
194-
<strong> - Rachel Alston, PDX Diaper Bank </strong>
195-
</div>
196-
</div>
179+
<div class="py-5 text-white" id="testimonials">
180+
<div class="container-fluid">
181+
<div class="row">
182+
183+
<div class="col-12 col-md-6 d-flex justify-content-center">
184+
<%= image_tag("quote.svg", class: "quote-image") %>
197185
</div>
186+
187+
<div class="col-12 col-md-6 pt-5 px-4">
188+
<h2 class="fs-1">Testimonials</h2>
189+
<figure>
190+
<blockquote class="blockquote">
191+
<p class="fs-6">Human Essentials has taken our diaper distribution to the next level. We no longer have to worry about how to track our incoming and outgoing inventory, and having all our products and data tracked in different ways in different documents and systems. Human Essentials has saved us time, money, energy and many, many headaches. The system is extremely intuitive and user-friendly and we are so grateful to have it.</p>
192+
</blockquote>
193+
<figcaption class="blockquote-footer text-white fw-bold">
194+
Megan, Sweet Cheeks Diaper Bank
195+
</figcaption>
196+
</figure>
197+
<figure>
198+
<blockquote class="blockquote">
199+
<p class="fs-6">Finally, an inventory management system designed specifically for the unique needs of diaper banks!</p>
200+
</blockquote>
201+
<figcaption class="blockquote-footer text-white fw-bold">
202+
Rachel Alston, PDX Diaper Bank
203+
</figcaption>
204+
</figure>
205+
</div>
206+
198207
</div>
199208
</div>
200209
</div>
210+
201211
<div class="container max-w-7xl mx-auto py-32" id="contact">
202212
<div class="text-center">
203213
<h2 class="text-4xl">Want to use the Human Essentials App?</h2>

0 commit comments

Comments
 (0)