-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestimonials.njk
70 lines (60 loc) · 2.54 KB
/
testimonials.njk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
layout: layout.html
permalink: "testimonials/index.html"
eleventyComputed:
title: "Testimonials"
---
<main>
<div class="container">
<div class="row">
<h1>Testimonials</h1>
</div></div>
<section id='apply' class="applynow">
<div class="container center apply">
<h2>Apply Now</h2>
<p>Get started now. Get pre-approved for a mortgage.</p>
<p>Secure Online Application.</p>
<a class='btn btn-primary' target="_blank" href='https://getmy.mortgage/yourfavottbrkr#/application-widget/welcome?locale=en-CA'>
Start Application</a>
</div>
</section>
<section class="testimonial">
<div class="container"><div class="row">
{% for testimonial in testimonials %}
<div class="testimonial--wrapper" id={index}>
<div class="testimonial-grid">
<div class="teaser-grid__image">
<img src="{{ testimonial.fields.image.fields.file.url }}?w=400" />
</div>
<div class="testimonial-grid__description">{{ testimonial.fields.testimonial | renderRichTextAsHtml | safe }}</div>
<div class="testimonial-grid__title">{{testimonial.fields.name}}</div>
</div>
</div>
{% endfor %}
</div></div>
</section>
<section class="subscribe">
<div class="subscribe">
<div class="container">
<div class="row">
<div class="col-lg-6">
<h2>Subscribe to my newsletter</h2>
</div>
<div class="col-lg-6 entry-form">
<form
action="https://formspree.io/f/manwwnwg"
method="POST"
>
<div class="form-group">
<label class="visually-hidden" for="email">Your email:</label>
<input type="email" name="email" id="email" placeholder="Your email">
</div>
<!-- your other form fields go here -->
<button class="btn btn-primary" type="submit">Subscribe</button>
</form>
</div>
</div>
</div>
</div>
</section>
</main>