diff options
Diffstat (limited to 'templates/review.html.j2')
-rw-r--r-- | templates/review.html.j2 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/review.html.j2 b/templates/review.html.j2 new file mode 100644 index 0000000..1d384f5 --- /dev/null +++ b/templates/review.html.j2 @@ -0,0 +1,19 @@ +<div class="card"> + <h2>{{ name }}</h2> + + <h3>{{ title }}</h3> + + {% for star in 0..stars %} + <img src="/assets/icons/star-box.svg" alt="star" /> + {% endfor %} + + <blockquote> + {{ quote }} + </blockquote> + + {% if stars > 0 %} + <p> + <a href="https://g.page/carpenter-tutoring/review?np">Leave a review</a> + </p> + {% endif %} +</div>
\ No newline at end of file |