diff options
author | Adam T. Carpenter <atc@53hor.net> | 2025-06-01 20:43:10 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2025-06-01 20:43:10 -0400 |
commit | 29dd45fd7b701cf24055135ecd6f7177dc15cad7 (patch) | |
tree | 073d48fb43e3083e1b9f5c8b720253cc1c1ff7ee /templates/review.html.j2 | |
parent | b56c8359f17fd5464dd3ebdbe23fcbe35f0e49ad (diff) | |
download | carpentertutoring-29dd45fd7b701cf24055135ecd6f7177dc15cad7.tar.xz carpentertutoring-29dd45fd7b701cf24055135ecd6f7177dc15cad7.zip |
feat: review card partial and updated reviews
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 |