Initial commit 🚀

This commit is contained in:
Jonas Schmedtmann
2019-06-13 15:43:15 +01:00
commit 7f81af0ddf
1052 changed files with 2123177 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
mixin reviewCard(review)
.reviews__card
.reviews__avatar
img.reviews__avatar-img(src=`/img/users/${review.user.photo}`, alt=`${review.user.name}`)
h6.reviews__user= review.user.name
p.reviews__text= review.review
.reviews__rating
each star in [1, 2, 3, 4, 5]
svg.reviews__star(class=`reviews__star--${review.rating >= star ? 'active' : 'inactive'}`)
use(xlink:href='/img/icons.svg#icon-star')